diff --git a/src/components/EntityMap.vue b/src/components/EntityMap.vue index 80e8507..9581cf9 100644 --- a/src/components/EntityMap.vue +++ b/src/components/EntityMap.vue @@ -7,8 +7,8 @@ @load="onMapLoaded" > entityId === id).length > 0; + return `${entityId}::${idx}::${isSelected}`; + }, }, watch: { coordinatesList: { @@ -74,6 +81,9 @@ mapStyle() { return this.config.mapStyle; }, + selectedEntities() { + return this.$store.state.selectedNamedEntities; + }, }, }; diff --git a/src/components/EntityMapMarker.vue b/src/components/EntityMapMarker.vue index 57a6131..17aa7d4 100644 --- a/src/components/EntityMapMarker.vue +++ b/src/components/EntityMapMarker.vue @@ -1,6 +1,11 @@