Skip to content

Commit

Permalink
Show all points after filter
Browse files Browse the repository at this point in the history
  • Loading branch information
devincowan committed Apr 19, 2024
1 parent 13b7398 commit e6feea6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/components/TheLeafletMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@ onMounted(() => {
for (let i = data.results.length - 1; i >= 0; i--) {
console.log(data.results[i])
// filter to only show the one selected
// modelFeatures.setWhere(`id = ${data.results[i].properties.id}`);
// open the popup of the existing marker
// const id = data.results[i].properties.id;
// const feature = modelFeatures.getFeature(id);
modelFeatures.setWhere(`id = ${data.results[i].properties.id}`);
// TODO: this doesn't work yet. Need to figure out how to get the feature from the layer
const feature = data.results[i].feature;
Expand Down

0 comments on commit e6feea6

Please sign in to comment.