diff --git a/js/examples/maplibre.html b/js/examples/maplibre.html
index 8347231..2ea74c4 100644
--- a/js/examples/maplibre.html
+++ b/js/examples/maplibre.html
@@ -43,6 +43,7 @@
id: "water",
source: "example_source",
"source-layer": "water",
+ filter: ["==",["geometry-type"],"Polygon"],
type: "fill",
paint: {
"fill-color": "#80b1d3",
diff --git a/js/examples/maplibre_headers.html b/js/examples/maplibre_headers.html
index 6252dd5..a889f6f 100644
--- a/js/examples/maplibre_headers.html
+++ b/js/examples/maplibre_headers.html
@@ -55,6 +55,7 @@
id: "water",
source: "example_source",
"source-layer": "water",
+ filter: ["==",["geometry-type"],"Polygon"],
type: "fill",
paint: {
"fill-color": "#80b1d3",