diff --git a/src/components/wms/LocationsLayer.vue b/src/components/wms/LocationsLayer.vue index c7675973..7ae0a2ed 100644 --- a/src/components/wms/LocationsLayer.vue +++ b/src/components/wms/LocationsLayer.vue @@ -215,9 +215,9 @@ onBeforeMount(() => { onBeforeUnmount(() => { if (map) { for (const layerId of [ + locationsFillLayerId, locationsCircleLayerId, locationsSymbolLayerId, - locationsFillLayerId, ]) { map.off('click', layerId, clickHandler) map.off('mouseenter', layerId, setCursorPointer)