|
|
@ -473,6 +473,13 @@ export default { |
|
|
|
polygonLayer.on("click", (e) => { |
|
|
|
console.log(e.feature.properties); |
|
|
|
this.$emit("clickAgency", e.feature.properties); |
|
|
|
|
|
|
|
if (e.feature.properties.level == "grid") { |
|
|
|
this.handleClickDot( |
|
|
|
{ ...e.feature.properties, placeType: "grid" }, |
|
|
|
e.feature.properties.center |
|
|
|
); |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
polygonLayer.on("unmousemove", (e) => { |
|
|
|