|
|
@@ -653,7 +653,7 @@ export default { |
|
|
|
}); |
|
|
|
this.tileNoman = new TileLayer({ |
|
|
|
// opacity: 0.8, |
|
|
|
minZoom: 14, |
|
|
|
// minZoom: 14, |
|
|
|
source: sourceDong, |
|
|
|
visible: false, |
|
|
|
}); |
|
|
@@ -824,7 +824,6 @@ export default { |
|
|
|
} else { |
|
|
|
// 表示为排口数据 |
|
|
|
this.popupOutlet = properties; |
|
|
|
console.log(this.popupOutlet); |
|
|
|
let coordinate = e.mapBrowserEvent.coordinate; |
|
|
|
this.overlayOutlet.setPosition(coordinate); |
|
|
|
this.overlayOutlet.setOffset([140, -10]); |
|
|
@@ -872,7 +871,6 @@ export default { |
|
|
|
// 监听地图缩放等级 |
|
|
|
// this.map.on("moveend",function(e){ |
|
|
|
// var zoom = this.view.getZoom(); //获取当前地图的缩放级别 |
|
|
|
// console.log(zoom) |
|
|
|
// }) |
|
|
|
|
|
|
|
}, |