Commit 9d38ff74724adbae8b3bc5c3c2537f0012168e58

Authored by 王通
1 parent 29b601dd

1.kml生成线路bug修复

src/main/resources/static/pages/base/stationroute/addstationstemplate.html
@@ -280,6 +280,8 @@ $('#add_station_template_mobal').on('AddStationTempMobal.show', function(e,map,a @@ -280,6 +280,8 @@ $('#add_station_template_mobal').on('AddStationTempMobal.show', function(e,map,a
280 if(isPush) { 280 if(isPush) {
281 sectionList[k] = point; 281 sectionList[k] = point;
282 stationList.push({name:tempStr[3], potion:{lng:tempPoint.lng, lat:tempPoint.lat} , wgs:{x:tempStr[0], y:tempStr[1]}}); 282 stationList.push({name:tempStr[3], potion:{lng:tempPoint.lng, lat:tempPoint.lat} , wgs:{x:tempStr[0], y:tempStr[1]}});
  283 + } else {
  284 + sectionList[k] = point;
283 } 285 }
284 isPush = false; 286 isPush = false;
285 } 287 }