Skip to content

Commit

Permalink
filter lines, too
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Jan 3, 2024
1 parent 6ddb0bf commit 6357925
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@
const expression =
visible === "all" ? null : ["==", ["get", "decade"], visible];
map.setFilter("fires-fill", expression);
map
.setFilter("fires-fill", expression)
.setFilter("fires-lines", expression);
}
</script>

Expand Down

0 comments on commit 6357925

Please sign in to comment.