71c40ae1 by ex

添加提示

1 parent 64aa91c9
...@@ -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,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!