|
@@ -236,7 +236,7 @@ export default {
|
|
|
var geocoder = new AMap.Geocoder({
|
|
|
radius: 1000,
|
|
|
})
|
|
|
- that.map.on('moveend', function(e){debugger
|
|
|
+ that.map.on('moveend', function(e){
|
|
|
that.center = that.map.getCenter(); //获取当前地图中心位置
|
|
|
that.center.lat =Number(that.center.lat.toFixed(3))
|
|
|
that.center.lng =Number(that.center.lng.toFixed(3))
|
|
@@ -342,7 +342,7 @@ export default {
|
|
|
this.loadmap()
|
|
|
},
|
|
|
methods: {
|
|
|
- positions() {debugger
|
|
|
+ positions() {
|
|
|
this.status = false
|
|
|
var status = {
|
|
|
zoomEnable: false,
|