添加提示
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -216,7 +216,7 @@ angular.module('myApp') | ... | @@ -216,7 +216,7 @@ angular.module('myApp') |
| 216 | relocateControl.onclick = function() { | 216 | relocateControl.onclick = function() { |
| 217 | // map.panTo(myMarker.position); | 217 | // map.panTo(myMarker.position); |
| 218 | 218 | ||
| 219 | initLocation() | 219 | initLocation(true) |
| 220 | // map.setZoom(15); | 220 | // map.setZoom(15); |
| 221 | } | 221 | } |
| 222 | map.getContainer().appendChild(relocateControl); | 222 | map.getContainer().appendChild(relocateControl); |
| ... | @@ -307,7 +307,7 @@ angular.module('myApp') | ... | @@ -307,7 +307,7 @@ angular.module('myApp') |
| 307 | 307 | ||
| 308 | appClient.getGPS('', function (latitude, longitude, cb) { | 308 | appClient.getGPS('', function (latitude, longitude, cb) { |
| 309 | layer.open({ | 309 | layer.open({ |
| 310 | content: '正在定位' | 310 | content: latitude + "_" + longitude |
| 311 | }) | 311 | }) |
| 312 | onSuccess({ | 312 | onSuccess({ |
| 313 | latitude: latitude, | 313 | latitude: latitude, | ... | ... |
-
Please register or sign in to post a comment