function loadother(){ if(typeof(campusid) != "undefined" && !isNaN(campusid)) { var data_info = [{"id":"293779","map_x":"126.696533","map_y":"45.736986","pointname":"香坊校区(羽毛球)","pointaddress":"红旗大街100号宜佰体育","areaname":"香坊区","areacode":"100023001006"},{"id":"293778","map_x":"126.709549","map_y":"45.761313","pointname":"会展校区(羽毛球)","pointaddress":"黄河路会展中心体育馆宜佰体育","areaname":"南岗区","areacode":"100023001003"},{"id":"293777","map_x":"126.53606","map_y":"45.726374","pointname":"群立店(篮球)","pointaddress":"四方台大道2361号恒大帝景会所","areaname":"道里区","areacode":"100023001002"},{"id":"293776","map_x":"126.709117","map_y":"45.784682","pointname":"南直店(篮球)","pointaddress":"道外区南直路555生活汇·购物公园","areaname":"道外区","areacode":"100023001004"},{"id":"293775","map_x":"126.666658","map_y":"45.789322","pointname":"道外店(篮球)","pointaddress":"道外区太古街188号大润发","areaname":"道外区","areacode":"100023001004"},{"id":"293774","map_x":"126.643002","map_y":"45.634573","pointname":"平房校区(无人机)","pointaddress":"松花路9号中国云谷","areaname":"香坊区","areacode":"100023001006"},{"id":"293773","map_x":"126.519026","map_y":"45.836558","pointname":"松北(无人机/篮球)","pointaddress":"松北保利公园9号会所","areaname":"松北区","areacode":"100023001009"},{"id":"293772","map_x":"126.701428","map_y":"45.759041","pointname":"会展校区(无人机)","pointaddress":"红旗大街240号艺汇家城市广场","areaname":"南岗区","areacode":"100023001003"},{"id":"99692","map_x":"126.612106","map_y":"45.754932","pointname":"道里校区(无人机)","pointaddress":"新阳路建议街智趣乐学城","areaname":"道里区","areacode":"100023001002"},]; //补充其他行政区分组 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(`