c9211f2a by ex

添加提示

1 parent ee4d6441
......@@ -215,11 +215,9 @@ angular.module('myApp')
relocateControl.onclick = function() {
// map.panTo(myMarker.position);
layer.open({
content: '正在定位'
})
initLocation()
map.setZoom(15);
// map.setZoom(15);
}
map.getContainer().appendChild(relocateControl);
return relocateControl;
......@@ -291,7 +289,9 @@ angular.module('myApp')
// enableHighAccuracy:true,
// maximumAge:1000
// }
layer.open({
content: '正在定位'
})
getlocation();
function getlocation() {
// wx.getLocation({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!