this.select.getFeatures().clear(); | this.select.getFeatures().clear(); | ||||
this.map.removeOverlay(this.overlayOutlet); | this.map.removeOverlay(this.overlayOutlet); | ||||
}); | }); | ||||
// 监听地图缩放等级 | |||||
// this.map.on("moveend",function(e){ | |||||
// var zoom = this.view.getZoom(); //获取当前地图的缩放级别 | |||||
// console.log(zoom) | |||||
// }) | |||||
}, | }, | ||||
methods: { | methods: { | ||||
// 菜单按钮 | // 菜单按钮 | ||||
font-size: 0.12rem; | font-size: 0.12rem; | ||||
color: #666; | color: #666; | ||||
text-align: start; | text-align: start; | ||||
padding-left: 0.4rem; | |||||
padding-left: 0.3rem; | |||||
} | } | ||||
.pointId { | .pointId { | ||||
font-size: 0.12rem; | font-size: 0.12rem; |
const data = this.dataList; | const data = this.dataList; | ||||
let chart = new Chart({ | let chart = new Chart({ | ||||
container: "pointQulity", | container: "pointQulity", | ||||
width: 280, | |||||
width: 320, | |||||
height: 200, | height: 200, | ||||
padding: [10, 30, 20, 30], | padding: [10, 30, 20, 30], | ||||
}); | }); |