From 80153d102f68e6c1c28a833f30a1cb7a0997e364 Mon Sep 17 00:00:00 2001 From: gman Date: Wed, 29 Apr 2026 17:07:03 +0300 Subject: [PATCH] rename pmtiles --- ...net_z6_20260414.pmtiles => planet.pmtiles} | Bin src/assets/basemap.json | 4 +- src/assets/outdoor-maptiler.json | 16998 ---------------- 3 files changed, 2 insertions(+), 17000 deletions(-) rename public/{planet_z6_20260414.pmtiles => planet.pmtiles} (100%) delete mode 100644 src/assets/outdoor-maptiler.json diff --git a/public/planet_z6_20260414.pmtiles b/public/planet.pmtiles similarity index 100% rename from public/planet_z6_20260414.pmtiles rename to public/planet.pmtiles diff --git a/src/assets/basemap.json b/src/assets/basemap.json index a77a3ff..1fca57c 100644 --- a/src/assets/basemap.json +++ b/src/assets/basemap.json @@ -3,8 +3,8 @@ "sources": { "protomaps": { "type": "vector", - "attribution": "Protomaps © OpenStreetMap", - "url": "pmtiles://planet_z6_20260414.pmtiles" + "attribution": "Protomaps © OpenStreetMap", + "url": "pmtiles://planet.pmtiles" } }, "layers": [ diff --git a/src/assets/outdoor-maptiler.json b/src/assets/outdoor-maptiler.json deleted file mode 100644 index 974944f..0000000 --- a/src/assets/outdoor-maptiler.json +++ /dev/null @@ -1,16998 +0,0 @@ -{ - "version": 8, - "name": "Outdoor", - "sources": { - "contours": { - "url": "https://api.maptiler.com/tiles/contours-v2/tiles.json?key=O7VbOY3zrXxBupgrQtdE", - "type": "vector" - }, - "landform": { - "url": "https://api.maptiler.com/tiles/landform/tiles.json?key=O7VbOY3zrXxBupgrQtdE", - "type": "vector" - }, - "maptiler_planet_v4": { - "url": "https://api.maptiler.com/tiles/v4/tiles.json?key=O7VbOY3zrXxBupgrQtdE", - "type": "vector" - }, - "outdoor": { - "url": "https://api.maptiler.com/tiles/outdoor/tiles.json?key=O7VbOY3zrXxBupgrQtdE", - "type": "vector" - }, - "terrain-rgb": { - "url": "https://api.maptiler.com/tiles/terrain-rgb-v2/tiles.json?key=O7VbOY3zrXxBupgrQtdE", - "type": "raster-dem" - } - }, - "layers": [ - { - "id": "Background", - "type": "background", - "minzoom": 0, - "layout": { - "visibility": "visible" - }, - "paint": { - "background-color": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 5, - "hsl(95, 33%, 93%)", - 14, - "hsl(120, 4%, 95%)" - ] - } - }, - { - "id": "Scrub", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "scrub", - "maxzoom": 9, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-antialias": true, - "fill-color": "hsl(82, 31%, 85%)", - "fill-opacity": 1 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Residential", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "residential", - "minzoom": 4, - "maxzoom": 16, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 6, - "hsla(9, 0%, 71%, 0.3)", - 16, - "hsla(9, 0%, 89%, 0.3)" - ] - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Wood", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "wood", - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(97, 33%, 80%)", - "fill-opacity": 1 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Forest", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "forest", - "minzoom": 9, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(99, 33%, 80%)" - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Grass", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "grass", - "minzoom": 7, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsla(90, 69%, 73%, 0.3)" - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Sand", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "sand", - "minzoom": 7, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-antialias": false, - "fill-color": "hsl(62, 53%, 88%)" - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Glacier", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "ice", - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-antialias": false, - "fill-color": "hsl(356, 0%, 100%)", - "fill-opacity": 1 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Industrial", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "industrial", - "minzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(40, 46%, 92%)", - "fill-opacity": 0.5 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Commercial", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "commercial", - "minzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(40, 46%, 92%)", - "fill-opacity": 0.5 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Construction", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "construction", - "minzoom": 13, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(31, 53%, 90%)", - "fill-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 13, - 0.05, - 16, - 0.1 - ], - "fill-pattern": "construction_pattern" - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Military", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "military", - "minzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(85, 0%, 50%)", - "fill-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 11, - 0.25, - 16, - 0.15 - ] - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Cemetery", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "cemetery", - "minzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(98, 14%, 81%)", - "fill-opacity": 0.7 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Hospital", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "hospital", - "minzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(2, 43%, 91%)", - "fill-opacity": 0.5 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Leisure", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "leisure", - "minzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(104, 48%, 91%)" - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Polygon" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "dog_park", - "playground", - "recreation_ground", - "sports_centre", - "stadium", - "theme_park", - "track", - "winter_sports", - "zoo" - ], - true, - [ - "!", - [ - "has", - "class" - ] - ] - ] - ] - }, - { - "id": "Pitch", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "leisure", - "minzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(105, 42%, 87%)" - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Polygon" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "pitch" - ], - true, - false - ] - ] - }, - { - "id": "Hillshade", - "type": "hillshade", - "source": "terrain-rgb", - "minzoom": 3, - "layout": { - "visibility": "visible" - }, - "paint": { - "hillshade-accent-color": "hsl(107, 30%, 86%)", - "hillshade-exaggeration": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 6, - 0.4, - 14, - 0.35, - 18, - 0.25 - ], - "hillshade-highlight-color": "hsl(200, 10%, 76%)", - "hillshade-shadow-color": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 0, - "hsl(9, 3%, 41%)", - 13, - "hsl(17, 3%, 12%)", - 15, - "hsl(17, 3%, 41%)" - ] - } - }, - { - "id": "Contour index", - "type": "line", - "source": "contours", - "source-layer": "contour", - "minzoom": 9, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsla(45, 38%, 45%, 0.8)", - "line-opacity": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 9, - 0.3, - 14, - 0.4, - 18, - 0.5 - ], - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 10, - 1, - 14, - 1.5 - ] - }, - "filter": [ - "all", - [ - "in", - "nth_line", - 5, - 10 - ], - [ - "!has", - "glacier" - ] - ] - }, - { - "id": "Glacier contour index", - "type": "line", - "source": "contours", - "source-layer": "contour", - "minzoom": 9, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsla(209, 85%, 73%, 0.8)", - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0.3, - 14, - 0.4, - 18, - 0.5 - ], - "line-width": { - "stops": [ - [ - 10, - 0.8 - ], - [ - 14, - 1.3 - ] - ] - } - }, - "filter": [ - "all", - [ - "in", - "nth_line", - 5, - 10 - ], - [ - "==", - "glacier", - 1 - ] - ] - }, - { - "id": "Contour", - "type": "line", - "source": "contours", - "source-layer": "contour", - "minzoom": 9, - "layout": { - "line-cap": "square", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(45, 38%, 50%)", - "line-opacity": [ - "step", - [ - "zoom" - ], - [ - "match", - [ - "get", - "nth_line" - ], - 0, - 0, - 0.3 - ], - 15, - 0.3 - ], - "line-width": 0.8 - }, - "filter": [ - "all", - [ - "!in", - "nth_line", - 5, - 10 - ], - [ - "!has", - "glacier" - ] - ] - }, - { - "id": "Glacier contour", - "type": "line", - "source": "contours", - "source-layer": "contour", - "minzoom": 9, - "layout": { - "line-cap": "square", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(209, 85%, 80%)", - "line-opacity": [ - "step", - [ - "zoom" - ], - [ - "match", - [ - "get", - "nth_line" - ], - 0, - 0, - 0.3 - ], - 15, - 0.3 - ], - "line-width": 0.8 - }, - "filter": [ - "all", - [ - "!in", - "nth_line", - 5, - 10 - ], - [ - "==", - "glacier", - 1 - ] - ] - }, - { - "id": "Cliff line", - "type": "line", - "source": "landform", - "source-layer": "cliff", - "minzoom": 13, - "layout": { - "line-join": "miter", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 9%, 55%)", - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 13, - 0.5, - 17, - 0.8 - ], - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 15, - 0.5, - 22, - 4 - ] - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "LineString" - ] - }, - { - "id": "Cliff", - "type": "line", - "source": "landform", - "source-layer": "cliff", - "minzoom": 13, - "layout": { - "line-join": "miter", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 9%, 55%)", - "line-dasharray": [ - 0.2, - 1 - ], - "line-offset": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 1.2, - 22, - 5 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 13, - 0.3, - 17, - 0.6 - ], - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 2, - 22, - 10 - ] - } - }, - { - "id": "Contour labels", - "type": "symbol", - "source": "contours", - "source-layer": "contour", - "minzoom": 12, - "layout": { - "symbol-avoid-edges": true, - "symbol-placement": "line", - "text-allow-overlap": false, - "text-field": "{height}", - "text-font": [ - "Open Sans Medium Italic", - "Noto Sans Medium Italic" - ], - "text-ignore-placement": false, - "text-padding": 1, - "text-rotation-alignment": "map", - "text-size": { - "base": 1, - "stops": [ - [ - 12, - 8 - ], - [ - 20, - 12 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(45, 38%, 31%)", - "icon-halo-color": "hsla(9, 0%, 100%, 0.8)", - "icon-halo-width": 0.8, - "icon-opacity": 0.8, - "text-color": "hsl(45, 38%, 25%)", - "text-halo-blur": 1, - "text-halo-color": "hsla(9, 0%, 100%, 0.6)", - "text-halo-width": 0.8, - "text-opacity": 0.8 - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - ">", - "height", - 0 - ], - [ - "in", - "nth_line", - 5, - 10 - ], - [ - "!has", - "glacier" - ] - ] - }, - { - "id": "Glacier contour labels", - "type": "symbol", - "source": "contours", - "source-layer": "contour", - "minzoom": 13, - "layout": { - "symbol-avoid-edges": true, - "symbol-placement": "line", - "text-allow-overlap": false, - "text-field": "{height}", - "text-font": [ - "Open Sans Medium Italic", - "Noto Sans Medium Italic" - ], - "text-ignore-placement": false, - "text-padding": 1, - "text-rotation-alignment": "map", - "text-size": { - "base": 1, - "stops": [ - [ - 12, - 8 - ], - [ - 20, - 12 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(209, 13%, 47%)", - "icon-halo-color": "hsla(9, 0%, 100%, 0.8)", - "icon-halo-width": 0.8, - "icon-opacity": 0.8, - "text-color": "hsl(209, 13%, 47%)", - "text-halo-blur": 1, - "text-halo-color": "hsla(9, 0%, 100%, 0.8)", - "text-halo-width": 0.8, - "text-opacity": 0.8 - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "nth_line", - 10, - 5 - ], - [ - ">", - "height", - 0 - ], - [ - "has", - "glacier" - ] - ] - }, - { - "id": "Ridge labels", - "type": "symbol", - "source": "landform", - "source-layer": "ridge_label", - "minzoom": 16, - "layout": { - "icon-keep-upright": true, - "symbol-placement": "line-center", - "text-anchor": "center", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium Italic", - "Noto Sans Medium Italic" - ], - "text-letter-spacing": 0.2, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 13, - 22, - 16 - ], - "visibility": "visible" - }, - "paint": { - "icon-halo-color": "rgba(255, 255, 255, 1)", - "icon-halo-width": 1, - "text-color": "hsl(11, 9%, 55%)", - "text-halo-color": "hsla(120, 4%, 95%, 0.5)", - "text-halo-width": 1 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "LineString" - ] - }, - { - "id": "Cliff labels", - "type": "symbol", - "source": "landform", - "source-layer": "cliff_label", - "minzoom": 16, - "layout": { - "icon-keep-upright": true, - "symbol-placement": "line-center", - "text-anchor": "bottom", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium Italic", - "Noto Sans Medium Italic" - ], - "text-letter-spacing": 0.2, - "text-line-height": 1.2, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 13, - 22, - 16 - ], - "visibility": "visible" - }, - "paint": { - "icon-halo-color": "rgba(255, 255, 255, 1)", - "icon-halo-width": 1, - "text-color": "hsl(11, 9%, 45%)", - "text-halo-color": "hsl(120, 4%, 95%)", - "text-halo-width": 1 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "LineString" - ] - }, - { - "id": "River tunnel", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "waterway", - "minzoom": 3, - "layout": { - "line-cap": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(215, 66%, 75%)", - "line-dasharray": [ - 2, - 4 - ], - "line-opacity": 0.7, - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 0, - 0.5, - 4, - 1, - 13, - 1.25, - 16, - 1.5, - 22, - 6 - ] - }, - "filter": [ - "==", - "brunnel", - "tunnel" - ] - }, - { - "id": "Stream", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "waterway", - "minzoom": 12, - "layout": { - "line-cap": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(215, 66%, 75%)", - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 12, - 0.5, - 16, - 1.5, - 22, - 2 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ], - [ - "match", - [ - "get", - "class" - ], - [ - "stream" - ], - true, - false - ] - ] - ] - }, - { - "id": "River", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "waterway", - "minzoom": 3, - "layout": { - "line-cap": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(215, 66%, 75%)", - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 0, - 0.5, - 4, - 1, - 13, - 1.25, - 16, - 1.5, - 22, - 6 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ], - [ - "match", - [ - "get", - "class" - ], - [ - "river" - ], - true, - false - ] - ] - ] - }, - { - "id": "Water", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "water", - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 6, - "hsl(215, 66%, 80%)", - 22, - "hsl(215, 66%, 75%)" - ], - "fill-opacity": [ - "match", - [ - "get", - "intermittent" - ], - 1, - 0.85, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Polygon" - ], - [ - "any", - [ - "==", - [ - "get", - "covered" - ], - false - ], - [ - "!", - [ - "has", - "covered" - ] - ] - ] - ] - }, - { - "id": "Reef", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "water", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(208, 66%, 82%)", - "fill-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 6, - 0.5, - 7, - 0.8 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Polygon" - ], - [ - "all", - [ - "any", - [ - "==", - [ - "get", - "covered" - ], - false - ], - [ - "!", - [ - "has", - "covered" - ] - ] - ], - [ - "match", - [ - "get", - "class" - ], - [ - "reef" - ], - true, - false - ] - ] - ] - }, - { - "id": "Airport area", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "aviation", - "minzoom": 9, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(9, 0%, 89%)", - "fill-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0.2, - 11, - 1 - ] - } - }, - { - "id": "Runway", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "aviation_line", - "minzoom": 9, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 85%, 100%)", - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0.2, - 11, - 1 - ], - "line-width": { - "base": 1.2, - "stops": [ - [ - 11, - 3 - ], - [ - 20, - 16 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "runway" - ], - true, - false - ] - ] - }, - { - "id": "Taxiway", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "aviation_line", - "minzoom": 11, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 85%, 100%)", - "line-width": { - "base": 1.2, - "stops": [ - [ - 11, - 0.5 - ], - [ - 20, - 6 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "taxiway" - ], - true, - false - ] - ] - }, - { - "id": "Ferry", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "ferry", - "minzoom": 6, - "layout": { - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(226, 42%, 69%)", - "line-dasharray": [ - 2, - 2 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 6, - 0.5, - 7, - 0.8, - 8, - 1 - ], - "line-width": { - "stops": [ - [ - 10, - 0.5 - ], - [ - 14, - 1.1 - ] - ] - } - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "LineString" - ] - }, - { - "id": "Tunnel path", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "pathway", - "minzoom": 13, - "layout": { - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsla(32, 48%, 24%, 0.3)", - "line-dasharray": [ - 2, - 2 - ], - "line-width": { - "base": 1.2, - "stops": [ - [ - 14, - 0.5 - ], - [ - 16, - 1 - ], - [ - 20, - 1.5 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "footway", - "path", - "pedestrian" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "tunnel" - ], - true, - false - ] - ] - ] - }, - { - "id": "Tunnel", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "road", - "minzoom": 5, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsla(9, 85%, 100%, 0.3)", - "line-width": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 5, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 0.5, - 0 - ], - 7, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 1, - 0 - ], - 9, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 2, - 0 - ], - 14, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 5, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 3, - 0.5 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 15, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 11, - 10 - ], - 18, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 16, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 12, - 11 - ], - 20, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 24, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 24, - 12 - ], - 22, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 100, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 80, - [ - "minor", - "service", - "raceway" - ], - 50, - 40 - ] - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "minor", - "motorway", - "primary", - "raceway", - "secondary", - "service", - "tertiary", - "trunk" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "tunnel" - ], - true, - false - ] - ] - ] - }, - { - "id": "Railway tunnel", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "railway", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 50%)", - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0, - 0.3 - ], - 15, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0.1, - 0.3 - ] - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 8, - 0.75, - 10, - 2, - 14, - 1.5, - 16, - 4 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "brunnel" - ], - [ - "tunnel" - ], - true, - false - ], - [ - "match", - [ - "get", - "class" - ], - [ - "narrow_gauge", - "rail" - ], - true, - false - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Railway tunnel dash", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "railway", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 96%)", - "line-dasharray": [ - "step", - [ - "zoom" - ], - [ - "literal", - [ - 2, - 2 - ] - ], - 9, - [ - "literal", - [ - 2.5, - 3 - ] - ] - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0, - 0.3 - ], - 15, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0.1, - 0.3 - ] - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 8, - 0, - 9, - 0.5, - 14, - 1, - 16, - 4 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "brunnel" - ], - [ - "tunnel" - ], - true, - false - ], - [ - "match", - [ - "get", - "class" - ], - [ - "narrow_gauge", - "rail" - ], - true, - false - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Bridge", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "bridge", - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-antialias": true, - "fill-color": "hsla(9, 0%, 95%, 0.5)", - "fill-outline-color": "hsla(9, 0%, 95%, 0.5)" - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Pier", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "pier", - "minzoom": 9, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-antialias": true, - "fill-color": "hsl(129, 3%, 95%)" - } - }, - { - "id": "Track outline", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "pathway", - "minzoom": 14, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(0, 0%, 70%)", - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - 0, - 16, - 4, - 18, - 8, - 20, - 17, - 22, - 52 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "track" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge", - "ford" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ] - ] - ] - }, - { - "id": "Minor road outline", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "road", - "minzoom": 14, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(0, 0%, 70%)", - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - 0, - 16, - 4, - 18, - 8, - 20, - 17, - 22, - 52 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "minor", - "raceway", - "service" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "ford" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Major road outline", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "road", - "minzoom": 9, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(0, 0%, 70%)", - "line-width": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 9, - [ - "match", - [ - "get", - "class" - ], - [ - "motorway" - ], - 3, - 0 - ], - 14, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 7, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 4, - 0 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 12, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 6, - 0 - ], - 18, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 14, - 7 - ], - 20, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 26, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 26, - 17 - ], - 22, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 104, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 82, - [ - "minor", - "service", - "raceway" - ], - 52, - 42 - ] - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "motorway", - "primary", - "secondary", - "tertiary", - "trunk" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "ford" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Track", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "pathway", - "minzoom": 12, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": [ - "case", - [ - "any", - [ - "==", - [ - "get", - "paved" - ], - false - ], - [ - "!", - [ - "has", - "paved" - ] - ] - ], - "hsl(0, 0%, 93%)", - "hsl(0,0%,100%)" - ], - "line-width": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 13, - 0.5, - 14, - 0.5, - 16, - 3, - 18, - 7, - 20, - 15, - 22, - 50 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "track" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge", - "ford" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ] - ] - ] - }, - { - "id": "Minor road", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "road", - "minzoom": 13, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 85%, 100%)", - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - 0.5, - 16, - 3, - 18, - 7, - 20, - 15, - 22, - 50 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "minor", - "raceway", - "service" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "ford" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Major road", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "road", - "minzoom": 5, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 85%, 100%)", - "line-width": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 5, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 0.5, - 0 - ], - 7, - [ - "match", - [ - "get", - "class" - ], - [ - "motorway", - "trunk" - ], - 1, - 0 - ], - 9, - [ - "match", - [ - "get", - "class" - ], - [ - "motorway", - "trunk" - ], - 2, - 0 - ], - 12, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 5, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 1, - 0 - ], - 13, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 5, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 2, - 0.5 - ], - 14, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 5, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 3, - 0.5 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 10, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 4.6, - 3 - ], - 18, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 12, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 5, - 7 - ], - 20, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 24, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 24, - 12 - ], - 22, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 100, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 80, - [ - "minor", - "service", - "raceway" - ], - 50, - 40 - ] - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "motorway", - "primary", - "secondary", - "tertiary", - "trunk" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "ford" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Major railway", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "railway", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 50%)", - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0, - 1 - ], - 15, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0.5, - 1 - ] - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 8, - 0.5, - 10, - 2, - 14, - 1.5, - 16, - 4 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "!", - [ - "has", - "brunnel" - ] - ], - [ - "match", - [ - "get", - "class" - ], - [ - "narrow_gauge", - "rail" - ], - true, - false - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Major railway dash", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "railway", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 96%)", - "line-dasharray": [ - "step", - [ - "zoom" - ], - [ - "literal", - [ - 2, - 2 - ] - ], - 9, - [ - "literal", - [ - 2.5, - 3 - ] - ] - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0, - 1 - ], - 15, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0.5, - 1 - ] - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 8, - 0, - 9, - 0.5, - 14, - 1, - 16, - 4 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "!", - [ - "has", - "brunnel" - ] - ], - [ - "match", - [ - "get", - "class" - ], - [ - "narrow_gauge", - "rail" - ], - true, - false - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Minor railway", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "railway", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 73%)", - "line-opacity": 1, - "line-width": { - "base": 1.4, - "stops": [ - [ - 14, - 0.4 - ], - [ - 15, - 0.75 - ], - [ - 20, - 2 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "light_rail", - "tram" - ], - true, - false - ], - [ - "!", - [ - "has", - "brunnel" - ] - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Minor railway hatching", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "railway", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 73%)", - "line-dasharray": [ - 0.2, - 4 - ], - "line-opacity": 1, - "line-width": { - "base": 1.4, - "stops": [ - [ - 14.5, - 0 - ], - [ - 15, - 2 - ], - [ - 20, - 6 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "light_rail", - "tram" - ], - true, - false - ], - [ - "!", - [ - "has", - "brunnel" - ] - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Steps", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "pathway", - "minzoom": 15, - "layout": { - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(33, 9%, 60%)", - "line-dasharray": [ - 0.5, - 1 - ], - "line-width": { - "base": 1.4, - "stops": [ - [ - 14.5, - 0 - ], - [ - 15, - 3 - ], - [ - 20, - 8 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "steps" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge", - "ford" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ] - ] - ] - }, - { - "id": "Path", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "pathway", - "minzoom": 12, - "layout": { - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(33, 9%, 60%)", - "line-dasharray": [ - 5, - 2 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1.2 - ], - [ - "zoom" - ], - 13, - 0.5, - 16, - 1, - 20, - 2 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "footway", - "path", - "pedestrian" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge", - "ford" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ], - [ - "==", - [ - "get", - "paved" - ], - false - ] - ] - ] - }, - { - "id": "Pedestrian outline", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "pathway", - "minzoom": 13, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 85%, 100%)", - "line-width": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 13, - 0.5, - 16, - 3, - 20, - 8 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "footway", - "path", - "pedestrian" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge", - "ford" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ], - [ - "==", - [ - "get", - "paved" - ], - true - ] - ] - ] - }, - { - "id": "Pedestrian", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "pathway", - "minzoom": 13, - "layout": { - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(33, 9%, 49%)", - "line-dasharray": [ - 1, - 1 - ], - "line-width": { - "base": 1.2, - "stops": [ - [ - 13, - 0.5 - ], - [ - 16, - 1.3 - ], - [ - 20, - 2 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "footway", - "path", - "pedestrian" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge", - "ford" - ], - true, - [ - "!", - [ - "has", - "brunnel" - ] - ] - ], - [ - "any", - [ - "==", - [ - "get", - "paved" - ], - true - ], - [ - "!", - [ - "has", - "paved" - ] - ] - ] - ] - ] - }, - { - "id": "Road bridge outline", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "road", - "minzoom": 5, - "layout": { - "line-cap": "butt", - "line-join": "round", - "line-sort-key": [ - "+", - [ - "*", - [ - "match", - [ - "get", - "class" - ], - [ - "trunk", - "primary" - ], - 10, - [ - "secondary", - "tertiary", - "minor" - ], - 20, - "motorway", - 30, - [ - "service", - "track" - ], - 40, - 0 - ], - 100 - ], - [ - "coalesce", - [ - "to-number", - [ - "get", - "layer" - ] - ], - 0 - ], - [ - "case", - [ - "boolean", - [ - "get", - "ramp" - ], - false - ], - 0.5, - 0 - ] - ], - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(0, 0%, 70%)", - "line-width": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 9, - [ - "match", - [ - "get", - "class" - ], - [ - "motorway" - ], - 3, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 0, - 0 - ], - 14, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 7, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 4, - 0 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 12, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 6, - 0 - ], - 18, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 14, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 7, - 7 - ], - 20, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 26, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 26, - 17 - ], - 22, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 104, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 82, - [ - "minor", - "service", - "track" - ], - 52, - 42 - ] - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "minor", - "motorway", - "primary", - "raceway", - "secondary", - "service", - "tertiary", - "trunk" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge" - ], - true, - false - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Road bridge", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "road", - "minzoom": 5, - "layout": { - "line-cap": "round", - "line-join": "round", - "line-sort-key": [ - "+", - [ - "*", - [ - "match", - [ - "get", - "class" - ], - [ - "trunk", - "primary" - ], - 10, - [ - "secondary", - "tertiary", - "minor" - ], - 20, - "motorway", - 30, - [ - "service", - "track" - ], - 40, - 0 - ], - 100 - ], - [ - "coalesce", - [ - "to-number", - [ - "get", - "layer" - ] - ], - 0 - ], - [ - "case", - [ - "boolean", - [ - "get", - "ramp" - ], - false - ], - 0.5, - 0 - ] - ], - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 85%, 100%)", - "line-width": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 5, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 0.5, - 0 - ], - 7, - [ - "match", - [ - "get", - "class" - ], - [ - "motorway", - "trunk" - ], - 1, - 0 - ], - 9, - [ - "match", - [ - "get", - "class" - ], - [ - "motorway", - "trunk" - ], - 2, - 0 - ], - 12, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 5, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 1, - 0 - ], - 13, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 5, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 2, - 0.5 - ], - 14, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 5, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 3, - 0.5 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 10, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 4.6, - 3 - ], - 18, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 12, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 5, - 7 - ], - 20, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 24, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 24, - 15 - ], - 22, - [ - "match", - [ - "get", - "class" - ], - "motorway", - 100, - [ - "primary", - "trunk", - "secondary", - "tertiary" - ], - 80, - [ - "minor", - "service", - "raceway" - ], - 50, - 40 - ] - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "minor", - "motorway", - "primary", - "raceway", - "secondary", - "service", - "tertiary", - "trunk" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge" - ], - true, - false - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Minor railway bridge", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "railway", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 73%)", - "line-opacity": 1, - "line-width": { - "base": 1.4, - "stops": [ - [ - 14, - 0.4 - ], - [ - 15, - 0.75 - ], - [ - 20, - 2 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "light_rail", - "tram" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge" - ], - true, - false - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Minor railway bridge hatching", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "railway", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 73%)", - "line-dasharray": [ - 0.2, - 4 - ], - "line-opacity": 1, - "line-width": { - "base": 1.4, - "stops": [ - [ - 14.5, - 0 - ], - [ - 15, - 2 - ], - [ - 20, - 6 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "light_rail", - "tram" - ], - true, - false - ], - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge" - ], - true, - false - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Railway bridge", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "railway", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 50%)", - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0, - 1 - ], - 15, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0.5, - 1 - ] - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 8, - 0.5, - 10, - 2, - 14, - 1.5, - 16, - 4 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge" - ], - true, - false - ], - [ - "match", - [ - "get", - "class" - ], - [ - "narrow_gauge", - "rail" - ], - true, - false - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Railway bridge dash", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "railway", - "minzoom": 6, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 96%)", - "line-dasharray": [ - "step", - [ - "zoom" - ], - [ - "literal", - [ - 2, - 2 - ] - ], - 9, - [ - "literal", - [ - 2.5, - 3 - ] - ] - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0, - 1 - ], - 15, - [ - "match", - [ - "get", - "service" - ], - "yard", - 0.5, - 1 - ] - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 8, - 0, - 9, - 0.5, - 14, - 1, - 16, - 4 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "brunnel" - ], - [ - "bridge" - ], - true, - false - ], - [ - "match", - [ - "get", - "class" - ], - [ - "narrow_gauge", - "rail" - ], - true, - false - ], - [ - "any", - [ - "==", - [ - "get", - "construction" - ], - false - ], - [ - "!", - [ - "has", - "construction" - ] - ] - ] - ] - ] - }, - { - "id": "Military limit", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "military", - "minzoom": 10, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - "hsl(0, 26%, 62%)", - 16, - "hsl(0, 19%, 41%)" - ], - "line-dasharray": [ - 1, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 1, - 14, - 1.6, - 18, - 3, - 22, - 4 - ] - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Building", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "building", - "minzoom": 13, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-antialias": true, - "fill-color": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 13, - "hsl(9, 0%, 82%)", - 18, - "hsl(9, 0%, 52%)" - ], - "fill-outline-color": "hsl(9, 0%, 77%)" - } - }, - { - "id": "Building top", - "type": "fill", - "source": "maptiler_planet_v4", - "source-layer": "building", - "minzoom": 13, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-antialias": true, - "fill-color": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 13, - "hsl(9, 0%, 82%)", - 16, - "hsl(9, 0%, 72%)" - ], - "fill-outline-color": "hsl(9, 0%, 77%)", - "fill-translate": [ - "step", - [ - "zoom" - ], - [ - "literal", - [ - 0, - 0 - ] - ], - 16, - [ - "literal", - [ - -2, - -2 - ] - ] - ] - } - }, - { - "id": "Country border outline", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "country_border", - "layout": { - "line-cap": "round", - "line-join": "miter", - "visibility": "visible" - }, - "paint": { - "line-blur": 5, - "line-color": "hsl(16, 7%, 86%)", - "line-opacity": 1, - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 0, - 0.4, - 3, - 0.9, - 5, - 1, - 12, - 14, - 16, - 20 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "==", - [ - "get", - "maritime" - ], - false - ] - ] - }, - { - "id": "Trail outline", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 11, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": 3, - "visibility": "visible" - }, - "paint": { - "line-blur": 0.5, - "line-color": "hsl(9, 0%, 100%)", - "line-offset": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 11, - 0, - 14, - [ - "match", - [ - "get", - "color" - ], - "orange", - 0.25, - "purple", - 0.75, - "black", - 1.25, - "brown", - 1.75, - "blue", - 2.25, - "green", - 2.75, - "yellow", - 3.25, - 0 - ], - 18, - [ - "match", - [ - "get", - "color" - ], - "orange", - 1, - "purple", - 2, - "black", - 3, - "brown", - 4, - "blue", - 5, - "green", - 6, - "yellow", - 8, - 0 - ] - ], - "line-opacity": 1, - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 11, - [ - "case", - [ - "==", - [ - "get", - "color" - ], - null - ], - 0, - 2 - ], - 12, - [ - "case", - [ - "==", - [ - "get", - "color" - ], - null - ], - 1.5, - 3 - ], - 14, - [ - "case", - [ - "==", - [ - "get", - "color" - ], - null - ], - 2.5, - 4 - ], - 18, - [ - "case", - [ - "==", - [ - "get", - "color" - ], - null - ], - 4, - 8 - ] - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "all", - [ - "any", - [ - "!has", - "color" - ], - [ - "in", - "color", - "black", - "blue", - "brown", - "green", - "orange", - "purple", - "red" - ] - ], - [ - "in", - "class", - "foot", - "hiking" - ] - ] - ] - }, - { - "id": "Bicycle outline", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 11, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": 3, - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 100%)", - "line-offset": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 13, - 0, - 14, - -1, - 17, - -7 - ], - "line-opacity": [ - "step", - [ - "zoom" - ], - 0, - 6, - [ - "match", - [ - "get", - "network" - ], - [ - "icn", - "ncn" - ], - 1, - 0 - ], - 13, - 1 - ], - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 11, - 3, - 14, - 4, - 15, - 4.5, - 18, - 6 - ] - }, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "class", - "bicycle" - ], - [ - "!=", - "network", - "" - ] - ] - }, - { - "id": "Other trails", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 10, - "layout": { - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(33, 9%, 50%)", - "line-dasharray": [ - 5, - 2 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0, - 10, - 0.2, - 11, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1.2 - ], - [ - "zoom" - ], - 13, - 0.75, - 16, - 1, - 20, - 2 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "!has", - "color" - ], - [ - "!in", - "class", - "bicycle", - "horse", - "via_ferrata", - "wheelchair" - ] - ] - }, - { - "id": "Bicycle local", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 11, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": 3, - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(315, 68%, 64%)", - "line-dasharray": [ - 1.5, - 2 - ], - "line-offset": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 13, - 0, - 14, - -1, - 17, - -7 - ], - "line-opacity": 1, - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 0.5, - 14, - 2, - 18, - 3 - ] - }, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "class", - "bicycle" - ], - [ - "!in", - "network", - "icn", - "ncn", - "" - ] - ] - }, - { - "id": "Yellow trail", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 10, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": { - "stops": [ - [ - 9, - 1 - ], - [ - 14, - 3 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(58, 100%, 50%)", - "line-offset": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 0, - 14, - 3.25, - 18, - 8 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0, - 10, - 0.2, - 11, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 2, - 12, - 2.5, - 14, - 2, - 18, - 3 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "color", - "yellow" - ], - [ - "!=", - "class", - "bicycle" - ] - ] - }, - { - "id": "Green trail", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 10, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": 3, - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(104, 56%, 38%)", - "line-offset": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 0, - 14, - 2.75, - 18, - 6 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0, - 10, - 0.2, - 11, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 2, - 12, - 2.5, - 14, - 2, - 18, - 3 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "color", - "green" - ], - [ - "!=", - "class", - "bicycle" - ] - ] - }, - { - "id": "Blue trail", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 10, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": { - "stops": [ - [ - 9, - 2 - ], - [ - 14, - 3 - ] - ] - }, - "line-round-limit": 1.05, - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(226, 60%, 51%)", - "line-offset": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 0, - 14, - 2.25, - 18, - 5 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0, - 10, - 0.2, - 11, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 2, - 12, - 2.5, - 14, - 2, - 18, - 3 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "color", - "blue" - ], - [ - "!=", - "class", - "bicycle" - ] - ] - }, - { - "id": "Brown trail", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 10, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": 3, - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(35, 33%, 41%)", - "line-offset": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 0, - 14, - 1.75, - 18, - 4 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0, - 10, - 0.2, - 11, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 2, - 12, - 2.5, - 14, - 2, - 18, - 3 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "color", - "brown" - ], - [ - "!=", - "class", - "bicycle" - ] - ] - }, - { - "id": "Black trail", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 10, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": 3, - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 18%)", - "line-offset": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 0, - 14, - 1.25, - 18, - 3 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0, - 10, - 0.2, - 11, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 2, - 12, - 2.5, - 14, - 2, - 18, - 3 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "color", - "black" - ], - [ - "!=", - "class", - "bicycle" - ] - ] - }, - { - "id": "Purple trail", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 10, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": { - "stops": [ - [ - 9, - 8 - ], - [ - 14, - 3 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(290, 56%, 59%)", - "line-offset": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 0, - 14, - 0.75, - 18, - 2 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0, - 10, - 0.2, - 11, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 2, - 12, - 2.5, - 14, - 2, - 18, - 3 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "color", - "purple" - ], - [ - "!=", - "class", - "bicycle" - ] - ] - }, - { - "id": "Orange trail", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 10, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": { - "stops": [ - [ - 9, - 8 - ], - [ - 12, - 12 - ], - [ - 13, - 16 - ], - [ - 14, - 3 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(44, 85%, 49%)", - "line-offset": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 0, - 14, - 0.75, - 18, - 1 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0, - 10, - 0.2, - 11, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 2, - 12, - 2.5, - 14, - 2, - 18, - 3 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "color", - "orange" - ], - [ - "!=", - "class", - "bicycle" - ] - ] - }, - { - "id": "Red trail", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 10, - "layout": { - "line-cap": "round", - "line-join": "bevel", - "line-miter-limit": { - "stops": [ - [ - 9, - 1 - ], - [ - 14, - 3 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(19, 85%, 50%)", - "line-offset": 0, - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 0, - 10, - 0.2, - 11, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 2, - 12, - 2.5, - 14, - 2, - 18, - 3 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "color", - "red" - ], - [ - "!=", - "class", - "bicycle" - ] - ] - }, - { - "id": "Longdistance trail outline", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 5, - "layout": { - "line-cap": "round", - "line-join": "round", - "line-miter-limit": 3, - "visibility": "visible" - }, - "paint": { - "line-color": "hsla(9, 85%, 100%, 0.75)", - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 5, - 0, - 8, - 2, - 14, - 4, - 18, - 8 - ] - }, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "network", - "iwn", - "nwn" - ], - [ - "has", - "ref" - ] - ] - }, - { - "id": "Longdistance trail", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 5, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": 3, - "visibility": "visible" - }, - "paint": { - "line-color": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 10, - "hsl(10, 68%, 56%)", - 14, - "hsl(10, 83%, 41%)" - ], - "line-opacity": 1, - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 5, - 0.5, - 8, - 1.5, - 10, - 2, - 12, - 2.5, - 14, - 2, - 18, - 3 - ] - }, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "network", - "iwn", - "nwn" - ], - [ - "has", - "ref" - ] - ] - }, - { - "id": "Via ferrata outline", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 12, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(19, 83%, 41%)", - "line-opacity": 1, - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 14, - 2, - 18, - 3 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "class", - "via_ferrata" - ] - ] - }, - { - "id": "Via ferrata", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 12, - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 85%, 100%)", - "line-dasharray": [ - 0.5, - 2 - ], - "line-opacity": 1, - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 14, - 2, - 18, - 3 - ] - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "class", - "via_ferrata" - ] - ] - }, - { - "id": "Via ferrata symbol", - "type": "symbol", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 16, - "layout": { - "icon-anchor": "bottom", - "symbol-placement": "line", - "symbol-spacing": 20, - "text-field": ".", - "text-font": [ - "Open Sans Bold", - "Noto Sans Bold" - ], - "text-size": 16, - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(19, 83%, 40%)", - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1 - }, - "filter": [ - "==", - "class", - "via_ferrata" - ] - }, - { - "id": "Bicycle longdistance", - "type": "line", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 5, - "layout": { - "line-cap": "round", - "line-join": "miter", - "line-miter-limit": 3, - "visibility": "visible" - }, - "paint": { - "line-color": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 10, - "hsl(316, 68%, 63%)", - 14, - "hsl(316, 85%, 63%)" - ], - "line-offset": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 13, - 0, - 14, - -1, - 17, - -7 - ], - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 5, - 0.5, - 8, - 1.5, - 10, - 2, - 12, - 2.5, - 14, - 2, - 18, - 3 - ] - }, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "network", - "icn", - "ncn" - ], - [ - "has", - "ref" - ] - ] - }, - { - "id": "Minor lift", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "aerialway", - "minzoom": 12, - "layout": { - "line-cap": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 60%)", - "line-width": { - "base": 1, - "stops": [ - [ - 11, - 1 - ], - [ - 19, - 2.5 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "chair_lift", - "mixed_lift", - "cable_car", - "gondola" - ], - false, - true - ] - ] - }, - { - "id": "Minor lift dash", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "aerialway", - "minzoom": 12, - "layout": { - "line-cap": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 60%)", - "line-dasharray": [ - 0.05, - 3 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 3, - 19, - 6 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "chair_lift", - "mixed_lift", - "cable_car", - "gondola" - ], - false, - true - ] - ] - }, - { - "id": "Chair lift", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "aerialway", - "minzoom": 12, - "layout": { - "line-cap": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 55%)", - "line-width": { - "base": 1, - "stops": [ - [ - 11, - 1 - ], - [ - 19, - 2.5 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "chair_lift", - "mixed_lift" - ], - true, - false - ] - ] - }, - { - "id": "Chair lift dash", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "aerialway", - "minzoom": 12, - "layout": { - "line-cap": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 55%)", - "line-dasharray": [ - 1, - 3 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 3, - 19, - 5 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "chair_lift", - "mixed_lift" - ], - true, - false - ] - ] - }, - { - "id": "Cable car", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "aerialway", - "minzoom": 12, - "layout": { - "line-cap": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(9, 0%, 45%)", - "line-width": { - "base": 1, - "stops": [ - [ - 11, - 1 - ], - [ - 19, - 2.5 - ] - ] - } - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "cable_car", - "gondola" - ], - true, - false - ] - ] - }, - { - "id": "Cable car dash", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "aerialway", - "minzoom": 12, - "layout": { - "line-cap": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(0, 0%, 45%)", - "line-dasharray": [ - 2, - 3 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 3, - 19, - 5 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "cable_car", - "gondola" - ], - true, - false - ] - ] - }, - { - "id": "Aerialway labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "aerialway_label", - "minzoom": 13, - "layout": { - "symbol-placement": "line", - "symbol-spacing": 250, - "text-anchor": "center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ], - [ - "get", - "ref" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.1, - "text-offset": [ - "match", - [ - "get", - "subclass" - ], - "ferry", - [ - "literal", - [ - 0, - 0.8 - ] - ], - "pedestrian", - [ - "literal", - [ - 0, - -0.1 - ] - ], - [ - "literal", - [ - 0, - 0.15 - ] - ] - ], - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 13, - [ - "match", - [ - "get", - "class" - ], - "track", - 12, - 10 - ], - 14, - [ - "match", - [ - "get", - "class" - ], - "track", - 13, - 11 - ], - 16, - 13 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(9, 0%, 30%)", - "text-halo-blur": 0, - "text-halo-color": "hsl(9, 85%, 100%)", - "text-halo-width": 1.5 - } - }, - { - "id": "Pathway labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "pathway_label", - "minzoom": 12, - "layout": { - "symbol-placement": "line", - "symbol-spacing": [ - "step", - [ - "zoom" - ], - 250, - 21, - 1000 - ], - "text-anchor": "center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Regular", - "Noto Sans Regular" - ], - "text-offset": [ - 0, - 0.15 - ], - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 13, - 10, - 14, - 11, - 16, - 13, - 22, - 15 - ], - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(9, 0%, 20%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsla(9, 85%, 100%, 0.9)", - "text-halo-width": 1.5 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "LineString" - ] - }, - { - "id": "Road labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "road_label", - "minzoom": 8, - "layout": { - "symbol-placement": "line", - "symbol-spacing": [ - "step", - [ - "zoom" - ], - 250, - 21, - 1000 - ], - "text-anchor": "center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Regular", - "Noto Sans Regular" - ], - "text-offset": [ - 0, - 0.15 - ], - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 13, - 10, - 14, - 11, - 16, - 13, - 22, - 15 - ], - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(9, 0%, 20%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsla(9, 85%, 100%, 0.9)", - "text-halo-width": 1.5 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "LineString" - ] - }, - { - "id": "Highway shield", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "road_label", - "minzoom": 12, - "layout": { - "icon-anchor": "center", - "icon-image": "road_{ref_length}", - "symbol-placement": "line", - "symbol-spacing": [ - "step", - [ - "zoom" - ], - 250, - 21, - 1000 - ], - "text-anchor": "center", - "text-field": "{ref}", - "text-font": [ - "Open Sans Semi Bold", - "Noto Sans Semi Bold" - ], - "text-offset": [ - 0, - 0.05 - ], - "text-rotation-alignment": "viewport", - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 6, - 9, - 14, - 10 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(0, 0%, 100%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(0, 0%, 45%)", - "icon-halo-width": 1, - "text-color": "hsl(0, 0%, 20%)", - "text-halo-blur": 0, - "text-halo-color": "hsl(0, 0%, 100%)", - "text-halo-width": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "network" - ], - [ - "ca-provincial", - "ca-provincial-arterial", - "ca-transcanada", - "gb-motorway", - "gb-primary", - "gb-trunk", - "ie-motorway", - "ie-national", - "ie-regional", - "road" - ], - true, - false - ], - [ - "match", - [ - "get", - "class" - ], - [ - "motorway", - "primary", - "trunk" - ], - true, - false - ], - [ - "match", - [ - "get", - "ref_length" - ], - [ - 0, - 1, - 2, - 3, - 4, - 5, - 6 - ], - true, - false - ] - ] - ] - }, - { - "id": "Highway shield (US)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "road_label", - "minzoom": 12, - "layout": { - "icon-anchor": "center", - "icon-image": [ - "concat", - [ - "get", - "network" - ], - "_", - [ - "get", - "ref_length" - ] - ], - "symbol-placement": "line", - "symbol-spacing": [ - "step", - [ - "zoom" - ], - 250, - 21, - 1000 - ], - "text-anchor": "center", - "text-field": "{ref}", - "text-font": [ - "Open Sans Semi Bold", - "Noto Sans Semi Bold" - ], - "text-offset": [ - 0, - 0.05 - ], - "text-rotation-alignment": "viewport", - "text-size": 10, - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(0, 0%, 100%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(0, 0%, 45%)", - "icon-halo-width": 1, - "text-color": "hsl(0, 0%, 20%)", - "text-halo-blur": 0, - "text-halo-color": "hsl(0, 0%, 100%)", - "text-halo-width": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "network" - ], - [ - "us-highway", - "us-interstate", - "us-state" - ], - true, - false - ], - [ - "match", - [ - "get", - "class" - ], - [ - "motorway", - "primary", - "trunk" - ], - true, - false - ], - [ - "match", - [ - "get", - "ref_length" - ], - [ - 0, - 1, - 2, - 3, - 4, - 5, - 6 - ], - true, - false - ] - ] - ] - }, - { - "id": "Other border z9", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "sub_border", - "minzoom": 9, - "maxzoom": 13, - "layout": { - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 3, - "hsl(16, 7%, 45%)", - 12, - "hsl(16, 7%, 65%)" - ], - "line-dasharray": [ - 5, - 1 - ], - "line-opacity": [ - "step", - [ - "zoom" - ], - 0, - 8, - [ - "case", - [ - "==", - [ - "get", - "admin_level" - ], - 50 - ], - 1, - 0 - ], - 10, - [ - "case", - [ - "<=", - [ - "get", - "admin_level" - ], - 60 - ], - 1, - 0 - ], - 11, - [ - "case", - [ - "<=", - [ - "get", - "admin_level" - ], - 70 - ], - 1, - 0 - ], - 12, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 4, - 0.3, - 5, - 0.6, - 12, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "admin_level" - ], - [ - 50, - 60, - 61, - 70, - 80, - 90, - 100, - 110 - ], - true, - false - ], - [ - "==", - [ - "get", - "maritime" - ], - false - ] - ] - ] - }, - { - "id": "Other border z7", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "sub_border", - "minzoom": 7, - "maxzoom": 13, - "layout": { - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 3, - "hsl(16, 7%, 45%)", - 12, - "hsl(16, 7%, 65%)" - ], - "line-dasharray": [ - 5, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 4, - 0.3, - 5, - 0.6, - 12, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "any", - [ - "==", - [ - "get", - "maritime" - ], - false - ], - [ - "!", - [ - "has", - "maritime" - ] - ] - ], - [ - "any", - [ - "==", - [ - "get", - "admin_level" - ], - 40 - ], - [ - "all", - [ - "in", - [ - "get", - "iso_a2" - ], - [ - "literal", - [ - "AR", - "US", - "FR" - ] - ] - ], - [ - "==", - [ - "get", - "admin_level" - ], - 50 - ] - ] - ] - ] - }, - { - "id": "Other border z3", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "sub_border", - "minzoom": 3, - "maxzoom": 13, - "layout": { - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 3, - "hsl(16, 7%, 45%)", - 12, - "hsl(16, 7%, 65%)" - ], - "line-dasharray": [ - 5, - 1 - ], - "line-opacity": [ - "step", - [ - "zoom" - ], - 0, - 3, - [ - "case", - [ - "==", - [ - "get", - "admin_level" - ], - 50 - ], - 0, - 1 - ], - 6, - 1 - ], - "line-width": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 4, - 0.3, - 5, - 0.6, - 12, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "any", - [ - "==", - [ - "get", - "maritime" - ], - false - ], - [ - "!", - [ - "has", - "maritime" - ] - ] - ], - [ - "any", - [ - "==", - [ - "get", - "admin_level" - ], - 30 - ], - [ - "all", - [ - "==", - [ - "get", - "iso_a2" - ], - "BR" - ], - [ - "==", - [ - "get", - "admin_level" - ], - 40 - ] - ], - [ - "all", - [ - "==", - [ - "get", - "iso_a2" - ], - "FR" - ], - [ - "==", - [ - "get", - "admin_level" - ], - 50 - ] - ] - ] - ] - }, - { - "id": "Disputed border", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "country_border_disputed", - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(16, 7%, 45%)", - "line-dasharray": [ - 2, - 2 - ], - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 4, - 0.6, - 6, - 1 - ], - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 0, - 0.4, - 3, - 0.9, - 5, - 1.3, - 12, - 3 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "==", - [ - "get", - "maritime" - ], - false - ] - ] - }, - { - "id": "Country border", - "type": "line", - "source": "maptiler_planet_v4", - "source-layer": "country_border", - "layout": { - "line-cap": "butt", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(16, 7%, 45%)", - "line-opacity": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 4, - 0.6, - 6, - 1 - ], - "line-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 0, - 0.4, - 3, - 0.9, - 5, - 1.3, - 12, - 3, - 15, - 3, - 16, - 4 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "==", - [ - "get", - "maritime" - ], - false - ] - ] - }, - { - "id": "Country border labels right", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "country_border", - "minzoom": 12, - "layout": { - "icon-keep-upright": true, - "symbol-placement": "line", - "symbol-spacing": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 12, - 250, - 16, - 500 - ], - "text-field": "{admin_r}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-ignore-placement": false, - "text-letter-spacing": 0.1, - "text-max-angle": 30, - "text-offset": [ - 0, - 0.7 - ], - "text-overlap": "never", - "text-pitch-alignment": "auto", - "text-rotation-alignment": "map", - "text-size": { - "stops": [ - [ - 6, - 11 - ], - [ - 16, - 14 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1, - "icon-opacity": 1, - "text-color": "hsl(16, 7%, 35%)", - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1, - "text-opacity": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "has", - "admin_r" - ], - [ - "has", - "admin_l" - ] - ] - }, - { - "id": "Country border labels left", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "country_border", - "minzoom": 12, - "layout": { - "icon-keep-upright": true, - "symbol-avoid-edges": false, - "symbol-placement": "line", - "symbol-spacing": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 12, - 250, - 16, - 500 - ], - "symbol-z-order": "auto", - "text-field": "{admin_l}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-ignore-placement": true, - "text-letter-spacing": 0.1, - "text-max-angle": 30, - "text-offset": [ - 0, - -0.7 - ], - "text-overlap": "never", - "text-pitch-alignment": "auto", - "text-rotation-alignment": "auto", - "text-size": { - "stops": [ - [ - 6, - 11 - ], - [ - 16, - 14 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1, - "icon-opacity": 1, - "text-color": "hsl(16, 7%, 35%)", - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1, - "text-opacity": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "has", - "admin_r" - ], - [ - "has", - "admin_l" - ] - ] - }, - { - "id": "River labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_label", - "minzoom": 13, - "layout": { - "symbol-placement": "line", - "symbol-spacing": 350, - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Medium Italic", - "Noto Sans Medium Italic" - ], - "text-letter-spacing": 0.1, - "text-max-width": 6, - "text-offset": [ - 0, - 0 - ], - "text-rotation-alignment": "map", - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 6, - 11, - 16, - 13 - ], - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(215, 56%, 45%)", - "text-halo-blur": 1.6, - "text-halo-color": "hsla(216, 85%, 96%, 0.85)", - "text-halo-width": 0.5 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "canal", - "river", - "stream" - ], - true, - false - ], - [ - "has", - "name" - ] - ] - ] - }, - { - "id": "Pond labels (points)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_centroid", - "minzoom": 14, - "layout": { - "icon-keep-upright": true, - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.1, - "text-max-width": 7, - "text-rotate": [ - "get", - "rotation" - ], - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 9, - 10, - 22, - 14 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(215, 56%, 45%)", - "text-halo-blur": 1, - "text-halo-color": "hsla(215, 66%, 75%, 0.5)", - "text-halo-width": 1.4, - "text-opacity": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "pond" - ], - true, - false - ], - [ - "all", - [ - "has", - "length" - ], - [ - "all", - [ - ">=", - [ - "get", - "length" - ], - 0 - ], - [ - "<=", - [ - "get", - "length" - ], - 2 - ] - ] - ] - ] - ] - }, - { - "id": "Pond labels (lines)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_label", - "minzoom": 9, - "layout": { - "symbol-placement": "line-center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.1, - "text-max-width": 6, - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 9, - 10, - 22, - 14 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(215, 56%, 45%)", - "text-halo-blur": 1, - "text-halo-color": "hsla(215, 66%, 75%, 0.5)", - "text-halo-width": 1.4, - "text-opacity": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "pond" - ], - true, - false - ], - [ - "all", - [ - "has", - "length" - ], - [ - "all", - [ - ">=", - [ - "get", - "length" - ], - 2 - ], - [ - "<=", - [ - "get", - "length" - ], - 15388 - ] - ] - ] - ] - ] - }, - { - "id": "Lake labels (points)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_centroid", - "minzoom": 14, - "layout": { - "icon-keep-upright": true, - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.1, - "text-max-width": 7, - "text-rotate": [ - "get", - "rotation" - ], - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 14, - 14, - 18, - 15 - ], - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(215, 56%, 45%)", - "text-halo-blur": 1.6, - "text-halo-color": "hsla(215, 66%, 75%, 0.5)", - "text-halo-width": 1.4 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "lake", - "reservoir" - ], - true, - false - ], - [ - "all", - [ - "has", - "ipq" - ], - [ - "all", - [ - ">=", - [ - "get", - "ipq" - ], - 50 - ], - [ - "<=", - [ - "get", - "ipq" - ], - 99 - ] - ] - ], - [ - "all", - [ - "has", - "length" - ], - [ - "all", - [ - ">=", - [ - "get", - "length" - ], - 0 - ], - [ - "<=", - [ - "get", - "length" - ], - 5 - ] - ] - ] - ] - ] - }, - { - "id": "Lake labels (lines)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_label", - "minzoom": 9, - "layout": { - "symbol-placement": "line-center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.1, - "text-max-width": 5, - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 13, - 14, - 15 - ], - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(215, 56%, 45%)", - "text-halo-blur": 1.6, - "text-halo-color": "hsla(215, 66%, 75%, 0.4)", - "text-halo-width": 1.4 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "lake", - "reservoir" - ], - true, - false - ], - [ - "has", - "ipq" - ], - [ - ">=", - [ - "get", - "ipq" - ], - 0 - ], - [ - "<=", - [ - "get", - "ipq" - ], - 50 - ], - [ - "all", - [ - "has", - "area" - ], - [ - "all", - [ - ">=", - [ - "get", - "area" - ], - 0 - ], - [ - "<=", - [ - "get", - "area" - ], - 299 - ] - ] - ] - ] - ] - }, - { - "id": "Lake labels major", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_label", - "minzoom": 5, - "layout": { - "symbol-placement": "line-center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.2, - "text-max-width": 5, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 6, - 12, - 9, - 14, - 14, - 16, - 22, - 20 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(215, 56%, 45%)", - "text-halo-blur": 1.6, - "text-halo-color": "hsla(215, 66%, 75%, 0.4)", - "text-halo-width": 1.4 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "lake", - "reservoir" - ], - true, - false - ], - [ - "has", - "ipq" - ], - [ - ">=", - [ - "get", - "ipq" - ], - 0 - ], - [ - "<=", - [ - "get", - "ipq" - ], - 50 - ], - [ - "all", - [ - "has", - "area" - ], - [ - "all", - [ - ">=", - [ - "get", - "area" - ], - 300 - ], - [ - "<=", - [ - "get", - "area" - ], - 4254074 - ] - ] - ] - ] - ] - }, - { - "id": "Ocean labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_centroid", - "maxzoom": 5, - "layout": { - "icon-keep-upright": true, - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.2, - "text-line-height": 1.2, - "text-max-width": 7, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 0, - 9, - 1, - 12, - 3, - 18 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 6, - "hsl(225, 40%, 61%)", - 10, - "hsl(223, 72%, 46%)" - ], - "text-halo-blur": 1.6, - "text-halo-color": "hsla(215, 85%, 85%, 0.4)", - "text-halo-width": 1.4, - "text-opacity": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "ocean" - ], - true, - false - ] - ] - }, - { - "id": "Tree", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "tree", - "minzoom": 17, - "layout": { - "icon-image": "park", - "icon-size": 0.8 - }, - "paint": { - "icon-color": "hsl(90, 19%, 71%)" - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Point" - ] - }, - { - "id": "Construction (point)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "construction", - "minzoom": 16, - "layout": { - "icon-allow-overlap": false, - "icon-anchor": "center", - "icon-image": "construction", - "icon-optional": false, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-font": [ - "Noto Sans Regular" - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(31, 29%, 70%)", - "icon-halo-color": "rgba(255, 255, 255, 1)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 15, - [ - "match", - [ - "get", - "class" - ], - [ - "restaurant" - ], - 1, - 0 - ], - 16, - 1 - ] - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Polygon" - ] - }, - { - "id": "Trail labels", - "type": "symbol", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 16, - "layout": { - "symbol-placement": "line", - "text-anchor": "center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Semi Bold", - "Noto Sans Semi Bold" - ], - "text-letter-spacing": 0, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - 10, - 16, - 11 - ], - "visibility": "visible" - }, - "paint": { - "icon-opacity": 1, - "text-color": [ - "match", - [ - "get", - "color" - ], - "red", - "hsl(19, 85%, 50%)", - "orange", - "hsl(44, 85%, 49%)", - "yellow", - "hsl(50, 100%, 40%)", - "green", - "hsl(104, 56%, 38%)", - "blue", - "hsl(226, 60%, 51%)", - "purple", - "hsl(290, 56%, 59%)", - "brown", - "hsl(35, 33%, 41%)", - "black", - "hsl(9, 0%, 18%)", - "hsl(0, 0%, 60%)" - ], - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 2, - "text-opacity": 1 - }, - "metadata": {}, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "color" - ], - [ - "black", - "blue", - "brown", - "green", - "orange", - "purple", - "red", - "yellow" - ], - true, - false - ], - [ - "match", - [ - "get", - "class" - ], - [ - "hiking" - ], - true, - false - ] - ] - ] - }, - { - "id": "Street furniture", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "street_furniture", - "minzoom": 17, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "match", - [ - "get", - "subclass" - ], - [ - "defibrillator", - "drinking_water", - "fountain", - "recycling", - "shower", - "toilets" - ], - [ - "get", - "subclass" - ], - "mountain_rescue", - "hospital", - [ - "water_point", - "water_tap" - ], - "water", - "" - ], - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-optional": true, - "text-size": { - "stops": [ - [ - 16, - 11 - ], - [ - 22, - 14 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "icon-color": [ - "match", - [ - "get", - "class" - ], - [ - "drinking_water", - "fountain", - "water_point", - "water_tap" - ], - "hsl(216, 49%, 49%)", - "hsl(34, 0%, 40%)" - ], - "icon-halo-blur": 0.5, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 0, - 17, - [ - "match", - [ - "get", - "class" - ], - [ - "mountain_rescue", - "fountain", - "toilets" - ], - 1, - 0 - ], - 18, - 1 - ], - "text-color": [ - "match", - [ - "get", - "class" - ], - [ - "drinking_water", - "fountain", - "water_point", - "water_tap" - ], - "hsl(216, 49%, 49%)", - "hsl(34, 0%, 40%)" - ], - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 17, - [ - "match", - [ - "get", - "class" - ], - [ - "mountain_rescue", - "fountain", - "toilets" - ], - 1, - 0 - ], - 18, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "subclass" - ], - [ - "defibrillator", - "drinking_water", - "fountain", - "mountain_rescue", - "recycling", - "shower", - "toilets", - "water_point", - "water_tap" - ], - true, - false - ] - ] - }, - { - "id": "Public", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_public", - "minzoom": 17, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "match", - [ - "get", - "subclass" - ], - [ - "atm", - "bank", - "bbq", - "bureau_de_change", - "fire_station", - "police", - "post_box", - "post_office", - "sauna", - "shelter" - ], - [ - "get", - "subclass" - ], - "parcel_locker", - "post", - "townhall", - "museum", - "" - ], - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-optional": true, - "text-size": { - "stops": [ - [ - 16, - 11 - ], - [ - 22, - 14 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(34, 0%, 40%)", - "icon-halo-blur": 0.5, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "text-color": "hsl(34, 0%, 40%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "subclass" - ], - [ - "atm", - "bank", - "bbq", - "bureau_de_change", - "fire_station", - "parcel_locker", - "police", - "post_box", - "post_office", - "sauna", - "shelter", - "townhall" - ], - true, - false - ] - ] - }, - { - "id": "Outdoor shop", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_shopping", - "minzoom": 17, - "layout": { - "icon-anchor": "bottom", - "icon-image": "outdoor", - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(35, 48%, 27%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "text-color": "hsl(35, 48%, 27%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "subclass" - ], - [ - "outdoor" - ], - true, - false - ] - ] - }, - { - "id": "Sport", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_sport", - "minzoom": 15, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "match", - [ - "get", - "class" - ], - [ - "table_tennis", - "american_football", - "archery", - "athletics", - "baseball", - "basketball", - "boxing", - "climbing", - "golf", - "pitch", - "playground", - "rugby", - "running", - "skateboard", - "soccer", - "sports_centre", - "stadium", - "swimming_pool", - "tennis", - "volleyball", - "yoga" - ], - [ - "get", - "class" - ], - "equestrian", - "horse_riding", - [ - "fitness", - "fitness_centre" - ], - "gym", - "football", - "soccer", - [ - "motor", - "multi" - ], - "", - [ - "rugby_league", - "rugby_union" - ], - "rugby", - "sports_hall", - "sports_centre", - [ - "swimming", - "swimming_area" - ], - "swimming_pool", - "" - ], - "symbol-sort-key": [ - "case", - [ - "==", - [ - "get", - "class" - ], - "stadium" - ], - 0, - [ - "to-number", - [ - "get", - "rank" - ] - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(9, 0%, 14%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 15, - [ - "match", - [ - "get", - "class" - ], - [ - "stadium", - "swimming", - "swimming_pool", - "water_park" - ], - 1, - 0 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "fitness_centre", - "golf", - "sports_centre", - "stadium", - "swimming", - "swimming_pool", - "water_park" - ], - 1, - 0 - ], - 17, - 1 - ], - "text-color": "hsl(9, 0%, 14%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 15, - [ - "match", - [ - "get", - "class" - ], - [ - "stadium", - "swimming", - "swimming_pool", - "water_park" - ], - 1, - 0 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "fitness_centre", - "golf", - "sports_centre", - "stadium", - "swimming", - "swimming_pool", - "water_park" - ], - 1, - 0 - ], - 17, - 1 - ] - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Point" - ] - }, - { - "id": "Outdoor water", - "type": "symbol", - "source": "outdoor", - "source-layer": "outdoor_poi", - "minzoom": 12, - "layout": { - "icon-anchor": "center", - "icon-image": [ - "match", - [ - "get", - "class" - ], - [ - "drinking_water", - "fountain", - "hot_spring", - "spring" - ], - [ - "get", - "class" - ], - "waterfall", - "triangle", - "" - ], - "icon-offset": [ - 0, - 0 - ], - "icon-optional": false, - "icon-rotate": [ - "match", - [ - "get", - "class" - ], - "waterfall", - 180, - 0 - ], - "icon-size": 0.75, - "icon-text-fit": "none", - "symbol-sort-key": [ - "match", - [ - "get", - "class" - ], - "waterfall", - 0, - 1 - ], - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": 10, - "text-optional": true, - "text-padding": 30, - "text-rotate": 0, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(216, 49%, 49%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 12, - [ - "match", - [ - "get", - "class" - ], - "waterfall", - 1, - 0 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "fountain", - "hot_spring", - "waterfall" - ], - 1, - 0 - ], - 17, - 1 - ], - "text-color": "hsl(216, 49%, 49%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 12, - [ - "match", - [ - "get", - "class" - ], - "waterfall", - 1, - 0 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "fountain", - "hot_spring", - "waterfall" - ], - 1, - 0 - ], - 17, - 1 - ], - "text-translate": [ - 0, - 7 - ] - }, - "filter": [ - "all", - [ - "==", - "$type", - "Point" - ], - [ - "in", - "class", - "drinking_water", - "fountain", - "hot_spring", - "spring", - "waterfall" - ] - ] - }, - { - "id": "Food", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_food", - "minzoom": 15, - "layout": { - "icon-allow-overlap": false, - "icon-anchor": "bottom", - "icon-image": [ - "coalesce", - [ - "image", - [ - "get", - "cuisine" - ] - ], - [ - "image", - [ - "get", - "class" - ] - ], - [ - "image", - "restaurant" - ] - ], - "icon-optional": false, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-optional": true, - "text-size": { - "stops": [ - [ - 16, - 11 - ], - [ - 22, - 14 - ] - ] - }, - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(34, 0%, 14%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 15, - [ - "match", - [ - "get", - "class" - ], - [ - "restaurant" - ], - 1, - 0 - ], - 16, - 1 - ], - "text-color": "hsl(34, 0%, 14%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 15, - 0, - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "restaurant" - ], - 1, - 0 - ], - 17, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "has", - "name" - ] - ] - }, - { - "id": "Transport", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_transport", - "minzoom": 15, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "coalesce", - [ - "image", - [ - "get", - "subclass" - ] - ], - [ - "image", - [ - "get", - "class" - ] - ], - [ - "image", - "" - ] - ], - "icon-offset": [ - 0, - 0 - ], - "icon-optional": false, - "icon-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - 0.8, - 22, - 1 - ], - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-line-height": 0.9, - "text-max-width": 10, - "text-offset": [ - 0, - 0 - ], - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(232, 61%, 33%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "fuel" - ], - 1, - 0 - ], - 17, - 1 - ], - "text-color": "hsl(232, 61%, 33%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "fuel" - ], - 1, - 0 - ], - 17, - 1 - ] - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Point" - ] - }, - { - "id": "Park labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_public", - "minzoom": 14, - "layout": { - "icon-anchor": "bottom", - "icon-image": "park", - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": 6, - "text-optional": true, - "text-padding": 30, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(108, 54%, 25%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "text-color": "hsl(108, 54%, 25%)", - "text-halo-blur": 0.2, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "match", - [ - "get", - "subclass" - ], - [ - "park" - ], - true, - false - ], - [ - "has", - "name" - ] - ] - ] - }, - { - "id": "Pharmacy", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_healthcare", - "minzoom": 15, - "layout": { - "icon-anchor": "center", - "icon-image": "hospital", - "icon-optional": false, - "symbol-sort-key": [ - "case", - [ - "==", - [ - "get", - "subclass" - ], - "hospital" - ], - 0, - [ - "to-number", - [ - "get", - "rank" - ] - ] - ], - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": 8, - "text-offset": [ - 0, - 0.8 - ], - "text-optional": true, - "text-padding": 2, - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(137, 79%, 28%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "text-color": "hsl(137, 79%, 28%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "pharmacy" - ], - true, - false - ] - ] - }, - { - "id": "Healthcare", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_healthcare", - "minzoom": 14, - "layout": { - "icon-anchor": "center", - "icon-image": [ - "match", - [ - "get", - "class" - ], - [ - "dentist", - "doctors", - "hospital", - "veterinary" - ], - [ - "get", - "class" - ], - "clinic", - "hospital", - "nursing_home", - "dot", - [ - "case", - [ - "has", - "class" - ], - "", - "dot" - ] - ], - "icon-optional": false, - "symbol-sort-key": [ - "case", - [ - "==", - [ - "get", - "class" - ], - "hospital" - ], - 0, - [ - "to-number", - [ - "get", - "rank" - ] - ] - ], - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": 8, - "text-offset": [ - 0, - 0.8 - ], - "text-optional": true, - "text-padding": 2, - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(2, 66%, 43%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 0, - 14, - [ - "match", - [ - "get", - "class" - ], - [ - "hospital" - ], - 1, - 0 - ], - 17, - 1 - ], - "text-color": "hsl(2, 66%, 43%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 14, - [ - "match", - [ - "get", - "class" - ], - [ - "hospital" - ], - 1, - 0 - ], - 17, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "clinic", - "dentist", - "doctors", - "hospital", - "nursing_home", - "veterinary" - ], - true, - [ - "!", - [ - "has", - "class" - ] - ] - ] - ] - }, - { - "id": "Accommodation", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_accommodation", - "layout": { - "icon-allow-overlap": false, - "icon-anchor": "bottom", - "icon-image": [ - "match", - [ - "get", - "class" - ], - [ - "bed_and_breakfast", - "camp_site", - "caravan_site", - "chalet", - "guest_house", - "hostel", - "hotel", - "motel" - ], - [ - "get", - "class" - ], - "apartment", - "lodging", - [ - "case", - [ - "has", - "class" - ], - "lodging", - "" - ] - ], - "icon-offset": [ - 0, - 0 - ], - "icon-optional": false, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(281, 46%, 37%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "text-color": "hsl(281, 46%, 37%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Point" - ] - }, - { - "id": "Outdoor minor", - "type": "symbol", - "source": "outdoor", - "source-layer": "outdoor_poi", - "minzoom": 16, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "match", - [ - "get", - "class" - ], - [ - "bench", - "observation_tower", - "picnic_site", - "shelter" - ], - [ - "get", - "class" - ], - "fireplace", - "campfire", - [ - "first_aid", - "mountain_rescue" - ], - "hospital", - "map", - "board", - "rental", - "", - "" - ], - "icon-optional": false, - "icon-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - 0.8, - 22, - 1 - ], - "symbol-sort-key": [ - "match", - [ - "get", - "class" - ], - "fireplace", - 0, - "picnic_site", - 0, - "observation_tower", - 0, - "shelter", - 0, - 1 - ], - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Semi Bold", - "Noto Sans Semi Bold" - ], - "text-max-width": 6, - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 12, - 22, - 16 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(35, 48%, 27%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 0, - 0, - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "first_aid", - "mountain_rescue", - "observation_tower", - "rental", - "shelter" - ], - 1, - 0 - ], - 17, - [ - "match", - [ - "get", - "class" - ], - [ - "bench" - ], - 0, - 1 - ], - 18, - 1 - ], - "text-color": "hsl(35, 48%, 27%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 0, - 0, - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "first_aid", - "mountain_rescue", - "observation_tower", - "rental", - "shelter" - ], - 1, - 0 - ], - 17, - [ - "match", - [ - "get", - "class" - ], - [ - "bench" - ], - 0, - 1 - ], - 18, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "bench", - "fireplace", - "first_aid", - "map", - "mountain_rescue", - "observation_tower", - "picnic_site", - "rental", - "shelter" - ], - true, - false - ] - ] - }, - { - "id": "Culture", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_culture", - "minzoom": 14, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "coalesce", - [ - "image", - [ - "get", - "subclass" - ] - ], - [ - "image", - [ - "get", - "class" - ] - ], - [ - "image", - "" - ] - ], - "icon-optional": false, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(281, 46%, 37%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "text-color": "hsl(281, 46%, 37%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 14, - [ - "match", - [ - "get", - "class" - ], - [ - "museum", - "place_of_worship" - ], - 1, - 0 - ], - 16, - 1 - ] - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Point" - ] - }, - { - "id": "Tourism", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_tourism", - "layout": { - "icon-allow-overlap": false, - "icon-anchor": "bottom", - "icon-image": [ - "match", - [ - "get", - "class" - ], - [ - "tower", - "mineshaft", - "manor", - "adit", - "alpine_hut", - "aquarium", - "attraction", - "information", - "ruins", - "theme_park", - "wilderness_hut", - "zoo" - ], - [ - "get", - "class" - ], - "mine_shaft", - "mineshaft", - "memorial", - "monument", - "viewpoint", - "viewpoint_direction", - [ - "case", - [ - "has", - "class" - ], - [ - "get", - "class" - ], - "dot" - ] - ], - "icon-offset": [ - 0, - 0 - ], - "icon-optional": false, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(281, 46%, 37%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 0, - 14, - [ - "match", - [ - "get", - "class" - ], - [ - "attraction", - "zoo" - ], - 1, - 0 - ], - 16, - 1 - ], - "text-color": "hsl(281, 46%, 37%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 14, - [ - "match", - [ - "get", - "class" - ], - [ - "attraction", - "zoo" - ], - 1, - 0 - ], - 16, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "adit", - "alpine_hut", - "aquarium", - "attraction", - "information", - "manor", - "memorial", - "mine_shaft", - "mineshaft", - "ruins", - "theme_park", - "tower", - "viewpoint", - "wilderness_hut", - "zoo" - ], - true, - [ - "!", - [ - "has", - "class" - ] - ] - ] - ] - }, - { - "id": "Outdoor", - "type": "symbol", - "source": "outdoor", - "source-layer": "outdoor_poi", - "minzoom": 13, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "match", - [ - "get", - "class" - ], - [ - "board", - "camp_site", - "castle", - "fortress", - "guidepost", - "hut", - "monument", - "ruins" - ], - [ - "get", - "class" - ], - "cave_entrance", - "square", - "memorial", - "statue", - "" - ], - "icon-optional": false, - "icon-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - 0.8, - 22, - 1 - ], - "symbol-sort-key": [ - "match", - [ - "get", - "class" - ], - "camp_site", - 0, - "guidepost", - 0, - "hut", - 0, - "cave_entrance", - 0, - 1 - ], - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Semi Bold", - "Noto Sans Semi Bold" - ], - "text-max-width": 6, - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 12, - 22, - 16 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(35, 48%, 27%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 0, - 0, - 13, - [ - "match", - [ - "get", - "class" - ], - [ - "guidepost" - ], - 1, - 0 - ], - 14, - [ - "match", - [ - "get", - "class" - ], - [ - "castle", - "guidepost", - "fortress", - "hut", - "ruins" - ], - 1, - 0 - ], - 15, - [ - "match", - [ - "get", - "class" - ], - [ - "castle", - "cave_entrance", - "guidepost", - "fortress", - "hut", - "ruins" - ], - 1, - 0 - ], - 16, - 1 - ], - "text-color": "hsl(35, 48%, 27%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 0, - 0, - 13, - [ - "match", - [ - "get", - "class" - ], - [ - "guidepost" - ], - 1, - 0 - ], - 14, - [ - "match", - [ - "get", - "class" - ], - [ - "castle", - "fortress", - "guidepost", - "ruins" - ], - 1, - 0 - ], - 15, - [ - "match", - [ - "get", - "class" - ], - [ - "castle", - "cave_entrance", - "guidepost", - "fortress", - "hut", - "ruins" - ], - 1, - 0 - ], - 17, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "board", - "camp_site", - "castle", - "cave_entrance", - "fortress", - "guidepost", - "hut", - "memorial", - "monument", - "ruins" - ], - true, - false - ] - ] - }, - { - "id": "Viewpoint", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_tourism", - "layout": { - "icon-allow-overlap": false, - "icon-anchor": "bottom", - "icon-image": "viewpoint_direction", - "icon-optional": false, - "icon-rotate": [ - "get", - "direction" - ], - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-line-height": 0.9, - "text-offset": [ - "case", - [ - "all", - [ - ">=", - [ - "get", - "direction" - ], - 90 - ], - [ - "<=", - [ - "get", - "direction" - ], - 350 - ] - ], - [ - "literal", - [ - 0, - 2 - ] - ], - [ - "literal", - [ - 0, - 0 - ] - ] - ], - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(281, 46%, 37%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "text-color": "hsl(281, 46%, 37%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "tower", - "viewpoint" - ], - true, - false - ] - ] - ] - }, - { - "id": "Information", - "type": "symbol", - "source": "outdoor", - "source-layer": "outdoor_poi", - "minzoom": 13, - "layout": { - "icon-anchor": "bottom", - "icon-image": "information", - "icon-optional": false, - "icon-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 14, - 0.8, - 22, - 1 - ], - "symbol-sort-key": [ - "match", - [ - "get", - "class" - ], - "camp_site", - 0, - "guidepost", - 0, - "info_office", - 0, - "hut", - 0, - "cave_entrance", - 0, - 1 - ], - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Semi Bold", - "Noto Sans Semi Bold" - ], - "text-max-width": 6, - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 12, - 22, - 16 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(150, 49%, 33%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 0, - 0, - 13, - [ - "match", - [ - "get", - "class" - ], - [ - "guidepost" - ], - 1, - 0 - ], - 14, - [ - "match", - [ - "get", - "class" - ], - [ - "info_office", - "cave_entrance", - "guidepost", - "fortress", - "hut", - "ruins" - ], - 1, - 0 - ], - 15, - [ - "match", - [ - "get", - "class" - ], - [ - "info_office", - "camp_site", - "cave_entrance", - "fortress", - "guidepost", - "hut", - "ruins", - "memorial", - "monument" - ], - 1, - 0 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "camp_site", - "cave_entrance", - "first_aid", - "fortress", - "guidepost", - "hut", - "info_office", - "memorial", - "monument", - "mountain_rescue", - "rental", - "ruins", - "shelter" - ], - 1, - 0 - ], - 17, - [ - "match", - [ - "get", - "class" - ], - [ - "bench" - ], - 0, - 1 - ], - 18, - 1 - ], - "text-color": "hsl(150, 49%, 33%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 0, - 0, - 13, - [ - "match", - [ - "get", - "class" - ], - [ - "guidepost" - ], - 1, - 0 - ], - 14, - [ - "match", - [ - "get", - "class" - ], - [ - "info_office", - "cave_entrance", - "fortress", - "guidepost", - "ruins" - ], - 1, - 0 - ], - 15, - [ - "match", - [ - "get", - "class" - ], - [ - "info_office", - "camp_site", - "cave_entrance", - "fortress", - "guidepost", - "hut", - "ruins", - "memorial", - "monument", - "viewpoint" - ], - 1, - 0 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "camp_site", - "cave_entrance", - "first_aid", - "fortress", - "guidepost", - "hut", - "info_office", - "memorial", - "monument", - "mountain_rescue", - "rental", - "ruins", - "shelter" - ], - 1, - 0 - ], - 17, - [ - "match", - [ - "get", - "class" - ], - [ - "board" - ], - 0, - 1 - ], - 18, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "info_office" - ], - true, - false - ] - ] - }, - { - "id": "Station", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_station", - "minzoom": 12, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "coalesce", - [ - "image", - [ - "get", - "subclass" - ] - ], - [ - "image", - [ - "get", - "class" - ] - ], - [ - "image", - "bus_stop" - ] - ], - "icon-offset": [ - 0, - 0 - ], - "icon-optional": false, - "icon-size": 1, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-line-height": 0.9, - "text-max-width": 10, - "text-offset": [ - 0, - 0.2 - ], - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 14, - [ - "match", - [ - "get", - "class" - ], - "railway", - 11, - 10 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - "railway", - 13, - 11 - ], - 22, - [ - "match", - [ - "get", - "class" - ], - "railway", - 16, - 14 - ] - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(232, 67%, 44%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 12, - [ - "match", - [ - "get", - "subclass" - ], - "station", - 1, - 0 - ], - 14, - [ - "match", - [ - "get", - "subclass" - ], - [ - "station", - "bus_station", - "bus_stop", - "subway", - "tram_stop" - ], - 1, - 0 - ], - 15, - 1 - ], - "text-color": "hsl(232, 67%, 44%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 85%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 12, - [ - "match", - [ - "get", - "subclass" - ], - "station", - 1, - 0 - ], - 16, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "bus", - "railway" - ], - true, - false - ] - ] - }, - { - "id": "Aerialway station (US)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_station", - "minzoom": 12, - "layout": { - "icon-anchor": "bottom", - "icon-image": "aerialway", - "icon-offset": [ - 0, - 0 - ], - "icon-optional": false, - "icon-padding": 2, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "top", - "text-field": [ - "step", - [ - "zoom" - ], - [ - "get", - "name" - ], - 15, - [ - "case", - [ - "has", - "ele_ft" - ], - [ - "concat", - [ - "get", - "name" - ], - "\n", - [ - "get", - "ele_ft" - ], - " ft" - ], - [ - "get", - "name" - ] - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-line-height": 1.2, - "text-max-width": 10, - "text-offset": [ - 0, - 0.2 - ], - "text-optional": true, - "text-padding": 2, - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 14, - 10, - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(0, 0%, 35%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 85%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 12, - [ - "case", - [ - "has", - "name" - ], - 1, - 0 - ], - 14, - 1 - ], - "text-color": "hsl(0, 0%, 35%)", - "text-halo-blur": 0, - "text-halo-color": "hsl(9, 85%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 12, - [ - "case", - [ - "has", - "name" - ], - 1, - 0 - ], - 14, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "aerialway" - ], - true, - false - ], - [ - "match", - [ - "get", - "customary_units" - ], - [ - "ft" - ], - true, - false - ] - ] - }, - { - "id": "Aerialway station", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_station", - "minzoom": 12, - "layout": { - "icon-anchor": "bottom", - "icon-image": "aerialway", - "icon-offset": [ - 0, - 0 - ], - "icon-optional": false, - "icon-padding": 2, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "top", - "text-field": [ - "step", - [ - "zoom" - ], - [ - "get", - "name" - ], - 15, - [ - "case", - [ - "has", - "ele" - ], - [ - "concat", - [ - "get", - "name" - ], - "\n", - [ - "get", - "ele" - ], - " m" - ], - [ - "get", - "name" - ] - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-line-height": 1.2, - "text-max-width": 10, - "text-offset": [ - 0, - 0.2 - ], - "text-optional": true, - "text-padding": 2, - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 14, - 10, - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(0, 0%, 35%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 85%, 100%)", - "icon-halo-width": 1.5, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 12, - [ - "case", - [ - "has", - "name" - ], - 1, - 0 - ], - 14, - 1 - ], - "text-color": "hsl(0, 0%, 35%)", - "text-halo-blur": 0, - "text-halo-color": "hsl(9, 85%, 100%)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 12, - [ - "case", - [ - "has", - "name" - ], - 1, - 0 - ], - 14, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "aerialway" - ], - true, - false - ], - [ - "match", - [ - "get", - "customary_units" - ], - [ - "m" - ], - true, - [ - "!", - [ - "has", - "customary_units" - ] - ] - ] - ] - ] - }, - { - "id": "Castle", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_tourism", - "minzoom": 13, - "layout": { - "icon-anchor": "bottom", - "icon-image": "castle", - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": "{name}", - "text-font": [ - "Open Sans Semi Bold", - "Noto Sans Semi Bold" - ], - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(35, 48%, 27%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "text-color": "hsl(35, 48%, 27%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5 - }, - "filter": [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "castle" - ], - true, - false - ], - [ - "==", - [ - "geometry-type" - ], - "Point" - ] - ] - }, - { - "id": "Volcano labels (US)", - "type": "symbol", - "source": "landform", - "source-layer": "volcano", - "minzoom": 9, - "layout": { - "icon-image": "triangle", - "icon-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 0.9, - 0.7 - ], - 14, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0.8 - ] - ], - "symbol-avoid-edges": true, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "top", - "text-field": [ - "step", - [ - "zoom" - ], - [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - 11, - [ - "concat", - [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "\n", - [ - "get", - "ele_ft" - ], - " ft" - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": { - "stops": [ - [ - 12, - 4 - ], - [ - 15, - 4 - ] - ] - }, - "text-offset": [ - 0, - 0.7 - ], - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 7, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 9, - 8 - ], - 11, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 10, - 9 - ], - 13, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 13, - 12 - ] - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(32, 100%, 40%)", - "icon-halo-blur": 0.2, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 0, - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0 - ], - 12, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1, - 0 - ], - 14, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 20 - ], - 1, - 0 - ], - 15, - 1 - ], - "text-color": "hsl(32, 100%, 40%)", - "text-halo-blur": { - "stops": [ - [ - 11, - 2 - ], - [ - 15, - 0 - ] - ] - }, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 1, - 14, - 1.5 - ], - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0 - ], - 12, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1, - 0 - ], - 14, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 20 - ], - 1, - 0 - ], - 15, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "has", - "name" - ], - [ - "match", - [ - "get", - "customary_units" - ], - [ - "ft" - ], - true, - false - ] - ] - ] - }, - { - "id": "Volcano labels", - "type": "symbol", - "source": "landform", - "source-layer": "volcano", - "minzoom": 9, - "layout": { - "icon-image": "triangle", - "icon-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 0.9, - 0.7 - ], - 14, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0.8 - ] - ], - "symbol-avoid-edges": true, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "top", - "text-field": [ - "step", - [ - "zoom" - ], - [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - 11, - [ - "concat", - [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "\n", - [ - "get", - "ele" - ], - " m" - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": { - "stops": [ - [ - 12, - 4 - ], - [ - 15, - 4 - ] - ] - }, - "text-offset": [ - 0, - 0.7 - ], - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 7, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 9, - 8 - ], - 11, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 10, - 9 - ], - 13, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 13, - 12 - ] - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(32, 100%, 40%)", - "icon-halo-blur": 0.2, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 0, - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0 - ], - 12, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1, - 0 - ], - 14, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 20 - ], - 1, - 0 - ], - 15, - 1 - ], - "text-color": "hsl(32, 100%, 40%)", - "text-halo-blur": { - "stops": [ - [ - 11, - 2 - ], - [ - 15, - 0 - ] - ] - }, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 1, - 14, - 1.5 - ], - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0 - ], - 12, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1, - 0 - ], - 14, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 20 - ], - 1, - 0 - ], - 15, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "has", - "name" - ], - [ - "match", - [ - "get", - "customary_units" - ], - [ - "m" - ], - true, - false - ] - ] - ] - }, - { - "id": "Peak labels (US)", - "type": "symbol", - "source": "landform", - "source-layer": "peak", - "minzoom": 9, - "layout": { - "icon-image": "triangle", - "icon-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 0.9, - 0.7 - ], - 14, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0.8 - ] - ], - "symbol-avoid-edges": true, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "top", - "text-field": [ - "step", - [ - "zoom" - ], - [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - 11, - [ - "concat", - [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "\n", - [ - "get", - "ele_ft" - ], - " ft" - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": { - "stops": [ - [ - 12, - 4 - ], - [ - 15, - 4 - ] - ] - }, - "text-offset": [ - 0, - 0.7 - ], - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 7, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 9, - 8 - ], - 11, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 10, - 9 - ], - 13, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 13, - 12 - ] - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(32, 48%, 24%)", - "icon-halo-blur": 0.2, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 0, - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0 - ], - 12, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1, - 0 - ], - 14, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 20 - ], - 1, - 0 - ], - 15, - 1 - ], - "text-color": "hsl(32, 48%, 24%)", - "text-halo-blur": { - "stops": [ - [ - 11, - 2 - ], - [ - 15, - 0 - ] - ] - }, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 1, - 14, - 1.5 - ], - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0 - ], - 12, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1, - 0 - ], - 14, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 20 - ], - 1, - 0 - ], - 15, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "has", - "name" - ], - [ - "match", - [ - "get", - "customary_units" - ], - [ - "ft" - ], - true, - false - ], - [ - "match", - [ - "get", - "worldview:ch" - ], - [ - "recognized" - ], - true, - [ - "!", - [ - "has", - "worldview:ch" - ] - ] - ] - ] - ] - }, - { - "id": "Peak labels", - "type": "symbol", - "source": "landform", - "source-layer": "peak", - "minzoom": 9, - "layout": { - "icon-image": "triangle", - "icon-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 0.9, - 0.7 - ], - 14, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0.8 - ] - ], - "symbol-avoid-edges": true, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "top", - "text-field": [ - "step", - [ - "zoom" - ], - [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - 11, - [ - "concat", - [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "\n", - [ - "get", - "ele" - ], - " m" - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": { - "stops": [ - [ - 12, - 4 - ], - [ - 15, - 4 - ] - ] - }, - "text-offset": [ - 0, - 0.7 - ], - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 7, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 9, - 8 - ], - 11, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 10, - 9 - ], - 13, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 13, - 12 - ] - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(32, 48%, 24%)", - "icon-halo-blur": 0.2, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 1, - 14, - 1.5 - ], - "icon-opacity": [ - "step", - [ - "zoom" - ], - 0, - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0 - ], - 12, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1, - 0 - ], - 14, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 20 - ], - 1, - 0 - ], - 15, - 1 - ], - "text-color": "hsl(32, 48%, 24%)", - "text-halo-blur": { - "stops": [ - [ - 11, - 2 - ], - [ - 15, - 0 - ] - ] - }, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 1, - 14, - 1.5 - ], - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 9, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0 - ], - 12, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1, - 0 - ], - 14, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 20 - ], - 1, - 0 - ], - 15, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "has", - "name" - ], - [ - "match", - [ - "get", - "customary_units" - ], - [ - "m" - ], - true, - false - ] - ] - ] - }, - { - "id": "Place labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "place_label", - "minzoom": 9, - "layout": { - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "center", - "text-field": "{name}", - "text-font": [ - "Open Sans Regular", - "Noto Sans Regular" - ], - "text-letter-spacing": [ - "match", - [ - "get", - "class" - ], - [ - "suburb", - "neighbourhood", - "quarter", - "island" - ], - 0.2, - 0 - ], - "text-max-width": [ - "match", - [ - "get", - "class" - ], - [ - "island" - ], - 6, - 8 - ], - "text-offset": [ - 0, - -0.2 - ], - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 11, - [ - "match", - [ - "get", - "class" - ], - [ - "suburb", - "neighbourhood", - "quarter", - "hamlet", - "isolated_dwelling" - ], - 9, - "island", - 8, - 12 - ], - 16, - [ - "match", - [ - "get", - "class" - ], - [ - "suburb", - "neighbourhood", - "quarter", - "hamlet", - "isolated_dwelling" - ], - 15, - "island", - 11, - 16 - ] - ], - "text-transform": [ - "match", - [ - "get", - "class" - ], - [ - "suburb", - "neighbourhood", - "quarter", - "island" - ], - "uppercase", - "none" - ], - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(9, 0%, 26%)", - "text-halo-blur": 0.1, - "text-halo-color": "hsla(9, 85%, 100%, 0.8)", - "text-halo-width": 1.2, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 8, - [ - "match", - [ - "get", - "class" - ], - [ - "island" - ], - 0, - 1 - ], - 9, - [ - "match", - [ - "get", - "class" - ], - [ - "island" - ], - 1, - 1 - ], - 18, - 0 - ] - }, - "filter": [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "hamlet", - "isolated_dwelling", - "neighbourhood", - "quarter", - "suburb" - ], - true, - [ - "!", - [ - "has", - "class" - ] - ] - ], - [ - "==", - [ - "geometry-type" - ], - "Point" - ] - ] - }, - { - "id": "Village labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "place_label", - "minzoom": 9, - "maxzoom": 17, - "layout": { - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "bottom", - "text-field": "{name}", - "text-font": [ - "Open Sans Regular", - "Noto Sans Regular" - ], - "text-letter-spacing": 0, - "text-max-width": 8, - "text-offset": [ - 0, - -0.2 - ], - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 11, - 12, - 16, - 18 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(249, 5%, 13%)", - "text-halo-color": "hsla(9, 85%, 100%, 0.8)", - "text-halo-width": 1.6 - }, - "filter": [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "village" - ], - true, - false - ], - [ - "==", - [ - "geometry-type" - ], - "Point" - ] - ] - }, - { - "id": "Airport labels (US)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_station", - "minzoom": 8, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "match", - [ - "get", - "class" - ], - "international", - "airport", - [ - "case", - [ - "has", - "class" - ], - "airfield", - "" - ] - ], - "icon-offset": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - [ - "match", - [ - "get", - "class" - ], - "other", - [ - "literal", - [ - 0, - 0 - ] - ], - [ - "literal", - [ - 0, - 0 - ] - ] - ], - 12, - [ - "match", - [ - "get", - "class" - ], - "other", - [ - "literal", - [ - 0, - 0 - ] - ], - [ - "literal", - [ - 0, - 0 - ] - ] - ] - ], - "icon-padding": 2, - "icon-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 8, - [ - "case", - [ - "==", - [ - "get", - "class" - ], - "other" - ], - 0.5, - 0.6 - ], - 16, - [ - "case", - [ - "==", - [ - "get", - "class" - ], - "other" - ], - 1.3, - 1.5 - ] - ], - "text-anchor": "top", - "text-field": [ - "step", - [ - "zoom" - ], - " ", - 8.99, - " ", - 9, - [ - "coalesce", - [ - "get", - "iata" - ], - [ - "get", - "icao" - ], - [ - "get", - "name" - ] - ], - 12, - [ - "get", - "name" - ], - 13, - [ - "case", - [ - "has", - "ele_ft" - ], - [ - "concat", - [ - "get", - "name" - ], - "\n", - [ - "get", - "ele_ft" - ], - " ft" - ], - [ - "get", - "name" - ] - ] - ], - "text-font": [ - "Open Sans Regular", - "Noto Sans Regular" - ], - "text-line-height": 1.2, - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 9, - 12, - 11, - 14, - 13 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(36, 82%, 14%)", - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 8, - [ - "match", - [ - "get", - "class" - ], - [ - "international", - "regional" - ], - 1, - 0 - ], - 11, - 1 - ], - "text-color": "hsl(36, 82%, 14%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 85%, 100%)", - "text-halo-width": 1, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 8, - [ - "match", - [ - "get", - "class" - ], - [ - "international", - "regional" - ], - 1, - 0 - ], - 11, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "class" - ], - [ - "aerodrome" - ], - true, - false - ], - [ - "match", - [ - "get", - "customary_units" - ], - [ - "ft" - ], - true, - false - ] - ] - }, - { - "id": "Airport labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "poi_station", - "minzoom": 8, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "match", - [ - "get", - "class" - ], - "international", - "airport", - [ - "case", - [ - "has", - "class" - ], - "airfield", - "" - ] - ], - "icon-offset": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - [ - "match", - [ - "get", - "class" - ], - "other", - [ - "literal", - [ - 0, - 0 - ] - ], - [ - "literal", - [ - 0, - 0 - ] - ] - ], - 12, - [ - "match", - [ - "get", - "class" - ], - "other", - [ - "literal", - [ - 0, - 0 - ] - ], - [ - "literal", - [ - 0, - 0 - ] - ] - ] - ], - "icon-padding": 2, - "icon-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 8, - [ - "case", - [ - "==", - [ - "get", - "class" - ], - "other" - ], - 0.5, - 0.6 - ], - 16, - [ - "case", - [ - "==", - [ - "get", - "class" - ], - "other" - ], - 1.3, - 1.5 - ] - ], - "text-anchor": "top", - "text-field": [ - "step", - [ - "zoom" - ], - " ", - 8.99, - " ", - 9, - [ - "coalesce", - [ - "get", - "iata" - ], - [ - "get", - "icao" - ], - [ - "get", - "name" - ] - ], - 12, - [ - "get", - "name" - ], - 13, - [ - "case", - [ - "has", - "ele" - ], - [ - "concat", - [ - "get", - "name" - ], - "\n", - [ - "get", - "ele" - ], - " m" - ], - [ - "get", - "name" - ] - ] - ], - "text-font": [ - "Open Sans Regular", - "Noto Sans Regular" - ], - "text-line-height": 1.2, - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 10, - 9, - 12, - 11, - 14, - 13 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(36, 82%, 14%)", - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1, - "icon-opacity": [ - "step", - [ - "zoom" - ], - 1, - 8, - [ - "match", - [ - "get", - "class" - ], - [ - "international", - "regional" - ], - 1, - 0 - ], - 11, - 1 - ], - "text-color": "hsl(36, 82%, 14%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 85%, 100%)", - "text-halo-width": 1, - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 8, - [ - "match", - [ - "get", - "class" - ], - [ - "international", - "regional" - ], - 1, - 0 - ], - 11, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "aerodrome" - ], - true, - false - ], - [ - "match", - [ - "get", - "customary_units" - ], - [ - "m" - ], - true, - [ - "!", - [ - "has", - "customary_units" - ] - ] - ] - ] - ] - }, - { - "id": "Longdistance trail labels", - "type": "symbol", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 11, - "layout": { - "symbol-placement": "line", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 12, - 10, - 14, - 11, - 16, - 13 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(19, 83%, 41%)", - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 2, - "text-color": "hsl(19, 83%, 41%)", - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 2 - }, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "network", - "iwn", - "nwn" - ], - [ - "has", - "ref" - ] - ] - }, - { - "id": "Bicycle longdistance labels", - "type": "symbol", - "source": "outdoor", - "source-layer": "trail", - "minzoom": 11, - "layout": { - "symbol-placement": "line", - "text-anchor": "center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-offset": [ - 0, - 0.2 - ], - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 12, - 10, - 14, - 11, - 16, - 13 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(315, 68%, 64%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 2, - "text-color": "hsl(315, 68%, 64%)", - "text-halo-blur": 0, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 2 - }, - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "network", - "icn", - "ncn" - ], - [ - "has", - "ref" - ] - ] - }, - { - "id": "Saddle", - "type": "symbol", - "source": "landform", - "source-layer": "saddle", - "minzoom": 17, - "layout": { - "icon-anchor": "bottom", - "icon-image": [ - "match", - [ - "get", - "class" - ], - "mountain_pass", - "triangle", - "saddle", - "dot", - [ - "case", - [ - "has", - "class" - ], - "dot", - "" - ] - ], - "icon-rotate": [ - "match", - [ - "get", - "class" - ], - "mountain_pass", - 180, - 0 - ], - "icon-size": 0.8, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-allow-overlap": false, - "text-anchor": "top", - "text-field": [ - "step", - [ - "zoom" - ], - [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - 11, - [ - "concat", - [ - "case", - [ - "any", - [ - "has", - "name:en" - ], - [ - "has", - "name" - ] - ], - [ - "concat", - [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "\n" - ], - "" - ], - [ - "get", - "ele" - ], - " m" - ] - ], - "text-font": [ - "Open Sans Medium Italic", - "Noto Sans Medium Italic" - ], - "text-max-width": 6, - "text-offset": [ - "match", - [ - "get", - "class" - ], - [ - "mountain_pass" - ], - [ - "literal", - [ - 0, - 1.2 - ] - ], - [ - "literal", - [ - 0, - 0 - ] - ] - ], - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 16, - 11, - 22, - 14 - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(35, 48%, 27%)", - "icon-halo-blur": 0.5, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.5, - "text-color": "hsl(35, 48%, 27%)", - "text-halo-blur": 0.5, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.5 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Point" - ] - }, - { - "id": "Protected area labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "protected_area_minor_label", - "minzoom": 11, - "maxzoom": 17, - "layout": { - "symbol-avoid-edges": true, - "symbol-placement": "point", - "symbol-spacing": 750, - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Bold", - "Noto Sans Bold" - ], - "text-ignore-placement": false, - "text-letter-spacing": 0.1, - "text-padding": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 0, - 30, - 16, - 200 - ], - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 11, - 10, - 14, - 12 - ], - "text-transform": "uppercase", - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(108, 54%, 25%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1.2, - "text-color": "hsl(108, 54%, 25%)", - "text-halo-blur": 0, - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.2 - } - }, - { - "id": "Town labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "town_label", - "minzoom": 6, - "maxzoom": 16, - "layout": { - "icon-anchor": "top", - "icon-image": "dot", - "icon-size": 0.7, - "symbol-sort-key": [ - "+", - [ - "case", - [ - "==", - [ - "get", - "capital" - ], - 20 - ], - -1000, - 0 - ], - [ - "to-number", - [ - "get", - "rank" - ] - ] - ], - "text-anchor": "bottom", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": 8, - "text-offset": [ - 0, - 0.1 - ], - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 6, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 12 - ], - 11, - 10 - ], - 9, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 15 - ], - 13, - 12 - ], - 16, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 15 - ], - 22, - 20 - ] - ], - "visibility": "visible" - }, - "paint": { - "icon-color": "hsl(9, 0%, 100%)", - "icon-halo-blur": 0, - "icon-halo-color": "hsl(9, 0%, 35%)", - "icon-halo-width": 1, - "text-color": "hsl(249, 5%, 13%)", - "text-halo-color": "hsla(9, 85%, 100%, 0.8)", - "text-halo-width": 1.6 - }, - "metadata": {}, - "filter": [ - "==", - [ - "geometry-type" - ], - "Point" - ] - }, - { - "id": "State labels z9", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "state_label", - "minzoom": 9, - "maxzoom": 11, - "layout": { - "symbol-sort-key": [ - "case", - [ - "has", - "iso3166" - ], - 1, - 2 - ], - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Semi Condensed Medium", - "Noto Sans Semi Condensed Medium" - ], - "text-letter-spacing": 0.1, - "text-max-width": 8, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 9, - 13, - 11, - 14 - ], - "text-transform": "uppercase", - "visibility": "visible" - }, - "paint": { - "icon-halo-blur": 0, - "icon-halo-color": "hsla(9, 85%, 100%, 0.85)", - "icon-halo-width": 1.5, - "text-color": "hsl(57, 3%, 30%)", - "text-halo-blur": 0, - "text-halo-color": "hsla(9, 85%, 100%, 0.8)", - "text-halo-width": 1.5 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "match", - [ - "get", - "admin_level" - ], - [ - 50 - ], - true, - false - ], - [ - "has", - "iso3166" - ] - ] - ] - }, - { - "id": "State labels z7", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "state_label", - "minzoom": 7, - "maxzoom": 9, - "layout": { - "symbol-sort-key": [ - "case", - [ - "has", - "iso3166" - ], - 1, - 2 - ], - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Semi Condensed Medium", - "Noto Sans Semi Condensed Medium" - ], - "text-letter-spacing": 0.1, - "text-max-width": 8, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 7, - 12, - 9, - 14 - ], - "text-transform": "uppercase", - "visibility": "visible" - }, - "paint": { - "icon-halo-blur": 0, - "icon-halo-color": "hsla(9, 85%, 100%, 0.85)", - "icon-halo-width": 1.5, - "text-color": "hsl(57, 3%, 30%)", - "text-halo-blur": 0, - "text-halo-color": "hsla(9, 85%, 100%, 0.8)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 2, - [ - "case", - [ - "all", - [ - "==", - [ - "get", - "iso_a2" - ], - "GB" - ], - [ - "==", - [ - "get", - "admin_level" - ], - 40 - ] - ], - 0, - 1 - ], - 6, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "any", - [ - "==", - [ - "get", - "admin_level" - ], - 40 - ], - [ - "all", - [ - "in", - [ - "get", - "iso_a2" - ], - [ - "literal", - [ - "AR", - "FR", - "US" - ] - ] - ], - [ - "==", - [ - "get", - "admin_level" - ], - 50 - ] - ] - ] - ] - }, - { - "id": "State labels z4", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "state_label", - "minzoom": 4, - "maxzoom": 7, - "layout": { - "symbol-sort-key": [ - "case", - [ - "has", - "iso3166" - ], - 1, - 2 - ], - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Semi Condensed Medium", - "Noto Sans Semi Condensed Medium" - ], - "text-letter-spacing": 0.1, - "text-max-width": 8, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 4, - 8, - 7, - 12, - 9, - 14 - ], - "text-transform": "uppercase", - "visibility": "visible" - }, - "paint": { - "icon-halo-blur": 0, - "icon-halo-color": "hsla(9, 85%, 100%, 0.85)", - "icon-halo-width": 1.5, - "text-color": "hsl(57, 3%, 30%)", - "text-halo-blur": 0, - "text-halo-color": "hsla(9, 85%, 100%, 0.8)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 2, - [ - "case", - [ - "all", - [ - "==", - [ - "get", - "iso_a2" - ], - "GB" - ], - [ - "==", - [ - "get", - "admin_level" - ], - 40 - ] - ], - 0, - [ - "==", - [ - "get", - "admin_level" - ], - 50 - ], - 0, - 1 - ], - 6, - [ - "case", - [ - "==", - [ - "get", - "admin_level" - ], - 40 - ], - 1, - [ - "==", - [ - "get", - "admin_level" - ], - 30 - ], - 1, - [ - "==", - [ - "get", - "admin_level" - ], - 50 - ], - 1, - 0 - ] - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "any", - [ - "all", - [ - "==", - [ - "get", - "admin_level" - ], - 30 - ], - [ - "!=", - [ - "get", - "iso_a2" - ], - "BR" - ] - ], - [ - "all", - [ - "==", - [ - "get", - "iso_a2" - ], - "BR" - ], - [ - "==", - [ - "get", - "admin_level" - ], - 40 - ] - ], - [ - "all", - [ - "==", - [ - "get", - "iso_a2" - ], - "FR" - ], - [ - "==", - [ - "get", - "admin_level" - ], - 50 - ] - ] - ] - ] - }, - { - "id": "State abbreviations", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "state_label", - "minzoom": 3, - "maxzoom": 4, - "layout": { - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-field": "{abbrev}", - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-letter-spacing": 0.1, - "text-max-width": 8, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 3, - 10, - 4, - 11 - ], - "text-transform": "uppercase", - "visibility": "visible" - }, - "paint": { - "icon-halo-blur": 0, - "icon-halo-color": "hsla(9, 85%, 100%, 0.85)", - "icon-halo-width": 1.5, - "text-color": "hsl(51, 3%, 44%)", - "text-halo-blur": 0, - "text-halo-color": "hsla(9, 85%, 100%, 0.85)", - "text-halo-width": 1.5, - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 3, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 3 - ], - 1, - 0 - ], - 8, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 0 - ], - 0, - 1 - ] - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "match", - [ - "get", - "iso_a2" - ], - [ - "RU" - ], - false, - true - ], - [ - "has", - "iso3166" - ] - ] - ] - }, - { - "id": "City labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "city_label", - "minzoom": 5, - "maxzoom": 16, - "layout": { - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": 8, - "text-padding": 2, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 5, - 12, - 7, - 16, - 9, - 22, - 11, - 24 - ], - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(255, 6%, 13%)", - "text-halo-color": "hsla(9, 85%, 100%, 0.8)", - "text-halo-width": 1.6, - "text-translate": [ - 0, - -2 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "capital" - ], - [ - 20 - ], - false, - true - ] - ] - }, - { - "id": "Protected area major labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "protected_area_major_label", - "minzoom": 4, - "maxzoom": 17, - "layout": { - "icon-keep-upright": true, - "symbol-placement": "line-center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Bold", - "Noto Sans Bold" - ], - "text-letter-spacing": 0.2, - "text-size": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 6, - 10, - 9, - 12, - 12, - 16 - ], - "text-transform": "uppercase", - "visibility": "visible" - }, - "paint": { - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1, - "text-color": "hsl(108, 54%, 25%)", - "text-halo-color": "hsl(9, 0%, 100%)", - "text-halo-width": 1.2 - } - }, - { - "id": "Capital city labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "city_label", - "minzoom": 4, - "maxzoom": 16, - "layout": { - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-anchor": "center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Medium", - "Noto Sans Medium" - ], - "text-max-width": 8, - "text-padding": 2, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 5, - 14, - 7, - 19, - 9, - 25, - 11, - 28 - ], - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(249, 5%, 13%)", - "text-halo-color": "hsla(9, 85%, 100%, 0.8)", - "text-halo-width": 1.6, - "text-translate": [ - 0, - -2 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "capital" - ], - [ - 20 - ], - true, - false - ] - ] - }, - { - "id": "Country labels disputed", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "country_disputed_label", - "minzoom": 3, - "maxzoom": 7, - "layout": { - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-field": "{name:en}", - "text-font": [ - "Open Sans Bold", - "Noto Sans Bold" - ], - "text-line-height": 1.2, - "text-max-width": [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 8.25, - 6.25 - ], - "text-padding": 0, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 3, - 9, - 4, - 14, - 7, - 18 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(9, 3%, 25%)", - "text-halo-blur": 1.6, - "text-halo-color": "hsla(9, 85%, 100%, 0.8)", - "text-halo-width": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "worldview:ch" - ], - [ - "recognized" - ], - true, - [ - "!", - [ - "has", - "worldview:ch" - ] - ] - ] - ] - }, - { - "id": "Country labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "country_label", - "minzoom": 2, - "maxzoom": 10, - "layout": { - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Bold", - "Noto Sans Bold" - ], - "text-line-height": 1.2, - "text-max-width": [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 8.25, - 6.25 - ], - "text-padding": 0, - "text-size": [ - "interpolate", - [ - "linear", - 1 - ], - [ - "zoom" - ], - 2, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 10, - 8 - ], - 3, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 12, - [ - ">=", - [ - "get", - "rank" - ], - 3 - ], - 10, - 9 - ], - 4, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 16, - [ - ">=", - [ - "get", - "rank" - ], - 3 - ], - 14, - 12 - ], - 7, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 22, - [ - ">=", - [ - "get", - "rank" - ], - 3 - ], - 18, - 16 - ] - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(9, 3%, 25%)", - "text-halo-blur": 1.6, - "text-halo-color": "hsla(9, 85%, 100%, 0.8)", - "text-halo-width": [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1.4, - 1 - ], - "text-opacity": [ - "step", - [ - "zoom" - ], - 1, - 2, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1, - 0 - ], - 3, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 1, - [ - ">=", - [ - "get", - "rank" - ], - 3 - ], - 1, - 0 - ], - 4, - 1, - 7, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 0, - 1 - ], - 8, - [ - "case", - [ - "<=", - [ - "get", - "rank" - ], - 2 - ], - 0, - [ - ">=", - [ - "get", - "rank" - ], - 3 - ], - 0, - 1 - ] - ] - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Point" - ] - }, - { - "id": "Archipelago labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "archipelago_label", - "minzoom": 3, - "maxzoom": 7, - "layout": { - "symbol-avoid-edges": false, - "symbol-placement": "line-center", - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "symbol-spacing": 100, - "symbol-z-order": "source", - "text-anchor": "center", - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-ignore-placement": false, - "text-letter-spacing": 0.2, - "text-max-width": 10, - "text-overlap": "never", - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 3, - 13, - 5, - 14 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "icon-halo-color": "rgba(255, 255, 255, 1)", - "icon-halo-width": 1, - "text-color": "hsl(51, 3%, 34%)", - "text-halo-color": "hsla(0, 0%, 100%, 0.4)", - "text-halo-width": 1, - "text-opacity": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "rank" - ], - [ - 1 - ], - true, - false - ], - [ - "match", - [ - "get", - "worldview:ch" - ], - [ - "recognized" - ], - true, - [ - "!", - [ - "has", - "worldview:ch" - ] - ] - ] - ] - ] - }, - { - "id": "Island labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "island_label", - "minzoom": 7, - "maxzoom": 11, - "layout": { - "icon-keep-upright": true, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Medium Italic", - "Noto Sans Medium Italic" - ], - "text-letter-spacing": 0.2, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 7, - 14, - 11, - 16 - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(51, 3%, 34%)", - "text-halo-color": "hsl(0, 0%, 100%)", - "text-halo-width": 1, - "text-opacity": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "match", - [ - "get", - "rank" - ], - [ - 5 - ], - true, - false - ] - ] - }, - { - "id": "Bay labels (lines)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_label", - "minzoom": 4, - "layout": { - "icon-keep-upright": true, - "symbol-placement": "line-center", - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.1, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 3, - 12, - 6, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 14, - 12 - ], - 8, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 18, - 16 - ] - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1, - "text-color": "hsl(216, 67%, 94%)", - "text-halo-color": "hsl(215, 66%, 80%)", - "text-halo-width": 1, - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 3, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0 - ], - 5, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "bay", - "reef", - "strait" - ], - true, - false - ], - [ - "match", - [ - "get", - "worldview:ch" - ], - [ - "recognized" - ], - true, - [ - "!", - [ - "has", - "worldview:ch" - ] - ] - ], - [ - "match", - [ - "get", - "name" - ], - [ - "Bay of Bengal", - "Golfe de Gascogne/Golfo de Vizcaya/Bay of Biscay", - "Golfo de México", - "Great Australian Bight", - "Gulf of America", - "Gulf of Guinea", - "Hudson Bay" - ], - false, - true - ] - ] - ] - }, - { - "id": "Bay labels (points)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_centroid", - "minzoom": 4, - "layout": { - "icon-keep-upright": true, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.1, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 3, - 12, - 6, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 14, - 12 - ], - 8, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 18, - 16 - ] - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "icon-halo-color": "hsl(9, 0%, 100%)", - "icon-halo-width": 1, - "text-color": "hsl(216, 67%, 94%)", - "text-halo-color": "hsl(215, 66%, 80%)", - "text-halo-width": 1, - "text-opacity": [ - "step", - [ - "zoom" - ], - 0, - 3, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 1, - 0 - ], - 5, - 1 - ] - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "bay", - "reef", - "strait" - ], - true, - false - ], - [ - "match", - [ - "get", - "worldview:ch" - ], - [ - "recognized" - ], - true, - [ - "!", - [ - "has", - "worldview:ch" - ] - ] - ], - [ - "match", - [ - "get", - "name" - ], - [ - "Bay of Bengal", - "Golfe de Gascogne/Golfo de Vizcaya/Bay of Biscay", - "Golfo de México", - "Great Australian Bight", - "Gulf of America", - "Gulf of Guinea", - "Hudson Bay" - ], - true, - false - ] - ] - ] - }, - { - "id": "Sea labels (points)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_centroid", - "minzoom": 3, - "layout": { - "icon-keep-upright": true, - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.1, - "text-max-width": 6, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 3, - 12, - 4, - 13, - 6, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 16, - 14 - ], - 8, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 20, - 18 - ] - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 6, - "hsl(225, 40%, 61%)", - 10, - "hsl(223, 72%, 46%)" - ], - "text-halo-blur": 1.6, - "text-halo-color": "hsla(215, 85%, 85%, 0.4)", - "text-halo-width": 1.4, - "text-opacity": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "Point" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "sea" - ], - true, - false - ], - [ - "match", - [ - "get", - "worldview:ch" - ], - [ - "recognized" - ], - true, - [ - "!", - [ - "has", - "worldview:ch" - ] - ] - ], - [ - "match", - [ - "get", - "name:en" - ], - [ - "Adriatic Sea", - "Balearic Sea", - "Baltic Sea", - "Red Sea" - ], - false, - true - ] - ] - ] - }, - { - "id": "Sea labels (lines)", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "water_label", - "minzoom": 3, - "layout": { - "symbol-placement": "line-center", - "symbol-sort-key": [ - "to-number", - [ - "get", - "rank" - ] - ], - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Italic", - "Noto Sans Italic" - ], - "text-letter-spacing": 0.1, - "text-max-width": 6, - "text-optional": true, - "text-size": [ - "interpolate", - [ - "linear" - ], - [ - "zoom" - ], - 3, - 12, - 4, - 13, - 6, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 16, - 14 - ], - 8, - [ - "case", - [ - "==", - [ - "get", - "rank" - ], - 1 - ], - 20, - 18 - ] - ], - "text-transform": "none", - "visibility": "visible" - }, - "paint": { - "text-color": [ - "interpolate", - [ - "exponential", - 1 - ], - [ - "zoom" - ], - 6, - "hsl(225, 40%, 61%)", - 10, - "hsl(223, 72%, 46%)" - ], - "text-halo-blur": 1.6, - "text-halo-color": "hsla(215, 85%, 85%, 0.4)", - "text-halo-width": 1.4, - "text-opacity": 1 - }, - "filter": [ - "all", - [ - "==", - [ - "geometry-type" - ], - "LineString" - ], - [ - "all", - [ - "match", - [ - "get", - "class" - ], - [ - "sea" - ], - true, - false - ], - [ - "match", - [ - "get", - "worldview:ch" - ], - [ - "recognized" - ], - true, - [ - "!", - [ - "has", - "worldview:ch" - ] - ] - ], - [ - "match", - [ - "get", - "name:en" - ], - [ - "Adriatic Sea", - "Balearic Sea", - "Baltic Sea", - "Red Sea" - ], - true, - false - ] - ] - ] - }, - { - "id": "Continent labels", - "type": "symbol", - "source": "maptiler_planet_v4", - "source-layer": "continent_label", - "minzoom": 0, - "maxzoom": 2, - "layout": { - "text-field": [ - "coalesce", - [ - "get", - "name:en" - ], - [ - "get", - "name" - ] - ], - "text-font": [ - "Open Sans Bold", - "Noto Sans Bold" - ], - "text-justify": "center", - "text-padding": 0, - "text-size": { - "stops": [ - [ - 1, - 12 - ], - [ - 4, - 24 - ] - ] - }, - "text-transform": "uppercase", - "visibility": "visible" - }, - "paint": { - "text-color": "hsl(242, 6%, 24%)", - "text-halo-color": "hsl(76, 22%, 93%)", - "text-halo-width": 1.3 - }, - "filter": [ - "==", - [ - "geometry-type" - ], - "Point" - ] - } - ], - "metadata": { - "maptiler": { - "copyright": "You are licensed to use the style or its derivate for serving map tiles exclusively with MapTiler Server or MapTiler Cloud and in accordance with their licenses and terms. If you plan to use the style in a different way, contact us at sales@maptiler.com.", - "groups": [ - { - "icon": "poi", - "id": "poi", - "layers": [ - "Outdoor shop", - "Sport", - "Outdoor water", - "Food", - "Transport", - "Park labels", - "Pharmacy", - "Healthcare", - "Accommodation", - "Outdoor minor", - "Culture", - "Tourism", - "Outdoor", - "Viewpoint", - "Information", - "Station", - "Aerialway station", - "Castle", - "Aerialway station (US)", - "Public", - "Street furniture" - ], - "name": "POI" - }, - { - "icon": "outdoor", - "id": "outdoor", - "layers": [ - "Trail outline", - "Bicycle outline", - "Other trails", - "Bicycle local", - "Yellow trail", - "Green trail", - "Blue trail", - "Brown trail", - "Black trail", - "Purple trail", - "Orange trail", - "Red trail", - "Longdistance trail outline", - "Longdistance trail", - "Via ferrata outline", - "Via ferrata", - "Via ferrata symbol", - "Bicycle longdistance", - "Trail labels", - "Longdistance trail labels", - "Bicycle longdistance labels" - ], - "name": "Outdoor" - }, - { - "icon": "administrative", - "id": "administrative", - "layers": [ - "Country border outline", - "Other border z9", - "Disputed border", - "Country border", - "Country border labels right", - "Country border labels left", - "Place labels", - "Village labels", - "Town labels", - "State labels z9", - "State abbreviations", - "City labels", - "Capital city labels", - "Country labels", - "Island labels", - "Continent labels", - "Archipelago labels", - "Country labels disputed", - "State labels z4", - "Other border z3", - "Other border z7", - "State labels z7" - ], - "name": "Administrative" - }, - { - "icon": "built-up", - "id": "built-up", - "layers": [ - "Residential", - "Industrial", - "Building", - "Building top", - "Military limit", - "Leisure", - "Hospital", - "Cemetery", - "Military", - "Commercial", - "Pitch", - "Construction (point)", - "Construction" - ], - "name": "Built-up" - }, - { - "icon": "roads", - "id": "roads", - "layers": [ - "Highway shield (US)", - "Highway shield", - "Road labels", - "Pathway labels", - "Pedestrian outline", - "Path", - "Track", - "Track outline", - "Steps", - "Major road", - "Pedestrian", - "Pier", - "Bridge", - "Tunnel", - "Tunnel path", - "Major road outline", - "Minor road", - "Minor road outline", - "Road bridge", - "Road bridge outline" - ], - "name": "Roads" - }, - { - "icon": "transit", - "id": "transit", - "layers": [ - "Ferry", - "Railway tunnel", - "Railway tunnel dash", - "Minor railway", - "Minor railway hatching", - "Major railway", - "Major railway dash", - "Minor lift", - "Minor lift dash", - "Chair lift", - "Chair lift dash", - "Cable car", - "Cable car dash", - "Aerialway labels", - "Taxiway", - "Runway", - "Airport area", - "Airport labels", - "Airport labels (US)", - "Railway bridge dash", - "Railway bridge", - "Minor railway bridge hatching", - "Minor railway bridge" - ], - "name": "Transit" - }, - { - "icon": "water", - "id": "water", - "layers": [ - "River tunnel", - "Stream", - "River", - "Water", - "River labels", - "Pond labels (points)", - "Pond labels (lines)", - "Lake labels (points)", - "Lake labels (lines)", - "Lake labels major", - "Ocean labels", - "Bay labels (lines)", - "Sea labels (points)", - "Sea labels (lines)", - "Bay labels (points)", - "Reef" - ], - "name": "Water" - }, - { - "icon": "nature", - "id": "nature", - "layers": [ - "Scrub", - "Wood", - "Forest", - "Grass", - "Sand", - "Glacier", - "Tree", - "Protected area major labels", - "Protected area labels" - ], - "name": "Nature" - }, - { - "icon": "terrain", - "id": "terrain", - "layers": [ - "Hillshade", - "Contour index", - "Glacier contour index", - "Contour", - "Glacier contour", - "Contour labels", - "Glacier contour labels", - "Peak labels (US)", - "Peak labels", - "Volcano labels", - "Volcano labels (US)", - "Cliff line", - "Cliff", - "Ridge labels", - "Cliff labels", - "Saddle" - ], - "name": "Terrain" - }, - { - "icon": "background", - "id": "background", - "layers": [ - "Background" - ], - "name": "Background" - } - ], - "halo": { - "scale": 1, - "stops": [ - [ - 0, - "rgba(255, 255, 255, 0.25)" - ], - [ - 0.25, - "rgba(255, 255, 255, 0)" - ] - ] - }, - "space": { - "color": "hsl(214, 69%, 90%)" - }, - "spaceColor": "#D5E3F6" - } - }, - "glyphs": "https://api.maptiler.com/fonts/{fontstack}/{range}.pbf?key=O7VbOY3zrXxBupgrQtdE", - "sprite": "https://api.maptiler.com/maps/outdoor-v4/sprite", - "bearing": 0, - "pitch": 0, - "center": [ - 0, - 0 - ], - "zoom": 1, - "id": "outdoor-v4" -} \ No newline at end of file