Commit 913548da5bcd37923ebbfd2a333ddc63eafb7898
1 parent
38ef3a7c
update...
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/resources/static/pages/mapmonitor/real/js/playBack.js
| ... | ... | @@ -269,9 +269,9 @@ var playBack = (function() { |
| 269 | 269 | |
| 270 | 270 | if(defaultLine){ |
| 271 | 271 | layer.msg('加载线路图层数据...', {icon: 16, time: 0,shade:0.3}); |
| 272 | - $.get('/realMap/findRouteByLine', {lineCode: defaultLine} | |
| 273 | - ,function(route){ | |
| 274 | - lineRoute = route; | |
| 272 | + $.get('/realMap/findRouteByLine', {idx: defaultLine} | |
| 273 | + ,function(rs){ | |
| 274 | + lineRoute = rs[defaultLine]; | |
| 275 | 275 | iMap.call('drawLine', {route: lineRoute}); |
| 276 | 276 | |
| 277 | 277 | cTime = sTime; | ... | ... |