function loadother(){ if(typeof(campusid) != "undefined" && !isNaN(campusid)) { var data_info = [{"id":"176753","map_x":"113.658527","map_y":"34.762775","pointname":"和平篮球馆(联络点)","pointaddress":"郑州二七区蜜蜂张街道和平路5号","areaname":"二七区","areacode":"100041001003"},{"id":"176752","map_x":"113.713121","map_y":"34.750156","pointname":"中博篮球馆(联络点)","pointaddress":"郑州市郑汴路未来路东北角中博院内","areaname":"管城区","areacode":"100041001004"},{"id":"176751","map_x":"113.746069","map_y":"34.711105","pointname":"云堂篮球馆(联络点)","pointaddress":"经开一大街绿地海珀兰轩14号楼","areaname":"管城区","areacode":"100041001004"},{"id":"176750","map_x":"113.71833","map_y":"34.723313","pointname":"果园篮球馆(联络点)","pointaddress":"中州大道果园路交叉口向南200米路西","areaname":"管城区","areacode":"100041001004"},{"id":"176749","map_x":"113.696764","map_y":"34.744861","pointname":"城东篮球馆(联络点)","pointaddress":"城东路陇海路向南200米路西263号","areaname":"管城区","areacode":"100041001004"},{"id":"176748","map_x":"113.6597","map_y":"34.74611","pointname":"迪一篮球馆(联络点)","pointaddress":"京广路陇海路交叉口向北200米路东","areaname":"二七区","areacode":"100041001003"},{"id":"176747","map_x":"113.640157","map_y":"34.705368","pointname":"嵩山篮球馆(联络点)","pointaddress":"嵩山路南三环向北200米路东","areaname":"二七区","areacode":"100041001003"},{"id":"176746","map_x":"113.756899","map_y":"34.739684","pointname":"披翼篮球馆(联络点)","pointaddress":"经开第四大街经北六路交叉口","areaname":"管城区","areacode":"100041001004"},{"id":"112087","map_x":"113.731836","map_y":"34.762828","pointname":"名仕店(篮球馆)(联络点)","pointaddress":"郑州市金水区中州锦绣花苑","areaname":"金水区","areacode":"100041001005"},]; //补充其他行政区分组 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(`