|
...
|
...
|
@@ -399,8 +399,12 @@ Page({ |
|
|
|
wx.showTabBar();
|
|
|
|
},
|
|
|
|
moveToLocation(){
|
|
|
|
let map=this.data.map
|
|
|
|
map.latitude=this.user.latitude
|
|
|
|
map.longitude=this.user.longitude
|
|
|
|
map.scale=mapScale
|
|
|
|
this.setData({
|
|
|
|
[`map.scale`]:mapScale,
|
|
|
|
map:map
|
|
|
|
})
|
|
|
|
this.mapCtx.moveToLocation({
|
|
|
|
success:(res)=>{
|
...
|
...
|
|