Skip to content

Commit

Permalink
tested if tileserver-gl is able to accept geometry-type based scopi…
Browse files Browse the repository at this point in the history
…ng instead
  • Loading branch information
CommanderStorm committed Jan 2, 2025
1 parent d4345c9 commit 6465d04
Showing 1 changed file with 36 additions and 18 deletions.
54 changes: 36 additions & 18 deletions map/styles/navigatum-basemap.json
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,12 @@
"source-layer": "aeroway",
"minzoom": 11,
"filter": [
"==",
"$type",
"Polygon"
"in",
[
"geometry-type"
],
"Polygon",
"MultiPolygon"
],
"paint": {
"fill-color": "rgba(229, 228, 224, 1)",
Expand All @@ -508,8 +511,10 @@
"filter": [
"all",
[
"==",
"$type",
"in",
[
"geometry-type"
],
"LineString"
],
[
Expand Down Expand Up @@ -548,8 +553,10 @@
"filter": [
"all",
[
"==",
"$type",
"in",
[
"geometry-type"
],
"LineString"
],
[
Expand Down Expand Up @@ -985,8 +992,10 @@
"filter": [
"all",
[
"==",
"$type",
"in",
[
"geometry-type"
],
"LineString"
],
[
Expand Down Expand Up @@ -1937,8 +1946,10 @@
"filter": [
"all",
[
"==",
"$type",
"in",
[
"geometry-type"
],
"LineString"
],
[
Expand Down Expand Up @@ -2532,8 +2543,10 @@
"filter": [
"all",
[
"==",
"$type",
"in",
[
"geometry-type"
],
"LineString"
],
[
Expand Down Expand Up @@ -4136,8 +4149,10 @@
"source": "nav",
"source-layer": "waterway",
"filter": [
"==",
"$type",
"in",
[
"geometry-type"
],
"LineString"
],
"layout": {
Expand Down Expand Up @@ -4167,9 +4182,12 @@
"source": "nav",
"source-layer": "water_name",
"filter": [
"==",
"$type",
"Point"
"in",
[
"geometry-type"
],
"Point",
"MultiPoint"
],
"layout": {
"text-field": [
Expand Down

0 comments on commit 6465d04

Please sign in to comment.