From 5a83b7d989ac2940d5213cca5e7937d4c1a7bd99 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 29 Apr 2024 23:07:37 +0200 Subject: [PATCH] Tested running the requests for `klokantech.github.io` to make ZIT happy --- data/nginx.conf | 5 + deployment/k3s/files/osm-liberty.json | 2874 ++++++++++++++++++++----- 2 files changed, 2371 insertions(+), 508 deletions(-) diff --git a/data/nginx.conf b/data/nginx.conf index 716b8558b..3aceac211 100644 --- a/data/nginx.conf +++ b/data/nginx.conf @@ -46,6 +46,11 @@ http { access_log off; } + location ~ ^/cdn/natural_earth_2_shaded_relief.raster/(.+)$ { + proxy_pass https://klokantech.github.io/naturalearthtiles/tiles/natural_earth_2_shaded_relief.raster/$1; + proxy_set_header Host $proxy_host; + } + location ~* \.webp$ { expires 7d; add_header Cache-Control "public"; diff --git a/deployment/k3s/files/osm-liberty.json b/deployment/k3s/files/osm-liberty.json index d04794883..506c724fc 100644 --- a/deployment/k3s/files/osm-liberty.json +++ b/deployment/k3s/files/osm-liberty.json @@ -15,7 +15,7 @@ "maxzoom": 6, "tileSize": 256, "tiles": [ - "https://klokantech.github.io/naturalearthtiles/tiles/natural_earth_2_shaded_relief.raster/{z}/{x}/{y}.png" + "https://nav.tum.de/cdn/natural_earth_2_shaded_relief.raster/{z}/{x}/{y}.png" ], "type": "raster" } @@ -27,7 +27,9 @@ "id": "background", "type": "background", "source": "openmaptiles", - "paint": { "background-color": "rgb(239,239,239)" } + "paint": { + "background-color": "rgb(239,239,239)" + } }, { "id": "natural_earth", @@ -38,8 +40,14 @@ "raster-opacity": { "base": 1.5, "stops": [ - [0, 0.6], - [6, 0.1] + [ + 0, + 0.6 + ], + [ + 6, + 0.1 + ] ] } } @@ -61,7 +69,10 @@ "source": "openmaptiles", "source-layer": "park", "paint": { - "line-dasharray": [1, 1.5], + "line-dasharray": [ + 1, + 1.5 + ], "line-color": "rgba(228, 241, 215, 1)" } }, @@ -71,13 +82,23 @@ "source": "openmaptiles", "source-layer": "landuse", "maxzoom": 8, - "filter": ["==", "class", "residential"], + "filter": [ + "==", + "class", + "residential" + ], "paint": { "fill-color": { "base": 1, "stops": [ - [9, "hsla(0, 3%, 85%, 0.84)"], - [12, "hsla(35, 57%, 88%, 0.49)"] + [ + 9, + "hsla(0, 3%, 85%, 0.84)" + ], + [ + 12, + "hsla(35, 57%, 88%, 0.49)" + ] ] } } @@ -87,7 +108,14 @@ "type": "fill", "source": "openmaptiles", "source-layer": "landcover", - "filter": ["all", ["==", "class", "wood"]], + "filter": [ + "all", + [ + "==", + "class", + "wood" + ] + ], "paint": { "fill-antialias": false, "fill-color": "hsla(98, 61%, 72%, 0.7)", @@ -99,7 +127,14 @@ "type": "fill", "source": "openmaptiles", "source-layer": "landcover", - "filter": ["all", ["==", "class", "grass"]], + "filter": [ + "all", + [ + "==", + "class", + "grass" + ] + ], "paint": { "fill-antialias": false, "fill-color": "rgba(176, 213, 154, 1)", @@ -111,7 +146,14 @@ "type": "fill", "source": "openmaptiles", "source-layer": "landcover", - "filter": ["all", ["==", "class", "ice"]], + "filter": [ + "all", + [ + "==", + "class", + "ice" + ] + ], "paint": { "fill-antialias": false, "fill-color": "rgba(224, 236, 236, 1)", @@ -123,46 +165,86 @@ "type": "fill", "source": "openmaptiles", "source-layer": "landuse", - "filter": ["==", "class", "cemetery"], - "paint": { "fill-color": "hsl(75, 37%, 81%)" } + "filter": [ + "==", + "class", + "cemetery" + ], + "paint": { + "fill-color": "hsl(75, 37%, 81%)" + } }, { "id": "landuse_hospital", "type": "fill", "source": "openmaptiles", "source-layer": "landuse", - "filter": ["==", "class", "hospital"], - "paint": { "fill-color": "#fde" } + "filter": [ + "==", + "class", + "hospital" + ], + "paint": { + "fill-color": "#fde" + } }, { "id": "landuse_school", "type": "fill", "source": "openmaptiles", "source-layer": "landuse", - "filter": ["==", "class", "school"], - "paint": { "fill-color": "rgb(236,238,204)" } + "filter": [ + "==", + "class", + "school" + ], + "paint": { + "fill-color": "rgb(236,238,204)" + } }, { "id": "waterway_tunnel", "type": "line", "source": "openmaptiles", "source-layer": "waterway", - "filter": ["all", ["==", "brunnel", "tunnel"]], + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ] + ], "paint": { "line-color": "#a0c8f0", - "line-dasharray": [3, 3], + "line-dasharray": [ + 3, + 3 + ], "line-gap-width": { "stops": [ - [12, 0], - [20, 6] + [ + 12, + 0 + ], + [ + 20, + 6 + ] ] }, "line-opacity": 1, "line-width": { "base": 1.4, "stops": [ - [8, 1], - [20, 2] + [ + 8, + 1 + ], + [ + 20, + 2 + ] ] } } @@ -172,15 +254,35 @@ "type": "line", "source": "openmaptiles", "source-layer": "waterway", - "filter": ["all", ["==", "class", "river"], ["!=", "brunnel", "tunnel"]], - "layout": { "line-cap": "round" }, + "filter": [ + "all", + [ + "==", + "class", + "river" + ], + [ + "!=", + "brunnel", + "tunnel" + ] + ], + "layout": { + "line-cap": "round" + }, "paint": { "line-color": "#a0c8f0", "line-width": { "base": 1.2, "stops": [ - [11, 0.5], - [20, 6] + [ + 11, + 0.5 + ], + [ + 20, + 6 + ] ] } } @@ -190,15 +292,35 @@ "type": "line", "source": "openmaptiles", "source-layer": "waterway", - "filter": ["all", ["!=", "class", "river"], ["!=", "brunnel", "tunnel"]], - "layout": { "line-cap": "round" }, + "filter": [ + "all", + [ + "!=", + "class", + "river" + ], + [ + "!=", + "brunnel", + "tunnel" + ] + ], + "layout": { + "line-cap": "round" + }, "paint": { "line-color": "#a0c8f0", "line-width": { "base": 1.3, "stops": [ - [13, 0.5], - [20, 6] + [ + 13, + 0.5 + ], + [ + 20, + 6 + ] ] } } @@ -208,16 +330,34 @@ "type": "fill", "source": "openmaptiles", "source-layer": "water", - "filter": ["all", ["!=", "brunnel", "tunnel"]], - "paint": { "fill-color": "rgb(158,189,255)" } + "filter": [ + "all", + [ + "!=", + "brunnel", + "tunnel" + ] + ], + "paint": { + "fill-color": "rgb(158,189,255)" + } }, { "id": "landcover_sand", "type": "fill", "source": "openmaptiles", "source-layer": "landcover", - "filter": ["all", ["==", "class", "sand"]], - "paint": { "fill-color": "rgba(247, 239, 195, 1)" } + "filter": [ + "all", + [ + "==", + "class", + "sand" + ] + ], + "paint": { + "fill-color": "rgba(247, 239, 195, 1)" + } }, { "id": "aeroway_fill", @@ -225,8 +365,15 @@ "source": "openmaptiles", "source-layer": "aeroway", "minzoom": 11, - "filter": ["==", "$type", "Polygon"], - "paint": { "fill-color": "rgba(229, 228, 224, 1)", "fill-opacity": 0.7 } + "filter": [ + "==", + "$type", + "Polygon" + ], + "paint": { + "fill-color": "rgba(229, 228, 224, 1)", + "fill-opacity": 0.7 + } }, { "id": "aeroway_runway", @@ -236,16 +383,30 @@ "minzoom": 11, "filter": [ "all", - ["==", "$type", "LineString"], - ["==", "class", "runway"] + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "class", + "runway" + ] ], "paint": { "line-color": "#f0ede9", "line-width": { "base": 1.2, "stops": [ - [11, 3], - [20, 16] + [ + 11, + 3 + ], + [ + 20, + 16 + ] ] } } @@ -258,16 +419,30 @@ "minzoom": 11, "filter": [ "all", - ["==", "$type", "LineString"], - ["==", "class", "taxiway"] + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "class", + "taxiway" + ] ], "paint": { "line-color": "#f0ede9", "line-width": { "base": 1.2, "stops": [ - [11, 0.5], - [20, 6] + [ + 11, + 0.5 + ], + [ + 20, + 6 + ] ] } } @@ -279,21 +454,50 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "class", "motorway"], - ["==", "ramp", 1], - ["==", "brunnel", "tunnel"] + [ + "==", + "class", + "motorway" + ], + [ + "==", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "tunnel" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", - "line-dasharray": [0.5, 0.25], + "line-dasharray": [ + 0.5, + 0.25 + ], "line-width": { "base": 1.2, "stops": [ - [12, 1], - [13, 3], - [14, 4], - [20, 15] + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] ] } } @@ -305,19 +509,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "tunnel"], - ["in", "class", "service", "track"] + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "service", + "track" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#cfcdca", - "line-dasharray": [0.5, 0.25], + "line-dasharray": [ + 0.5, + 0.25 + ], "line-width": { "base": 1.2, "stops": [ - [15, 1], - [16, 4], - [20, 11] + [ + 15, + 1 + ], + [ + 16, + 4 + ], + [ + 20, + 11 + ] ] } } @@ -327,17 +554,43 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]], - "layout": { "line-join": "round" }, + "filter": [ + "all", + [ + "==", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "tunnel" + ] + ], + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [12, 1], - [13, 3], - [14, 4], - [20, 15] + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] ] } } @@ -349,25 +602,54 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "tunnel"], - ["in", "class", "street", "street_limited"] + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "street", + "street_limited" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#cfcdca", "line-opacity": { "stops": [ - [12, 0], - [12.5, 1] + [ + 12, + 0 + ], + [ + 12.5, + 1 + ] ] }, "line-width": { "base": 1.2, "stops": [ - [12, 0.5], - [13, 1], - [14, 4], - [20, 15] + [ + 12, + 0.5 + ], + [ + 13, + 1 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] ] } } @@ -379,17 +661,34 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "tunnel"], - ["in", "class", "secondary", "tertiary"] + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [8, 1.5], - [20, 17] + [ + 8, + 1.5 + ], + [ + 20, + 17 + ] ] } } @@ -401,19 +700,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "tunnel"], - ["in", "class", "primary", "trunk"] + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "primary", + "trunk" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [5, 0.4], - [6, 0.7], - [7, 1.75], - [20, 22] + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] ] } } @@ -425,21 +747,50 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "class", "motorway"], - ["!=", "ramp", 1], - ["==", "brunnel", "tunnel"] + [ + "==", + "class", + "motorway" + ], + [ + "!=", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "tunnel" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", - "line-dasharray": [0.5, 0.25], + "line-dasharray": [ + 0.5, + 0.25 + ], "line-width": { "base": 1.2, "stops": [ - [5, 0.4], - [6, 0.7], - [7, 1.75], - [20, 22] + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] ] } } @@ -451,18 +802,40 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "$type", "LineString"], - ["==", "brunnel", "tunnel"], - ["in", "class", "path", "pedestrian"] + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "path", + "pedestrian" + ] ], "paint": { "line-color": "hsl(0, 0%, 100%)", - "line-dasharray": [1, 0.75], + "line-dasharray": [ + 1, + 0.75 + ], "line-width": { "base": 1.2, "stops": [ - [14, 0.5], - [20, 10] + [ + 14, + 0.5 + ], + [ + 20, + 10 + ] ] } } @@ -474,20 +847,46 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "class", "motorway"], - ["==", "ramp", 1], - ["==", "brunnel", "tunnel"] + [ + "==", + "class", + "motorway" + ], + [ + "==", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "tunnel" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fc8", "line-width": { "base": 1.2, "stops": [ - [12.5, 0], - [13, 1.5], - [14, 2.5], - [20, 11.5] + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] ] } } @@ -499,18 +898,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "tunnel"], - ["in", "class", "service", "track"] + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "service", + "track" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": { "base": 1.2, "stops": [ - [15.5, 0], - [16, 2], - [20, 7.5] + [ + 15.5, + 0 + ], + [ + 16, + 2 + ], + [ + 20, + 7.5 + ] ] } } @@ -520,17 +939,43 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]], - "layout": { "line-join": "round" }, + "filter": [ + "all", + [ + "==", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "tunnel" + ] + ], + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff4c6", "line-width": { "base": 1.2, "stops": [ - [12.5, 0], - [13, 1.5], - [14, 2.5], - [20, 11.5] + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] ] } } @@ -540,16 +985,39 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "minor"]], - "layout": { "line-join": "round" }, + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "minor" + ] + ], + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": { "base": 1.2, "stops": [ - [13.5, 0], - [14, 2.5], - [20, 11.5] + [ + 13.5, + 0 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] ] } } @@ -561,18 +1029,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "tunnel"], - ["in", "class", "secondary", "tertiary"] + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff4c6", "line-width": { "base": 1.2, "stops": [ - [6.5, 0], - [7, 0.5], - [20, 10] + [ + 6.5, + 0 + ], + [ + 7, + 0.5 + ], + [ + 20, + 10 + ] ] } } @@ -584,18 +1072,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "tunnel"], - ["in", "class", "primary", "trunk"] + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "primary", + "trunk" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff4c6", "line-width": { "base": 1.2, "stops": [ - [5, 0], - [7, 1], - [20, 18] + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] ] } } @@ -607,19 +1115,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "class", "motorway"], - ["!=", "ramp", 1], - ["==", "brunnel", "tunnel"] + [ + "==", + "class", + "motorway" + ], + [ + "!=", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "tunnel" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#ffdaa6", "line-width": { "base": 1.2, "stops": [ - [5, 0], - [7, 1], - [20, 18] + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] ] } } @@ -629,15 +1160,36 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "rail"]], + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "rail" + ] + ], "paint": { "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ - [14, 0.4], - [15, 0.75], - [20, 2] + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] ] } } @@ -647,16 +1199,40 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "rail"]], + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "==", + "class", + "rail" + ] + ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": { "base": 1.4, "stops": [ - [14.5, 0], - [15, 3], - [20, 8] + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] ] } } @@ -668,17 +1244,34 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "tunnel"], - ["in", "class", "transit"] + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "transit" + ] ], "paint": { "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ - [14, 0.4], - [15, 0.75], - [20, 2] + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] ] } } @@ -690,18 +1283,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "tunnel"], - ["==", "class", "transit"] + [ + "==", + "brunnel", + "tunnel" + ], + [ + "==", + "class", + "transit" + ] ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": { "base": 1.4, "stops": [ - [14.5, 0], - [15, 3], - [20, 8] + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] ] } } @@ -711,8 +1324,17 @@ "type": "fill", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "$type", "Polygon"]], - "paint": { "fill-pattern": "pedestrian_polygon" } + "filter": [ + "all", + [ + "==", + "$type", + "Polygon" + ] + ], + "paint": { + "fill-pattern": "pedestrian_polygon" + } }, { "id": "road_motorway_link_casing", @@ -722,20 +1344,48 @@ "minzoom": 12, "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["==", "class", "motorway"], - ["==", "ramp", 1] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ], + [ + "==", + "ramp", + 1 + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [12, 1], - [13, 3], - [14, 4], - [20, 15] + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] ] } } @@ -747,18 +1397,40 @@ "source-layer": "transportation", "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["in", "class", "service", "track"] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "service", + "track" + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#cfcdca", "line-width": { "base": 1.2, "stops": [ - [15, 1], - [16, 4], - [20, 11] + [ + 15, + 1 + ], + [ + 16, + 4 + ], + [ + 20, + 11 + ] ] } } @@ -771,20 +1443,52 @@ "minzoom": 13, "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["!in", "class", "pedestrian", "path", "track", "service", "motorway"], - ["==", "ramp", 1] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "!in", + "class", + "pedestrian", + "path", + "track", + "service", + "motorway" + ], + [ + "==", + "ramp", + 1 + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [12, 1], - [13, 3], - [14, 4], - [20, 15] + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] ] } } @@ -796,27 +1500,65 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "$type", "LineString"], - ["!in", "brunnel", "bridge", "tunnel"], - ["in", "class", "minor"], - ["!=", "ramp", 1] + [ + "==", + "$type", + "LineString" + ], + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "minor" + ], + [ + "!=", + "ramp", + 1 + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#cfcdca", "line-opacity": { "stops": [ - [12, 0], - [12.5, 1] + [ + 12, + 0 + ], + [ + 12.5, + 1 + ] ] }, "line-width": { "base": 1.2, "stops": [ - [12, 0.5], - [13, 1], - [14, 4], - [20, 20] + [ + 12, + 0.5 + ], + [ + 13, + 1 + ], + [ + 14, + 4 + ], + [ + 20, + 20 + ] ] } } @@ -828,18 +1570,41 @@ "source-layer": "transportation", "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["in", "class", "secondary", "tertiary"], - ["!=", "ramp", 1] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ], + [ + "!=", + "ramp", + 1 + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [8, 1.5], - [20, 17] + [ + 8, + 1.5 + ], + [ + 20, + 17 + ] ] } } @@ -851,19 +1616,43 @@ "source-layer": "transportation", "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["in", "class", "primary", "trunk"] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "primary", + "trunk" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [5, 0.4], - [6, 0.7], - [7, 1.75], - [20, 22] + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] ] } } @@ -876,20 +1665,48 @@ "minzoom": 5, "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["==", "class", "motorway"], - ["!=", "ramp", 1] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ], + [ + "!=", + "ramp", + 1 + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [5, 0.4], - [6, 0.7], - [7, 1.75], - [20, 22] + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] ] } } @@ -902,20 +1719,48 @@ "minzoom": 12, "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["==", "class", "motorway"], - ["==", "ramp", 1] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ], + [ + "==", + "ramp", + 1 + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#fc8", "line-width": { "base": 1.2, "stops": [ - [12.5, 0], - [13, 1.5], - [14, 2.5], - [20, 11.5] + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] ] } } @@ -927,18 +1772,40 @@ "source-layer": "transportation", "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["in", "class", "service", "track"] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "service", + "track" + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": { "base": 1.2, "stops": [ - [15.5, 0], - [16, 2], - [20, 7.5] + [ + 15.5, + 0 + ], + [ + 16, + 2 + ], + [ + 20, + 7.5 + ] ] } } @@ -951,20 +1818,52 @@ "minzoom": 13, "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["==", "ramp", 1], - ["!in", "class", "pedestrian", "path", "track", "service", "motorway"] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "ramp", + 1 + ], + [ + "!in", + "class", + "pedestrian", + "path", + "track", + "service", + "motorway" + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ - [12.5, 0], - [13, 1.5], - [14, 2.5], - [20, 11.5] + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] ] } } @@ -976,19 +1875,44 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "$type", "LineString"], - ["!in", "brunnel", "bridge", "tunnel"], - ["in", "class", "minor"] + [ + "==", + "$type", + "LineString" + ], + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "minor" + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": { "base": 1.2, "stops": [ - [13.5, 0], - [14, 2.5], - [20, 18] + [ + 13.5, + 0 + ], + [ + 14, + 2.5 + ], + [ + 20, + 18 + ] ] } } @@ -1000,18 +1924,40 @@ "source-layer": "transportation", "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["in", "class", "secondary", "tertiary"] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ - [6.5, 0], - [8, 0.5], - [20, 13] + [ + 6.5, + 0 + ], + [ + 8, + 0.5 + ], + [ + 20, + 13 + ] ] } } @@ -1023,18 +1969,39 @@ "source-layer": "transportation", "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["in", "class", "primary", "trunk"] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "primary", + "trunk" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ - [5, 0], - [7, 1], - [20, 18] + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] ] } } @@ -1047,25 +2014,56 @@ "minzoom": 5, "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["==", "class", "motorway"], - ["!=", "ramp", 1] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ], + [ + "!=", + "ramp", + 1 + ] ], - "layout": { "line-cap": "round", "line-join": "round" }, + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": { "base": 1, "stops": [ - [5, "hsl(26, 87%, 62%)"], - [6, "#fc8"] + [ + 5, + "hsl(26, 87%, 62%)" + ], + [ + 6, + "#fc8" + ] ] }, "line-width": { "base": 1.2, "stops": [ - [5, 0], - [7, 1], - [20, 18] + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] ] } } @@ -1077,17 +2075,35 @@ "source-layer": "transportation", "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["==", "class", "rail"] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "rail" + ] ], "paint": { "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ - [14, 0.4], - [15, 0.75], - [20, 2] + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] ] } } @@ -1099,18 +2115,39 @@ "source-layer": "transportation", "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["==", "class", "rail"] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "rail" + ] ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": { "base": 1.4, "stops": [ - [14.5, 0], - [15, 3], - [20, 8] + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] ] } } @@ -1122,17 +2159,35 @@ "source-layer": "transportation", "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["==", "class", "transit"] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "transit" + ] ], "paint": { "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ - [14, 0.4], - [15, 0.75], - [20, 2] + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] ] } } @@ -1144,18 +2199,39 @@ "source-layer": "transportation", "filter": [ "all", - ["!in", "brunnel", "bridge", "tunnel"], - ["==", "class", "transit"] + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "transit" + ] ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": { "base": 1.4, "stops": [ - [14.5, 0], - [15, 3], - [20, 8] + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] ] } } @@ -1166,8 +2242,15 @@ "source": "openmaptiles", "source-layer": "transportation", "minzoom": 15, - "filter": ["==", "oneway", 1], - "layout": { "icon-image": "arrow", "symbol-placement": "line" } + "filter": [ + "==", + "oneway", + 1 + ], + "layout": { + "icon-image": "arrow", + "symbol-placement": "line" + } }, { "id": "road_one_way_arrow_opposite", @@ -1175,7 +2258,11 @@ "source": "openmaptiles", "source-layer": "transportation", "minzoom": 15, - "filter": ["==", "oneway", -1], + "filter": [ + "==", + "oneway", + -1 + ], "layout": { "icon-image": "arrow", "symbol-placement": "line", @@ -1189,20 +2276,46 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "class", "motorway"], - ["==", "ramp", 1], - ["==", "brunnel", "bridge"] + [ + "==", + "class", + "motorway" + ], + [ + "==", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "bridge" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [12, 1], - [13, 3], - [14, 4], - [20, 15] + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] ] } } @@ -1214,18 +2327,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "bridge"], - ["in", "class", "service", "track"] + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "service", + "track" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#cfcdca", "line-width": { "base": 1.2, "stops": [ - [15, 1], - [16, 4], - [20, 11] + [ + 15, + 1 + ], + [ + 16, + 4 + ], + [ + 20, + 11 + ] ] } } @@ -1235,17 +2368,43 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]], - "layout": { "line-join": "round" }, + "filter": [ + "all", + [ + "==", + "class", + "link" + ], + [ + "==", + "brunnel", + "bridge" + ] + ], + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [12, 1], - [13, 3], - [14, 4], - [20, 15] + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] ] } } @@ -1257,25 +2416,54 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "bridge"], - ["in", "class", "street", "street_limited"] + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "street", + "street_limited" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "hsl(36, 6%, 74%)", "line-opacity": { "stops": [ - [12, 0], - [12.5, 1] + [ + 12, + 0 + ], + [ + 12.5, + 1 + ] ] }, "line-width": { "base": 1.2, "stops": [ - [12, 0.5], - [13, 1], - [14, 4], - [20, 25] + [ + 12, + 0.5 + ], + [ + 13, + 1 + ], + [ + 14, + 4 + ], + [ + 20, + 25 + ] ] } } @@ -1287,17 +2475,34 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "bridge"], - ["in", "class", "secondary", "tertiary"] + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [8, 1.5], - [20, 17] + [ + 8, + 1.5 + ], + [ + 20, + 17 + ] ] } } @@ -1309,19 +2514,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "bridge"], - ["in", "class", "primary", "trunk"] + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "primary", + "trunk" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [5, 0.4], - [6, 0.7], - [7, 1.75], - [20, 22] + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] ] } } @@ -1333,20 +2561,46 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "class", "motorway"], - ["!=", "ramp", 1], - ["==", "brunnel", "bridge"] + [ + "==", + "class", + "motorway" + ], + [ + "!=", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "bridge" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#e9ac77", "line-width": { "base": 1.2, "stops": [ - [5, 0.4], - [6, 0.7], - [7, 1.75], - [20, 22] + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] ] } } @@ -1358,20 +2612,46 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "class", "motorway"], - ["==", "ramp", 1], - ["==", "brunnel", "bridge"] + [ + "==", + "class", + "motorway" + ], + [ + "==", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "bridge" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fc8", "line-width": { "base": 1.2, "stops": [ - [12.5, 0], - [13, 1.5], - [14, 2.5], - [20, 11.5] + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] ] } } @@ -1383,18 +2663,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "bridge"], - ["in", "class", "service", "track"] + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "service", + "track" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": { "base": 1.2, "stops": [ - [15.5, 0], - [16, 2], - [20, 7.5] + [ + 15.5, + 0 + ], + [ + 16, + 2 + ], + [ + 20, + 7.5 + ] ] } } @@ -1404,17 +2704,43 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]], - "layout": { "line-join": "round" }, + "filter": [ + "all", + [ + "==", + "class", + "link" + ], + [ + "==", + "brunnel", + "bridge" + ] + ], + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ - [12.5, 0], - [13, 1.5], - [14, 2.5], - [20, 11.5] + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] ] } } @@ -1424,16 +2750,39 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "minor"]], - "layout": { "line-join": "round" }, + "filter": [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "minor" + ] + ], + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fff", "line-width": { "base": 1.2, "stops": [ - [13.5, 0], - [14, 2.5], - [20, 18] + [ + 13.5, + 0 + ], + [ + 14, + 2.5 + ], + [ + 20, + 18 + ] ] } } @@ -1445,18 +2794,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "bridge"], - ["in", "class", "secondary", "tertiary"] + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ - [6.5, 0], - [7, 0.5], - [20, 10] + [ + 6.5, + 0 + ], + [ + 7, + 0.5 + ], + [ + 20, + 10 + ] ] } } @@ -1468,18 +2837,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "brunnel", "bridge"], - ["in", "class", "primary", "trunk"] + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "primary", + "trunk" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fea", "line-width": { "base": 1.2, "stops": [ - [5, 0], - [7, 1], - [20, 18] + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] ] } } @@ -1491,19 +2880,42 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "class", "motorway"], - ["!=", "ramp", 1], - ["==", "brunnel", "bridge"] + [ + "==", + "class", + "motorway" + ], + [ + "!=", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "bridge" + ] ], - "layout": { "line-join": "round" }, + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#fc8", "line-width": { "base": 1.2, "stops": [ - [5, 0], - [7, 1], - [20, 18] + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] ] } } @@ -1513,15 +2925,36 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]], + "filter": [ + "all", + [ + "==", + "class", + "rail" + ], + [ + "==", + "brunnel", + "bridge" + ] + ], "paint": { "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ - [14, 0.4], - [15, 0.75], - [20, 2] + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] ] } } @@ -1531,16 +2964,40 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]], + "filter": [ + "all", + [ + "==", + "class", + "rail" + ], + [ + "==", + "brunnel", + "bridge" + ] + ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": { "base": 1.4, "stops": [ - [14.5, 0], - [15, 3], - [20, 8] + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] ] } } @@ -1552,17 +3009,34 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "class", "transit"], - ["==", "brunnel", "bridge"] + [ + "==", + "class", + "transit" + ], + [ + "==", + "brunnel", + "bridge" + ] ], "paint": { "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ - [14, 0.4], - [15, 0.75], - [20, 2] + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] ] } } @@ -1574,18 +3048,38 @@ "source-layer": "transportation", "filter": [ "all", - ["==", "class", "transit"], - ["==", "brunnel", "bridge"] + [ + "==", + "class", + "transit" + ], + [ + "==", + "brunnel", + "bridge" + ] ], "paint": { "line-color": "#bbb", - "line-dasharray": [0.2, 8], + "line-dasharray": [ + 0.2, + 8 + ], "line-width": { "base": 1.4, "stops": [ - [14.5, 0], - [15, 3], - [20, 8] + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] ] } } @@ -1602,14 +3096,26 @@ "fill-outline-color": { "base": 1, "stops": [ - [13, "hsla(35, 6%, 79%, 0.32)"], - [14, "hsl(35, 6%, 79%)"] + [ + 13, + "hsla(35, 6%, 79%, 0.32)" + ], + [ + 14, + "hsl(35, 6%, 79%)" + ] ] }, "fill-opacity": { "stops": [ - [13, 0], - [14, 1] + [ + 13, + 0 + ], + [ + 14, + 1 + ] ] } } @@ -1631,14 +3137,24 @@ }, "fill-extrusion-opacity": { "stops": [ - [13.5, 0], - [14, 0.8] + [ + 13.5, + 0 + ], + [ + 14, + 0.8 + ] ] }, "fill-extrusion-color": [ "interpolate", - ["linear"], - ["zoom"], + [ + "linear" + ], + [ + "zoom" + ], 13, "#98c6ea", 15, @@ -1654,17 +3170,39 @@ "source": "openmaptiles", "source-layer": "boundary", "minzoom": 8, - "filter": ["all", ["in", "admin_level", 3, 4]], - "layout": { "line-join": "round" }, + "filter": [ + "all", + [ + "in", + "admin_level", + 3, + 4 + ] + ], + "layout": { + "line-join": "round" + }, "paint": { "line-color": "#9e9cab", - "line-dasharray": [5, 1], + "line-dasharray": [ + 5, + 1 + ], "line-width": { "base": 1, "stops": [ - [4, 0.4], - [5, 1], - [12, 1.8] + [ + 4, + 0.4 + ], + [ + 5, + 1 + ], + [ + 12, + 1.8 + ] ] } } @@ -1675,23 +3213,52 @@ "source": "openmaptiles", "source-layer": "boundary", "maxzoom": 5, - "filter": ["all", ["==", "admin_level", 2], ["!has", "claimed_by"]], - "layout": { "line-cap": "round", "line-join": "round" }, + "filter": [ + "all", + [ + "==", + "admin_level", + 2 + ], + [ + "!has", + "claimed_by" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "hsl(248, 1%, 41%)", "line-opacity": { "base": 1, "stops": [ - [0, 0.4], - [4, 1] + [ + 0, + 0.4 + ], + [ + 4, + 1 + ] ] }, "line-width": { "base": 1, "stops": [ - [3, 1], - [5, 1.2], - [12, 3] + [ + 3, + 1 + ], + [ + 5, + 1.2 + ], + [ + 12, + 3 + ] ] } } @@ -1702,23 +3269,48 @@ "source": "openmaptiles", "source-layer": "boundary", "minzoom": 5, - "filter": ["all", ["==", "admin_level", 2]], - "layout": { "line-cap": "round", "line-join": "round" }, + "filter": [ + "all", + [ + "==", + "admin_level", + 2 + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, "paint": { "line-color": "hsl(248, 1%, 41%)", "line-opacity": { "base": 1, "stops": [ - [0, 0.4], - [4, 1] + [ + 0, + 0.4 + ], + [ + 4, + 1 + ] ] }, "line-width": { "base": 1, "stops": [ - [3, 1], - [5, 1.2], - [12, 3] + [ + 3, + 1 + ], + [ + 5, + 1.2 + ], + [ + 12, + 3 + ] ] } } @@ -1728,10 +3320,19 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "waterway", - "filter": ["all", ["==", "$type", "LineString"]], + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ] + ], "layout": { "text-field": "{name}", - "text-font": ["Roboto Regular"], + "text-font": [ + "Roboto Regular" + ], "text-max-width": 5, "text-size": 12, "symbol-placement": "line" @@ -1747,10 +3348,16 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "water_name", - "filter": ["==", "$type", "Point"], + "filter": [ + "==", + "$type", + "Point" + ], "layout": { "text-field": "{name}", - "text-font": ["Roboto Regular"], + "text-font": [ + "Roboto Regular" + ], "text-max-width": 5, "text-size": 12 }, @@ -1766,14 +3373,31 @@ "source": "openmaptiles", "source-layer": "poi", "minzoom": 16, - "filter": ["all", ["==", "$type", "Point"], [">=", "rank", 20]], + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + ">=", + "rank", + 20 + ] + ], "layout": { "icon-image": "{class}_11", "text-anchor": "top", "text-field": "{name}", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0, 0.6], + "text-offset": [ + 0, + 0.6 + ], "text-size": 12, "visibility": "none" }, @@ -1792,17 +3416,34 @@ "minzoom": 15, "filter": [ "all", - ["==", "$type", "Point"], - [">=", "rank", 7], - ["<", "rank", 20] + [ + "==", + "$type", + "Point" + ], + [ + ">=", + "rank", + 7 + ], + [ + "<", + "rank", + 20 + ] ], "layout": { "icon-image": "{class}_11", "text-anchor": "top", "text-field": "{name}", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0, 0.6], + "text-offset": [ + 0, + 0.6 + ], "text-size": 12 }, "paint": { @@ -1820,17 +3461,34 @@ "minzoom": 14, "filter": [ "all", - ["==", "$type", "Point"], - [">=", "rank", 1], - ["<", "rank", 7] + [ + "==", + "$type", + "Point" + ], + [ + ">=", + "rank", + 1 + ], + [ + "<", + "rank", + 7 + ] ], "layout": { "icon-image": "{class}_11", "text-anchor": "top", "text-field": "{name}", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0, 0.6], + "text-offset": [ + 0, + 0.6 + ], "text-size": 12, "visibility": "visible" }, @@ -1846,14 +3504,28 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "poi", - "filter": ["all", ["in", "class", "bus", "rail", "airport"]], + "filter": [ + "all", + [ + "in", + "class", + "bus", + "rail", + "airport" + ] + ], "layout": { "icon-image": "{class}_11", "text-anchor": "left", "text-field": "{name_en}", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 9, - "text-offset": [0.9, 0], + "text-offset": [ + 0.9, + 0 + ], "text-size": 14 }, "paint": { @@ -1868,18 +3540,31 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "transportation_name", - "filter": ["all"], + "filter": [ + "all" + ], "layout": { "symbol-placement": "line", "text-anchor": "center", "text-field": "{name}", - "text-font": ["Roboto Regular"], - "text-offset": [0, 0.15], + "text-font": [ + "Roboto Regular" + ], + "text-offset": [ + 0, + 0.15 + ], "text-size": { "base": 1, "stops": [ - [13, 12], - [14, 13] + [ + 13, + 12 + ], + [ + 14, + 13 + ] ] }, "visibility": "visible" @@ -1897,21 +3582,39 @@ "source": "openmaptiles", "source-layer": "transportation_name", "minzoom": 7, - "filter": ["all", ["<=", "ref_length", 6]], + "filter": [ + "all", + [ + "<=", + "ref_length", + 6 + ] + ], "layout": { "icon-image": "default_{ref_length}", "icon-rotation-alignment": "viewport", "symbol-placement": { "base": 1, "stops": [ - [10, "point"], - [11, "line"] + [ + 10, + "point" + ], + [ + 11, + "line" + ] ] }, "symbol-spacing": 500, "text-field": "{ref}", - "text-font": ["Roboto Regular"], - "text-offset": [0, 0.1], + "text-font": [ + "Roboto Regular" + ], + "text-offset": [ + 0, + 0.1 + ], "text-rotation-alignment": "viewport", "text-size": 10, "icon-size": 0.8 @@ -1937,14 +3640,22 @@ ], "layout": { "text-field": "{name_en}", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-letter-spacing": 0.1, "text-max-width": 9, "text-size": { "base": 1.2, "stops": [ - [12, 10], - [15, 14] + [ + 12, + 10 + ], + [ + 15, + 14 + ] ] }, "text-transform": "uppercase" @@ -1960,16 +3671,31 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "place", - "filter": ["all", ["==", "class", "village"]], + "filter": [ + "all", + [ + "==", + "class", + "village" + ] + ], "layout": { "text-field": "{name_en}", - "text-font": ["Roboto Regular"], + "text-font": [ + "Roboto Regular" + ], "text-max-width": 8, "text-size": { "base": 1.2, "stops": [ - [10, 12], - [15, 22] + [ + 10, + 12 + ], + [ + 15, + 22 + ] ] } }, @@ -1984,25 +3710,49 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "place", - "filter": ["all", ["==", "class", "town"]], + "filter": [ + "all", + [ + "==", + "class", + "town" + ] + ], "layout": { "icon-image": { "base": 1, "stops": [ - [0, "dot_9"], - [8, ""] + [ + 0, + "dot_9" + ], + [ + 8, + "" + ] ] }, "text-anchor": "bottom", "text-field": "{name_en}", - "text-font": ["Roboto Regular"], + "text-font": [ + "Roboto Regular" + ], "text-max-width": 8, - "text-offset": [0, 0], + "text-offset": [ + 0, + 0 + ], "text-size": { "base": 1.2, "stops": [ - [7, 12], - [11, 16] + [ + 7, + 12 + ], + [ + 11, + 16 + ] ] } }, @@ -2018,25 +3768,49 @@ "source": "openmaptiles", "source-layer": "place", "minzoom": 5, - "filter": ["all", ["==", "class", "city"]], + "filter": [ + "all", + [ + "==", + "class", + "city" + ] + ], "layout": { "icon-image": { "base": 1, "stops": [ - [0, "dot_9"], - [8, ""] + [ + 0, + "dot_9" + ], + [ + 8, + "" + ] ] }, "text-anchor": "bottom", "text-field": "{name_en}", - "text-font": ["Roboto Medium"], + "text-font": [ + "Roboto Medium" + ], "text-max-width": 8, - "text-offset": [0, 0], + "text-offset": [ + 0, + 0 + ], "text-size": { "base": 1.2, "stops": [ - [7, 14], - [11, 24] + [ + 7, + 14 + ], + [ + 11, + 24 + ] ] }, "icon-allow-overlap": true, @@ -2054,14 +3828,29 @@ "source": "openmaptiles", "source-layer": "place", "maxzoom": 6, - "filter": ["all", ["==", "class", "state"]], + "filter": [ + "all", + [ + "==", + "class", + "state" + ] + ], "layout": { "text-field": "{name_en}", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-size": { "stops": [ - [4, 11], - [6, 15] + [ + 4, + 11 + ], + [ + 6, + 15 + ] ] }, "text-transform": "uppercase" @@ -2077,15 +3866,35 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "place", - "filter": ["all", [">=", "rank", 3], ["==", "class", "country"]], + "filter": [ + "all", + [ + ">=", + "rank", + 3 + ], + [ + "==", + "class", + "country" + ] + ], "layout": { "text-field": "{name_en}", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 6.25, "text-size": { "stops": [ - [3, 11], - [7, 17] + [ + 3, + 11 + ], + [ + 7, + 17 + ] ] }, "text-transform": "none" @@ -2102,15 +3911,35 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "place", - "filter": ["all", ["==", "rank", 2], ["==", "class", "country"]], + "filter": [ + "all", + [ + "==", + "rank", + 2 + ], + [ + "==", + "class", + "country" + ] + ], "layout": { "text-field": "{name_en}", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 6.25, "text-size": { "stops": [ - [2, 11], - [5, 17] + [ + 2, + 11 + ], + [ + 5, + 17 + ] ] }, "text-transform": "none" @@ -2127,15 +3956,35 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "place", - "filter": ["all", ["==", "rank", 1], ["==", "class", "country"]], + "filter": [ + "all", + [ + "==", + "rank", + 1 + ], + [ + "==", + "class", + "country" + ] + ], "layout": { "text-field": "{name_en}", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-max-width": 6.25, "text-size": { "stops": [ - [1, 11], - [4, 17] + [ + 1, + 11 + ], + [ + 4, + 17 + ] ] }, "text-transform": "none" @@ -2153,10 +4002,19 @@ "source": "openmaptiles", "source-layer": "place", "maxzoom": 1, - "filter": ["all", ["==", "class", "continent"]], + "filter": [ + "all", + [ + "==", + "class", + "continent" + ] + ], "layout": { "text-field": "{name_en}", - "text-font": ["Roboto Condensed Italic"], + "text-font": [ + "Roboto Condensed Italic" + ], "text-size": 13, "text-transform": "uppercase", "text-justify": "center"