Commit 9f0aa4e2e4c9d8afa456870a2eb64644934489d2
1 parent
9d38ff74
1.kml生成线路bug修复
Showing
1 changed file
with
2 additions
and
0 deletions
src/main/resources/static/pages/base/line/editRoute.html
| @@ -331,6 +331,8 @@ $('#edit_route_mobal').on('editRouteMobal.show', function(e,transGPS,editRoute,m | @@ -331,6 +331,8 @@ $('#edit_route_mobal').on('editRouteMobal.show', function(e,transGPS,editRoute,m | ||
| 331 | if(isPush) { | 331 | if(isPush) { |
| 332 | sectionList[k] = point; | 332 | sectionList[k] = point; |
| 333 | stationList.push({name:tempStr[3], potion:{lng:tempPoint.lng, lat:tempPoint.lat} , wgs:{x:tempStr[0], y:tempStr[1]}}); | 333 | stationList.push({name:tempStr[3], potion:{lng:tempPoint.lng, lat:tempPoint.lat} , wgs:{x:tempStr[0], y:tempStr[1]}}); |
| 334 | + } else { | ||
| 335 | + sectionList[k] = point; | ||
| 334 | } | 336 | } |
| 335 | isPush = false; | 337 | isPush = false; |
| 336 | } | 338 | } |