function loadother(){ if(typeof(campusid) != "undefined" && !isNaN(campusid)) { var data_info = [{"id":"115963","map_x":"117.170941","map_y":"36.646447","pointname":"儒逸金榜彼恩英语瀚裕","pointaddress":"瀚裕华园三区底商儒逸金榜彼恩英语瀚裕校区","areaname":"历城区","areacode":"100024001005"},{"id":"115881","map_x":"116.907012","map_y":"36.69397","pointname":"逸金榜西客站校区","pointaddress":"槐荫区德州路兴乐佳苑9号楼","areaname":"槐荫区","areacode":"100024001003"},{"id":"115880","map_x":"117.168244","map_y":"36.648577","pointname":"儒逸金榜汉峪校区","pointaddress":"高新区瀚裕华园3区临街底商铺","areaname":"历城区","areacode":"100024001005"},{"id":"115877","map_x":"116.902898","map_y":"36.633337","pointname":"儒逸金榜西城校区","pointaddress":"槐荫区党杨东路","areaname":"槐荫区","areacode":"100024001003"},{"id":"115882","map_x":"117.149186","map_y":"36.65647","pointname":"儒逸金榜彼恩英语东城","pointaddress":"高新区东城逸家小学南邻","areaname":"高新区","areacode":"100024001007"},{"id":"115878","map_x":"116.975502","map_y":"36.639074","pointname":"儒逸金榜儒佳校区","pointaddress":"市中区王官庄街道刘长山路39号","areaname":"市中区","areacode":"100024001001"},]; //补充其他行政区分组 if(data_info.length>10){ var areaGroupArr=new Array(); var defaultCode=''; for(var i=0;i< data_info.length;i++){ if(data_info[i].id==campusid){ defaultCode=data_info[i].areacode; } var _item=areaGroupArr.find(it=>it.areacode==data_info[i].areacode); if(_item){ _item.count++; }else{ areaGroupArr.push({areacode:data_info[i].areacode,areaname:data_info[i].areaname,count:1,fid:data_info[i].id}); } } $('#areaul li:gt(0)').remove(); for(var i=0;i< areaGroupArr.length;i++){ $('#areaul').append(`