From ee0ac26c756c37e74a7187bc66255482681c8fcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 10 Apr 2020 12:23:08 +0200 Subject: [PATCH] Added the apollo-bright style for Tilezen-scheme tiles --- Tilezen/apollo-bright/style.json | 3010 ++++++++++++++++++++++++++++++ 1 file changed, 3010 insertions(+) create mode 100644 Tilezen/apollo-bright/style.json diff --git a/Tilezen/apollo-bright/style.json b/Tilezen/apollo-bright/style.json new file mode 100644 index 0000000..f6f8485 --- /dev/null +++ b/Tilezen/apollo-bright/style.json @@ -0,0 +1,3010 @@ +{ + "id": "apollomapping-bright-osm-modified", + "version": 8, + "name": "Apollo Bright (OSM)", + "metadata": {}, + "sources": { + "osm": { + "type": "vector", + "tiles": [ + "{tile_server_xyz_url}" + ] + }, + "natural_earth_2": { + "maxzoom": 5, + "tileSize": 512, + "tiles": [ + "https://a.basemap.mapmavin.com/natural-earth-2/{z}/{x}/{y}.png", + "https://b.basemap.mapmavin.com/natural-earth-2/{z}/{x}/{y}.png", + "https://c.basemap.mapmavin.com/natural-earth-2/{z}/{x}/{y}.png" + ], + "type": "raster" + } + }, + "sprite": "{resource_url}/sprites/apollo-bright-icons", + "glyphs": "{resource_url}/tile_fonts/{fontstack}/{range}.pbf", + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "rgba(255, 255, 255, 1)", + "background-opacity": 1 + }, + "filter": [ + "all" + ] + }, + { + "id": "natural_earth", + "type": "raster", + "source": "natural_earth_2", + "maxzoom": 5, + "layout": { + "visibility": "visible" + }, + "paint": { + "raster-opacity": { + "base": 1.5, + "stops": [ + [ + 0, + 0.6 + ], + [ + 6, + 0.1 + ] + ] + } + } + }, + { + "id": "airport-landuse-fill", + "type": "fill", + "source": "osm", + "source-layer": "landuse", + "filter": [ + "all", + [ + "in", + "kind", + "aeroway", + "aerodrome" + ] + ], + "paint": { + "fill-color": "rgba(251, 241, 241, 1)" + }, + "minzoom": 4 + }, + { + "id": "park-fill", + "type": "fill", + "source": "osm", + "source-layer": "landuse", + "filter": [ + "all", + [ + "in", + "kind", + "park", + "national_park", + "forest", + "garden", + "grass", + "farm", + "meadow", + "playground", + "golf_course", + "wetland", + "nature_reserve", + "natural_wood", + "wood", + "cemetery" + ] + ], + "paint": { + "fill-color": "rgba(180, 245, 171, 0.69)" + }, + "minzoom": 4 + }, + { + "id": "national-park-fill", + "type": "fill", + "source": "osm", + "source-layer": "landuse", + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "national_park" + ] + ], + "layout": {}, + "paint": { + "fill-color": "rgba(156, 228, 146, 0.75)" + } + }, + { + "id": "farm-land-fill", + "type": "fill", + "source": "osm", + "source-layer": "landuse", + "filter": [ + "all", + [ + "in", + "kind", + "farmland", + "farmyard" + ] + ], + "paint": { + "fill-color": "rgba(255, 239, 243, 0.51)" + }, + "layout": { + "visibility": "visible" + } + }, + { + "id": "water-fill", + "type": "fill", + "source": "osm", + "source-layer": "water", + "filter": [ + "all", + [ + "==", + "$type", + "Polygon" + ] + ], + "paint": { + "fill-color": "rgba(167, 205, 253, 1)", + "fill-opacity": 1 + } + }, + { + "id": "river-line", + "type": "line", + "source": "osm", + "source-layer": "water", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "kind", + "river" + ] + ], + "layout": {}, + "paint": { + "line-color": "rgba(177, 233, 236, 1)", + "line-width": { + "base": 1.2, + "stops": [ + [ + 8, + 0.75 + ], + [ + 20, + 15 + ] + ] + } + }, + "minzoom": 6 + }, + { + "id": "stream-etc-line", + "type": "line", + "source": "osm", + "source-layer": "water", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "stream", + "canal" + ] + ], + "layout": {}, + "paint": { + "line-color": "rgba(177, 233, 236, 1)", + "line-width": { + "base": 1.4, + "stops": [ + [ + 10, + 0.5 + ], + [ + 20, + 15 + ] + ] + } + }, + "minzoom": 11 + }, + { + "id": "country-boundary-line", + "type": "line", + "source": "osm", + "source-layer": "boundaries", + "filter": [ + "==", + "kind_detail", + "2" + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "rgba(158, 150, 158, 1)", + "line-width": { + "base": 1, + "stops": [ + [ + 1, + 0.7 + ], + [ + 8, + 2 + ] + ] + } + }, + "minzoom": 1 + }, + { + "id": "state-boundary", + "type": "line", + "source": "osm", + "source-layer": "boundaries", + "filter": [ + "==", + "kind_detail", + "4" + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#cacecc", + "line-width": { + "base": 1, + "stops": [ + [ + 5, + 1 + ], + [ + 7, + 3 + ] + ] + } + }, + "maxzoom": 17 + }, + { + "id": "subways-line", + "type": "line", + "source": "osm", + "source-layer": "roads", + "filter": [ + "==", + "railway", + "subway" + ], + "paint": { + "line-color": "#ef7369", + "line-dasharray": [ + 2, + 1 + ] + } + }, + { + "id": "link-tunnel-line", + "type": "line", + "source": "osm", + "source-layer": "roads", + "filter": [ + "any", + [ + "==", + "is_tunnel", + "yes" + ] + ], + "layout": {}, + "paint": { + "line-color": "#afd3d3", + "line-width": { + "base": 1.55, + "stops": [ + [ + 4, + 0.25 + ], + [ + 20, + 30 + ] + ] + }, + "line-dasharray": [ + 1, + 2 + ] + } + }, + { + "id": "buildings-fill", + "type": "fill", + "source": "osm", + "source-layer": "buildings", + "minzoom": 15, + "paint": { + "fill-color": "rgba(226, 218, 193, 1)" + } + }, + { + "id": "hospital-building-fill", + "filter": [ + "==", + "kind_detail", + "hospital" + ], + "type": "fill", + "source": "osm", + "source-layer": "buildings", + "minzoom": 13, + "paint": { + "fill-color": "rgba(255, 155, 157, 0.89)" + } + }, + { + "id": "highway-line", + "type": "line", + "source": "osm", + "source-layer": "roads", + "filter": [ + "==", + "kind", + "highway" + ], + "layout": { + "line-join": "round", + "line-cap": "round" + }, + "paint": { + "line-color": "rgba(162, 99, 183, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 4, + 0.5 + ], + [ + 8, + 1.5 + ], + [ + 20, + 40 + ] + ] + } + } + }, + { + "id": "minor-road-line", + "type": "line", + "source": "osm", + "source-layer": "roads", + "filter": [ + "any", + [ + "==", + "kind", + "minor_road" + ] + ], + "layout": { + "line-join": "round", + "line-cap": "round" + }, + "paint": { + "line-color": "rgba(228, 207, 223, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 12, + 0.5 + ], + [ + 14, + 3 + ], + [ + 16, + 6 + ] + ] + } + } + }, + { + "id": "runway-line", + "type": "line", + "source": "osm", + "source-layer": "roads", + "filter": [ + "any", + [ + "==", + "kind", + "aeroway" + ] + ], + "layout": { + "line-join": "round", + "line-cap": "round" + }, + "paint": { + "line-color": "#F3B49D", + "line-width": { + "base": 1.55, + "stops": [ + [ + 12, + 0.5 + ], + [ + 14, + 3 + ], + [ + 16, + 6 + ] + ] + } + } + }, + { + "id": "major-road-line", + "type": "line", + "source": "osm", + "source-layer": "roads", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "kind", + "major_road" + ], + [ + "!in", + "kind_detail", + "secondary", + "primary" + ] + ], + "paint": { + "line-color": "rgba(228, 207, 223, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 4, + 0.5 + ], + [ + 8, + 1.5 + ], + [ + 20, + 40 + ] + ] + } + } + }, + { + "id": "secondary-road-line", + "type": "line", + "source": "osm", + "source-layer": "roads", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind_detail", + "secondary", + "primary" + ] + ], + "paint": { + "line-color": "rgba(228, 207, 223, 1)", + "line-width": { + "base": 1.55, + "stops": [ + [ + 4, + 0.3 + ], + [ + 6, + 0.6 + ], + [ + 8, + 1.5 + ], + [ + 20, + 40 + ] + ] + } + } + }, + { + "id": "link-bridge-line", + "type": "line", + "source": "osm", + "source-layer": "roads", + "filter": [ + "any", + [ + "==", + "is_link", + "yes" + ], + [ + "==", + "is_bridge", + "yes" + ] + ], + "layout": { + "line-join": "round", + "line-cap": "round" + }, + "paint": { + "line-color": "#c0c4c2", + "line-width": { + "base": 1.55, + "stops": [ + [ + 4, + 0.5 + ], + [ + 8, + 1.5 + ], + [ + 20, + 40 + ] + ] + } + } + }, + { + "id": "path-line", + "type": "line", + "source": "osm", + "source-layer": "roads", + "filter": [ + "==", + "kind", + "path" + ], + "layout": { + "line-join": "round", + "line-cap": "round" + }, + "paint": { + "line-color": "#5d6765", + "line-width": { + "base": 1.8, + "stops": [ + [ + 10, + 0.15 + ], + [ + 20, + 15 + ] + ] + }, + "line-dasharray": [ + 2, + 2 + ] + }, + "minzoom": 12 + }, + { + "id": "state-label", + "type": "symbol", + "source": "osm", + "source-layer": "places", + "minzoom": 1, + "maxzoom": 7, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "kind", + "region" + ] + ], + "layout": { + "text-font": [ + "Roboto Medium Italic", + "Noto Sans Italic" + ], + "text-field": { + "stops": [ + [ + 0, + "{name:short}" + ], + [ + 5, + "{name}" + ] + ] + }, + "text-size": 12 + }, + "paint": { + "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-color": "rgba(30, 30, 30, 1)" + } + }, + { + "id": "country-label", + "type": "symbol", + "source": "osm", + "source-layer": "places", + "minzoom": 0, + "maxzoom": 6, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "kind", + "country" + ] + ], + "layout": { + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "text-field": "{name}", + "text-transform": "uppercase", + "text-size": { + "property": "population", + "stops": [ + [ + 0, + 10 + ], + [ + 10000000, + 13 + ] + ] + } + }, + "paint": { + "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + } + }, + { + "id": "minor-road-label", + "minzoom": 13, + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "minor_road" + ] + ], + "layout": { + "symbol-placement": "line", + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ], + "text-field": "{name}", + "text-size": 12, + "symbol-spacing": 400 + }, + "paint": { + "text-color": "rgba(37, 40, 40, 1)", + "text-halo-color": "rgba(135, 139, 145, 1)" + } + }, + { + "id": "major-road-label", + "minzoom": 11, + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "major_road" + ] + ], + "layout": { + "symbol-placement": "line", + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ], + "text-field": "{name}", + "text-size": 12, + "symbol-spacing": 400 + }, + "paint": { + "text-color": "rgba(37, 40, 40, 1)", + "text-halo-color": "rgba(230, 230, 230, .6)", + "text-halo-width": 1, + "text-halo-blur": 1 + } + }, + { + "id": "ocean-label", + "type": "symbol", + "source": "osm", + "source-layer": "water", + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "kind", + "ocean" + ] + ], + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "text-letter-spacing": 0.07, + "text-size": 12, + "text-transform": "uppercase" + }, + "paint": { + "text-color": "rgba(116, 177, 243, 1)", + "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-width": 0.3, + "text-halo-blur": 0.3 + }, + "minzoom": 1, + "maxzoom": 22 + }, + { + "id": "sea-label", + "type": "symbol", + "source": "osm", + "source-layer": "water", + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "kind", + "sea" + ] + ], + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "text-letter-spacing": 0.07, + "text-size": 10, + "text-max-width": 3, + "text-transform": "uppercase" + }, + "paint": { + "text-color": "rgba(116, 177, 243, 1)", + "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-width": 0.3, + "text-halo-blur": 0.3 + }, + "minzoom": 1, + "maxzoom": 22 + }, + { + "id": "water-label", + "type": "symbol", + "source": "osm", + "source-layer": "water", + "minzoom": 13, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "kind", + "water" + ] + ], + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Light Italic", + "Noto Sans Italic" + ], + "text-size": 10 + }, + "paint": { + "text-color": "rgba(222, 239, 253, 1)" + } + }, + { + "id": "lake-label", + "type": "symbol", + "source": "osm", + "source-layer": "water", + "minzoom": 12, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "kind", + "lake" + ] + ], + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Light Italic", + "Noto Sans Italic" + ], + "text-size": 10 + }, + "paint": { + "text-color": "rgba(222, 239, 253, 1)" + } + }, + { + "id": "national_park_labels", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 8, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "national_park" + ] + ], + "layout": { + "icon-image": "park-alt1-11", + "icon-size": 1, + "text-field": "{name}", + "text-offset": [ + 0, + 0.8 + ], + "text-anchor": "top", + "text-size": 11, + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ] + }, + "paint": { + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-color": "#227936" + } + }, + { + "id": "park_labels", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 13, + "maxzoom": 24, + "filter": [ + "all", + [ + "in", + "kind", + "park", + "dog_park" + ] + ], + "layout": { + "icon-image": "park-alt1-11", + "icon-size": 1, + "text-field": "{name}", + "text-offset": [ + 0, + 0.8 + ], + "text-anchor": "top", + "text-size": 11, + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ] + }, + "paint": { + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-color": "#227936" + } + }, + { + "id": "cemetery_labels", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 13, + "maxzoom": 24, + "filter": [ + "all", + [ + "in", + "kind", + "cemetery" + ] + ], + "layout": { + "icon-image": "cemetery-11", + "icon-size": 1, + "text-field": "{name}", + "text-offset": [ + 0, + 0.8 + ], + "text-anchor": "top", + "text-size": 11, + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ] + }, + "paint": { + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-color": "#227936" + } + }, + { + "id": "neighbourhood-label", + "source": "osm", + "type": "symbol", + "source-layer": "places", + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "in", + "kind", + "neighbourhood", + "microhood", + "macrohood" + ] + ], + "maxzoom": 16, + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "text-size": { + "stops": [ + [ + 0, + 6 + ], + [ + 8, + 8 + ], + [ + 13, + 12 + ] + ] + }, + "text-max-width": 10, + "text-letter-spacing": 0.1, + "text-anchor": "bottom", + "text-transform": "uppercase" + }, + "paint": { + "text-color": "#5C5C5C", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1, + "text-halo-blur": 1 + } + }, + { + "id": "locality-label", + "source": "osm", + "type": "symbol", + "source-layer": "places", + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "kind", + "locality" + ], + [ + "!=", + "region_capital", + true + ], + [ + ">", + "population", + 50000 + ], + [ + "!=", + "country_capital", + true + ] + ], + "maxzoom": 14, + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "text-size": { + "stops": [ + [ + 0, + 10 + ], + [ + 8, + 12 + ], + [ + 13, + 18 + ] + ] + }, + "text-max-width": 10, + "text-letter-spacing": 0.1, + "icon-image": "circle-11", + "text-anchor": "bottom", + "icon-size": 0.4 + }, + "paint": { + "text-color": "#384646", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1, + "text-halo-blur": 1 + } + }, + { + "id": "small-locality-label", + "source": "osm", + "type": "symbol", + "source-layer": "places", + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + "==", + "kind", + "locality" + ], + [ + "<=", + "population", + 50000 + ] + ], + "maxzoom": 14, + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "text-size": { + "stops": [ + [ + 0, + 8 + ], + [ + 8, + 10 + ], + [ + 13, + 12 + ] + ] + }, + "text-max-width": 10, + "text-letter-spacing": 0.1 + }, + "paint": { + "text-color": "#384646", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1, + "text-halo-blur": 1 + } + }, + { + "id": "capital-label", + "type": "symbol", + "source": "osm", + "source-layer": "places", + "minzoom": 3, + "maxzoom": 14, + "filter": [ + "any", + [ + "==", + "region_capital", + true + ], + [ + "==", + "country_capital", + true + ] + ], + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "text-size": { + "stops": [ + [ + 6, + 11 + ], + [ + 10, + 13 + ] + ] + }, + "text-max-width": 10, + "text-letter-spacing": 0.1, + "icon-image": "circle-11", + "text-anchor": "bottom", + "icon-size": 0.4 + }, + "paint": { + "text-color": "rgba(20, 20, 21, 1)", + "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + } + }, + { + "id": "major-city", + "type": "symbol", + "source": "osm", + "source-layer": "places", + "minzoom": 5, + "maxzoom": 15, + "filter": [ + "all", + [ + "==", + "kind_detail", + "city" + ], + [ + "!=", + "region_capital", + true + ], + [ + ">", + "population", + 200000 + ] + ], + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ], + "text-size": 18 + }, + "paint": { + "text-color": "rgba(20, 20, 21, 1)", + "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + } + }, + { + "id": "minor_city_label", + "type": "symbol", + "source": "osm", + "source-layer": "places", + "minzoom": 4, + "maxzoom": 15, + "filter": [ + "all", + [ + "==", + "kind_detail", + "city" + ], + [ + "!=", + "region_capital", + true + ], + [ + "<=", + "population", + 200000 + ] + ], + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ], + "text-size": 14 + }, + "paint": { + "text-color": "rgba(20, 20, 21, 1)", + "text-halo-color": "rgba(255, 255, 255, 0.7)", + "text-halo-width": 1, + "text-halo-blur": 1 + } + }, + { + "id": "highway-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 12, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ] + ], + "layout": { + "symbol-placement": "line", + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ], + "text-field": "{name}", + "text-size": 10 + }, + "paint": { + "text-color": "#FFF", + "text-halo-color": "rgba(162, 99, 183, 1)", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-opacity": 1 + } + }, + { + "id": "other-highway-type-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway", + "motorway" + ], + [ + "has", + "shield_text" + ], + [ + "!in", + "network", + "US:US", + "US:I", + "US:CO" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "generic-shield-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.6, + "text-offset": [ + 0, + 0.2 + ], + "icon-text-fit-padding": [ + 0, + 3, + 0, + 3 + ] + }, + "paint": { + "text-color": "#1F1F1F", + "text-opacity": 1 + } + }, + { + "id": "interstate-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:I" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "us-interstate-shield-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.2 + ] + }, + "paint": { + "text-color": "#FFF", + "text-opacity": 1 + } + }, + { + "id": "highway-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:US" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "us-highway-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.2 + ] + }, + "paint": { + "text-color": "#000000", + "text-opacity": 1 + } + }, + { + "id": "california-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:CA" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "us-highway-state-ca-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.3 + ] + }, + "paint": { + "text-color": "#FFF", + "text-opacity": 1 + } + }, + { + "id": "pa-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:PA" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "us-highway-pa-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.3 + ] + }, + "paint": { + "text-color": "#000", + "text-opacity": 1 + } + }, + { + "id": "al-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:AL" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "us-highway-al-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.1 + ] + }, + "paint": { + "text-color": "#000", + "text-opacity": 1 + } + }, + { + "id": "fl-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:FL" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "us-highway-fl-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.3 + ] + }, + "paint": { + "text-color": "#000", + "text-opacity": 1 + } + }, + { + "id": "maryland-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:MD" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "us-highway-md-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.5 + ] + }, + "paint": { + "text-color": "#000", + "text-opacity": 1 + } + }, + { + "id": "arizona-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:AZ" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "us-highway-az-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.2 + ] + }, + "paint": { + "text-color": "#000", + "text-opacity": 1 + } + }, + { + "id": "square-state-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:IN", + "US:CT", + "US:MT", + "US:IL" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "us-highway-state-square-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.2 + ] + }, + "paint": { + "text-color": "#000", + "text-opacity": 1 + } + }, + { + "id": "ohio-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:OH" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": [ + "concat", + "us-highway-oh-", + [ + "to-string", + [ + "length", + [ + "string", + [ + "get", + "shield_text" + ] + ] + ] + ] + ], + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.2 + ] + }, + "paint": { + "text-color": "#000", + "text-opacity": 1 + } + }, + { + "id": "lousiana-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:LA" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 8, + "text-font": [ + "Roboto Bold", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": "us-highway-la-2", + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.5 + ] + }, + "paint": { + "text-color": "#FFF", + "text-opacity": 1 + } + }, + { + "id": "colorado-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:CO" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": "us-highway-co", + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.6 + ] + }, + "paint": { + "text-color": "#000000", + "text-opacity": 1 + } + }, + { + "id": "hawaii-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:HI" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": "us-highway-hi", + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.3 + ] + }, + "paint": { + "text-color": "#000000", + "text-opacity": 1 + } + }, + { + "id": "idaho-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:ID" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": "us-highway-id", + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0.2, + 0 + ] + }, + "paint": { + "text-color": "#FFF", + "text-opacity": 1 + } + }, + { + "id": "georgia-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:GA" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 8, + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": "us-highway-ga", + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.3 + ] + }, + "paint": { + "text-color": "#000000", + "text-opacity": 1 + } + }, + { + "id": "dc-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:DC" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": "us-highway-dc", + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.6 + ] + }, + "paint": { + "text-color": "#000000", + "text-opacity": 1 + } + }, + { + "id": "arkansas-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:AR" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": "us-highway-ar", + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + -0.1, + 0.1 + ] + }, + "paint": { + "text-color": "#000000", + "text-opacity": 1 + } + }, + { + "id": "alaska-shield-label", + "type": "symbol", + "source": "osm", + "source-layer": "roads", + "minzoom": 8, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "kind", + "highway" + ], + [ + "has", + "shield_text" + ], + [ + "in", + "network", + "US:AK" + ] + ], + "layout": { + "text-field": "{shield_text}", + "text-size": 10, + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "symbol-placement": "line", + "symbol-spacing": 1000, + "icon-image": "us-highway-ak", + "text-rotation-alignment": "viewport", + "icon-rotation-alignment": "viewport", + "icon-size": 1.8, + "text-offset": [ + 0, + 0.2 + ] + }, + "paint": { + "text-color": "#000000", + "text-opacity": 1 + } + }, + { + "id": "airport", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "filter": [ + "all", + [ + "==", + "kind", + "aerodrome" + ] + ], + "layout": { + "icon-image": "airport-15", + "icon-size": 1, + "text-field": { + "stops": [ + [ + 0, + "{iata}" + ], + [ + 13, + "{name}" + ] + ] + }, + "text-size": 11, + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ], + "text-anchor": "top", + "text-offset": [ + 0, + 0.8 + ], + "text-optional": true, + "text-allow-overlap": false, + "text-letter-spacing": { + "stops": [ + [ + 0, + 0.4 + ], + [ + 13, + 0 + ] + ] + } + }, + "paint": { + "text-color": "rgba(195, 95, 20, 1)", + "text-halo-width": 1, + "text-halo-color": "rgba(255, 255, 255, 0.8)", + "text-halo-blur": 1 + } + }, + { + "id": "bus-station-symbol", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 8, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "bus_station" + ] + ], + "layout": { + "icon-image": "bus-15", + "icon-size": 1.2, + "text-field": "", + "text-size": 16, + "text-font": [ + "" + ] + } + }, + { + "id": "bus-stop-symbols", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 8, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "bus_stop" + ] + ], + "layout": { + "icon-image": "bus-11", + "icon-size": 1.0, + "text-field": "", + "text-size": 16, + "text-font": [ + "" + ] + } + }, + { + "id": "parking-symbols", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 8, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "parking" + ] + ], + "layout": { + "icon-image": "parking-11", + "icon-size": 1.0, + "text-field": "", + "text-size": 16, + "text-font": [ + "" + ] + } + }, + { + "id": "peak-symbols", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 12, + "maxzoom": 24, + "filter": [ + "all", + [ + "in", + "kind", + "volcano", + "peak" + ], + [ + "has", + "elevation" + ], + [ + ">", + "elevation", + 2000 + ] + ], + "layout": { + "icon-image": "mountain-11", + "icon-size": 0.8, + "text-field": { + "stops": [ + [ + 0, + "" + ], + [ + 14, + "{name} {elevation} m" + ] + ] + }, + "text-size": 10, + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ], + "text-anchor": "top", + "text-justify": "center", + "text-offset": [ + 0, + 0.5 + ], + "text-allow-overlap": false, + "text-ignore-placement": false + }, + "paint": { + "text-translate-anchor": "map", + "text-color": "rgba(96, 64, 52, 1)" + } + }, + { + "id": "bicycle-share-symbols", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 3, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "bicycle_parking" + ] + ], + "layout": { + "icon-image": "bicycle-share-11", + "icon-size": 1.0, + "text-field": "", + "text-size": 16, + "text-font": [ + "" + ] + } + }, + { + "id": "university-symbol", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 13, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "university" + ] + ], + "layout": { + "icon-image": "college-11", + "icon-size": 1.0, + "text-field": "{name}", + "text-offset": [ + 0, + 0.8 + ], + "text-anchor": "top", + "text-size": 10, + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ] + }, + "paint": { + "text-halo-color": "rgba(255, 255, 255, .7)", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-color": "#3B45A0" + } + }, + { + "id": "school-symbol", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 14, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "school" + ] + ], + "layout": { + "icon-image": "school-11", + "icon-size": 0.8, + "text-field": "{name}", + "text-offset": [ + 0, + 0.8 + ], + "text-anchor": "top", + "text-size": 11, + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ] + }, + "paint": { + "text-halo-color": "rgba(255, 255, 255, .7)", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-color": "#3B45A0" + } + }, + { + "id": "museum-symbol", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 16, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "museum" + ] + ], + "layout": { + "icon-image": "museum-11", + "icon-size": 0.8, + "text-field": "{name}", + "text-offset": [ + 0, + 0.8 + ], + "text-anchor": "top", + "text-size": 11, + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ] + }, + "paint": { + "text-halo-color": "rgba(255, 255, 255, .7)", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-color": "#3B45A0" + } + }, + { + "id": "library-symbol", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 14, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "library" + ] + ], + "layout": { + "icon-image": "library-11", + "icon-size": 0.8, + "text-field": "{name}", + "text-offset": [ + 0, + 0.8 + ], + "text-anchor": "top", + "text-size": 11, + "text-font": [ + "Roboto Regular", + "Noto Sans Regular" + ] + }, + "paint": { + "text-halo-color": "rgba(255, 255, 255, .7)", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-color": "#3B45A0" + } + }, + { + "id": "hospital-symbol", + "type": "symbol", + "source": "osm", + "source-layer": "pois", + "minzoom": 11, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "kind", + "hospital" + ] + ], + "layout": { + "icon-image": "hospital-11", + "icon-size": 0.8, + "text-field": "{name}", + "text-offset": [ + 0, + 0.8 + ], + "text-anchor": "top", + "text-size": 11, + "text-font": [ + "Roboto Medium", + "Noto Sans Bold" + ] + }, + "paint": { + "text-halo-color": "rgba(255, 255, 255, 0.8)", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-color": "rgba(236, 137, 141, 1)" + } + } + ] +}