|
@ -217,7 +217,7 @@ const vueGis = { |
|
|
// }); |
|
|
// }); |
|
|
|
|
|
|
|
|
//初始化地图 |
|
|
//初始化地图 |
|
|
this.initMap(); |
|
|
this.initMap() |
|
|
if (this.showPolIconLayer) { |
|
|
if (this.showPolIconLayer) { |
|
|
console.log("showPolIconLayer++++++++++++++++++++++", this.showPolIconLayer); |
|
|
console.log("showPolIconLayer++++++++++++++++++++++", this.showPolIconLayer); |
|
|
//初始化多边形标注图层 |
|
|
//初始化多边形标注图层 |
|
@ -532,6 +532,10 @@ const vueGis = { |
|
|
mapView.setCenter(this.centerPoint); |
|
|
mapView.setCenter(this.centerPoint); |
|
|
} |
|
|
} |
|
|
mapView.setZoom(this.zoom); |
|
|
mapView.setZoom(this.zoom); |
|
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
======= |
|
|
|
|
|
|
|
|
|
|
|
>>>>>>> dev-fangwu |
|
|
}, |
|
|
}, |
|
|
firstCentermap() { |
|
|
firstCentermap() { |
|
|
if (this.mapInfo.longitude && this.mapInfo.latitude) { |
|
|
if (this.mapInfo.longitude && this.mapInfo.latitude) { |
|
|