mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
add geometry filter to js examples because of v4 mixed geometries. (#464)
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
id: "water",
|
||||
source: "example_source",
|
||||
"source-layer": "water",
|
||||
filter: ["==",["geometry-type"],"Polygon"],
|
||||
type: "fill",
|
||||
paint: {
|
||||
"fill-color": "#80b1d3",
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
id: "water",
|
||||
source: "example_source",
|
||||
"source-layer": "water",
|
||||
filter: ["==",["geometry-type"],"Polygon"],
|
||||
type: "fill",
|
||||
paint: {
|
||||
"fill-color": "#80b1d3",
|
||||
|
||||
Reference in New Issue
Block a user