Commit 9f277f10b2c82e0f9dae3210a179656d68e05c10
1 parent
0511d4e2
update
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/resources/static/real_control_v2/mapmonitor/js/map_overlay_manager.js
| @@ -203,11 +203,11 @@ var gb_map_overlay_mge = (function () { | @@ -203,11 +203,11 @@ var gb_map_overlay_mge = (function () { | ||
| 203 | 203 | ||
| 204 | //地图居中至合理的位置 | 204 | //地图居中至合理的位置 |
| 205 | var centerToRational=function () { | 205 | var centerToRational=function () { |
| 206 | - var chs=getCheckedDevice(); | 206 | + /*var chs=getCheckedDevice(); |
| 207 | if(chs && chs.length > 0){ | 207 | if(chs && chs.length > 0){ |
| 208 | var id=chs[0].data.lineId+'_'+chs[0].data.upDown; | 208 | var id=chs[0].data.lineId+'_'+chs[0].data.upDown; |
| 209 | gb_map_imap.call('centerToLine', {id: id}); | 209 | gb_map_imap.call('centerToLine', {id: id}); |
| 210 | - } | 210 | + }*/ |
| 211 | } | 211 | } |
| 212 | 212 | ||
| 213 | return { | 213 | return { |