add geometry filter to js examples because of v4 mixed geometries. (#464)

This commit is contained in:
Brandon Liu
2024-09-25 22:49:06 +08:00
committed by GitHub
parent eb23c33ab0
commit 60f3331ca9
2 changed files with 2 additions and 0 deletions

View File

@@ -55,6 +55,7 @@
id: "water",
source: "example_source",
"source-layer": "water",
filter: ["==",["geometry-type"],"Polygon"],
type: "fill",
paint: {
"fill-color": "#80b1d3",