Browse Source

Merge remote-tracking branch 'origin/jw_feature_dev' into jw_feature_zhanlibiao

feature
战立标 2 years ago
parent
commit
7ba7ae6e0a
  1. 7
      src/views/dataBoard/cpts/map/index.vue

7
src/views/dataBoard/cpts/map/index.vue

@ -549,7 +549,7 @@ export default {
.active(true);
scene.addLayer(textLayer);
polygonLayer.on("mouseenter", (e) => {
// polygonLayer.on("mouseenter", (e) => {
// const { lng, lat } = e.lngLat;
// const popup = new Popup({
// title: e.feature.properties.name,
@ -560,8 +560,8 @@ export default {
// },
// });
scene.addPopup(layerPopup);
});
// scene.addPopup(layerPopup);
// });
polygonLayer.on("mousemove", (e) => {
polygonLayer.style({
@ -569,7 +569,6 @@ export default {
});
});
polygonLayer.on("click", (e) => {
console.log("click::", e.feature.properties);
this.$emit("clickAgency", e.feature.properties);
});

Loading…
Cancel
Save