Skip to content

Commit

Permalink
retain spatial filter
Browse files Browse the repository at this point in the history
- user-defined spatial filter is now retained after switching species
  • Loading branch information
jeffwalkernoaa committed Aug 1, 2024
1 parent b523e47 commit 639ff88
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/MapSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
}
},
computed: {
...mapGetters(['theme', 'deployments']),
...mapGetters(['deployments']),
map () {
return this.$parent.map
},
Expand All @@ -30,11 +30,6 @@ export default {
return [...stations, ...points]
}
},
watch: {
theme () {
this.reset()
}
},
mounted () {
this.dim = xf.dimension(d => d.id)
Expand All @@ -48,10 +43,8 @@ export default {
circle: false,
marker: false,
circlemarker: false
// rectangle: {}
},
edit: {
// edit: false,
featureGroup: this.layer
}
})
Expand Down

0 comments on commit 639ff88

Please sign in to comment.