From 1966786d1651f5b6522de29567d632a93f337020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 11 Nov 2018 14:14:01 +0100 Subject: [PATCH] Use OSM-liberty as the default style --- style/style.json | 4633 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 3507 insertions(+), 1126 deletions(-) diff --git a/style/style.json b/style/style.json index 4f7775a..eae6366 100644 --- a/style/style.json +++ b/style/style.json @@ -1,69 +1,55 @@ { "version": 8, - "name": "Klokantech Basic", + "name": "OSM Liberty", "metadata": { - "mapbox:autocomposite": false, - "mapbox:type": "template", - "maputnik:renderer": "mbgljs", - "openmaptiles:version": "3.x", - "openmaptiles:mapbox:owner": "openmaptiles", - "openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t" + "mapbox:type": "template" }, "sources": { "openmaptiles": { "type": "vector", - "url": "https://free.tilehosting.com/data/v3.json?key={key}" + "url": "https://maps.tilehosting.com/data/v3.json?key={key}" + }, + "natural_earth_shaded_relief": { + "maxzoom": 6, + "tileSize": 256, + "tiles": [ + "https://klokantech.github.io/naturalearthtiles/tiles/natural_earth_2_shaded_relief.raster/{z}/{x}/{y}.png" + ], + "type": "raster" } }, - "sprite": "https://openmaptiles.github.io/klokantech-basic-gl-style/sprite", - "glyphs": "https://free.tilehosting.com/fonts/{fontstack}/{range}.pbf?key={key}", + "sprite": "https://maputnik.github.io/osm-liberty/sprites/osm-liberty", + "glyphs": "https://maps.tilehosting.com/fonts/{fontstack}/{range}.pbf?key={key}", "layers": [ { "id": "background", "type": "background", "paint": { - "background-color": "hsl(47, 26%, 88%)" + "background-color": "rgb(239,239,239)" } }, { - "id": "landuse-residential", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landuse", - "filter": [ - "all", - [ - "==", - "$type", - "Polygon" - ], - [ - "==", - "class", - "residential" - ] - ], + "id": "natural_earth", + "type": "raster", + "source": "natural_earth_shaded_relief", + "maxzoom": 6, "layout": { "visibility": "visible" }, "paint": { - "fill-color": "hsl(47, 13%, 86%)", - "fill-opacity": 0.7 - } - }, - { - "id": "landcover_grass", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landcover", - "filter": [ - "==", - "class", - "grass" - ], - "paint": { - "fill-color": "hsl(82, 46%, 72%)", - "fill-opacity": 0.45 + "raster-opacity": { + "base": 1.5, + "stops": [ + [ + 0, + 0.6 + ], + [ + 6, + 0.1 + ] + ] + } } }, { @@ -72,161 +58,9 @@ "source": "openmaptiles", "source-layer": "park", "paint": { - "fill-color": "rgba(192, 216, 151, 0.53)", - "fill-opacity": 1 - } - }, - { - "id": "landcover_wood", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landcover", - "filter": [ - "==", - "class", - "wood" - ], - "paint": { - "fill-color": "hsl(82, 46%, 72%)", - "fill-opacity": { - "base": 1, - "stops": [ - [ - 8, - 0.6 - ], - [ - 22, - 1 - ] - ] - } - } - }, - { - "id": "water", - "type": "fill", - "source": "openmaptiles", - "source-layer": "water", - "filter": [ - "==", - "$type", - "Polygon" - ], - "paint": { - "fill-color": "hsl(205, 56%, 73%)" - } - }, - { - "id": "landcover-ice-shelf", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landcover", - "filter": [ - "==", - "subclass", - "ice_shelf" - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(47, 26%, 88%)", - "fill-opacity": 0.8 - } - }, - { - "id": "landcover-glacier", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landcover", - "filter": [ - "==", - "subclass", - "glacier" - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "hsl(47, 22%, 94%)", - "fill-opacity": { - "base": 1, - "stops": [ - [ - 0, - 1 - ], - [ - 8, - 0.5 - ] - ] - } - } - }, - { - "id": "landcover_sand", - "type": "fill", - "metadata": {}, - "source": "openmaptiles", - "source-layer": "landcover", - "filter": [ - "all", - [ - "in", - "class", - "sand" - ] - ], - "paint": { - "fill-antialias": false, - "fill-color": "rgba(232, 214, 38, 1)", - "fill-opacity": 0.3 - } - }, - { - "id": "landuse", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landuse", - "filter": [ - "==", - "class", - "agriculture" - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "#eae0d0" - } - }, - { - "id": "landuse_overlay_national_park", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landcover", - "filter": [ - "==", - "class", - "national_park" - ], - "paint": { - "fill-color": "#E1EBB0", - "fill-opacity": { - "base": 1, - "stops": [ - [ - 5, - 0 - ], - [ - 9, - 0.75 - ] - ] - } + "fill-color": "#d8e8c8", + "fill-opacity": 0.7, + "fill-outline-color": "rgba(95, 208, 100, 1)" } }, { @@ -236,18 +70,660 @@ "source-layer": "park", "layout": {}, "paint": { - "line-color": "rgba(159, 183, 118, 0.69)", "line-dasharray": [ - 0.5, - 1 - ] + 1, + 1.5 + ], + "line-color": "rgba(228, 241, 215, 1)", + "line-opacity": 1 } }, { - "id": "waterway-tunnel", + "id": "landuse_residential", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "landuse", + "maxzoom": 8, + "filter": [ + "==", + "class", + "residential" + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": { + "base": 1, + "stops": [ + [ + 9, + "hsla(0, 3%, 85%, 0.84)" + ], + [ + 12, + "hsla(35, 57%, 88%, 0.49)" + ] + ] + } + } + }, + { + "id": "landcover_wood", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "landcover", + "filter": [ + "all", + [ + "==", + "class", + "wood" + ] + ], + "paint": { + "fill-antialias": false, + "fill-color": "hsla(98, 61%, 72%, 0.7)", + "fill-opacity": 0.4 + } + }, + { + "id": "landcover_grass", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "landcover", + "filter": [ + "all", + [ + "==", + "class", + "grass" + ] + ], + "paint": { + "fill-antialias": false, + "fill-color": "rgba(176, 213, 154, 1)", + "fill-opacity": 0.3 + } + }, + { + "id": "landuse_cemetery", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "landuse", + "filter": [ + "==", + "class", + "cemetery" + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "hsl(75, 37%, 81%)" + } + }, + { + "id": "landuse_hospital", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "landuse", + "filter": [ + "==", + "class", + "hospital" + ], + "paint": { + "fill-color": "#fde" + } + }, + { + "id": "landuse_school", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "landuse", + "filter": [ + "==", + "class", + "school" + ], + "paint": { + "fill-color": "rgb(236,238,204)" + } + }, + { + "id": "waterway_river", "type": "line", + "metadata": {}, "source": "openmaptiles", "source-layer": "waterway", + "filter": [ + "==", + "class", + "river" + ], + "layout": { + "line-cap": "round" + }, + "paint": { + "line-color": "#a0c8f0", + "line-width": { + "base": 1.2, + "stops": [ + [ + 11, + 0.5 + ], + [ + 20, + 6 + ] + ] + } + } + }, + { + "id": "waterway_other", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "waterway", + "filter": [ + "all", + [ + "!=", + "class", + "river" + ] + ], + "layout": { + "line-cap": "round" + }, + "paint": { + "line-color": "#a0c8f0", + "line-width": { + "base": 1.3, + "stops": [ + [ + 13, + 0.5 + ], + [ + 20, + 6 + ] + ] + } + } + }, + { + "id": "water", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "water", + "paint": { + "fill-color": "rgb(158,189,255)" + } + }, + { + "id": "aeroway_fill", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 11, + "filter": [ + "==", + "$type", + "Polygon" + ], + "paint": { + "fill-color": "rgba(229, 228, 224, 1)", + "fill-opacity": 0.7 + } + }, + { + "id": "aeroway_runway", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 11, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "class", + "runway" + ] + ], + "paint": { + "line-color": "#f0ede9", + "line-width": { + "base": 1.2, + "stops": [ + [ + 11, + 3 + ], + [ + 20, + 16 + ] + ] + } + } + }, + { + "id": "aeroway_taxiway", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 11, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "class", + "taxiway" + ] + ], + "paint": { + "line-color": "#f0ede9", + "line-width": { + "base": 1.2, + "stops": [ + [ + 11, + 0.5 + ], + [ + 20, + 6 + ] + ] + } + } + }, + { + "id": "tunnel_motorway_link_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "motorway" + ], + [ + "==", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "tunnel" + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#e9ac77", + "line-dasharray": [ + 0.5, + 0.25 + ], + "line-opacity": 1, + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + } + } + }, + { + "id": "tunnel_service_track_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "service", + "track" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#cfcdca", + "line-dasharray": [ + 0.5, + 0.25 + ], + "line-width": { + "base": 1.2, + "stops": [ + [ + 15, + 1 + ], + [ + 16, + 4 + ], + [ + 20, + 11 + ] + ] + } + } + }, + { + "id": "tunnel_link_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "ramp", + "1" + ], + [ + "==", + "brunnel", + "tunnel" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-opacity": 1, + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + } + } + }, + { + "id": "tunnel_street_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "street", + "street_limited" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#cfcdca", + "line-opacity": { + "stops": [ + [ + 12, + 0 + ], + [ + 12.5, + 1 + ] + ] + }, + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 0.5 + ], + [ + 13, + 1 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + } + } + }, + { + "id": "tunnel_secondary_tertiary_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-opacity": 1, + "line-width": { + "base": 1.2, + "stops": [ + [ + 8, + 1.5 + ], + [ + 20, + 17 + ] + ] + } + } + }, + { + "id": "tunnel_trunk_primary_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "primary", + "trunk" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] + ] + } + } + }, + { + "id": "tunnel_motorway_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "motorway" + ], + [ + "==", + "brunnel", + "tunnel" + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#e9ac77", + "line-dasharray": [ + 0.5, + 0.25 + ], + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] + ] + } + } + }, + { + "id": "tunnel_path_pedestrian", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", "filter": [ "all", [ @@ -259,33 +735,386 @@ "==", "brunnel", "tunnel" + ], + [ + "in", + "class", + "path", + "pedestrian" ] ], "paint": { - "line-color": "hsl(205, 56%, 73%)", + "line-color": "hsl(0, 0%, 100%)", "line-dasharray": [ - 3, - 3 + 1, + 0.75 ], - "line-gap-width": { + "line-width": { + "base": 1.2, "stops": [ [ - 12, - 0 + 14, + 0.5 ], [ 20, - 6 + 10 ] ] - }, + } + } + }, + { + "id": "tunnel_motorway_link", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "motorway_link" + ], + [ + "==", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "tunnel" + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#fc8", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "tunnel_service_track", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "service", + "track" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fff", + "line-width": { + "base": 1.2, + "stops": [ + [ + 15.5, + 0 + ], + [ + 16, + 2 + ], + [ + 20, + 7.5 + ] + ] + } + } + }, + { + "id": "tunnel_link", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "ramp", + "1" + ], + [ + "==", + "brunnel", + "tunnel" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fff4c6", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "tunnel_minor", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "minor" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fff", "line-opacity": 1, + "line-width": { + "base": 1.2, + "stops": [ + [ + 13.5, + 0 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "tunnel_secondary_tertiary", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fff4c6", + "line-width": { + "base": 1.2, + "stops": [ + [ + 6.5, + 0 + ], + [ + 7, + 0.5 + ], + [ + 20, + 10 + ] + ] + } + } + }, + { + "id": "tunnel_trunk_primary", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "primary", + "trunk" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fff4c6", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "tunnel_motorway", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "motorway" + ], + [ + "==", + "brunnel", + "tunnel" + ] + ], + "layout": { + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#ffdaa6", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "tunnel_major_rail", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "tunnel" + ], + [ + "in", + "class", + "rail" + ] + ], + "paint": { + "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ [ - 8, - 1 + 14, + 0.4 + ], + [ + 15, + 0.75 ], [ 20, @@ -296,33 +1125,40 @@ } }, { - "id": "waterway", + "id": "tunnel_major_rail_hatching", "type": "line", + "metadata": {}, "source": "openmaptiles", - "source-layer": "waterway", + "source-layer": "transportation", "filter": [ "all", [ "==", - "$type", - "LineString" + "brunnel", + "tunnel" ], [ - "!in", - "brunnel", - "tunnel", - "bridge" + "==", + "class", + "rail" ] ], "paint": { - "line-color": "hsl(205, 56%, 73%)", - "line-opacity": 1, + "line-color": "#bbb", + "line-dasharray": [ + 0.2, + 8 + ], "line-width": { "base": 1.4, "stops": [ [ - 8, - 1 + 14.5, + 0 + ], + [ + 15, + 3 ], [ 20, @@ -333,18 +1169,53 @@ } }, { - "id": "tunnel_railway_transit", + "id": "tunnel_transit_rail", "type": "line", + "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", - "minzoom": 0, "filter": [ "all", [ "==", - "$type", - "LineString" + "brunnel", + "tunnel" ], + [ + "in", + "class", + "transit" + ] + ], + "paint": { + "line-color": "#bbb", + "line-width": { + "base": 1.4, + "stops": [ + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] + ] + } + } + }, + { + "id": "tunnel_transit_rail_hatching", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", [ "==", "brunnel", @@ -356,91 +1227,35 @@ "transit" ] ], - "layout": { - "line-cap": "butt", - "line-join": "miter" - }, "paint": { - "line-color": "hsl(34, 12%, 66%)", + "line-color": "#bbb", "line-dasharray": [ - 3, - 3 + 0.2, + 8 ], - "line-opacity": { - "base": 1, + "line-width": { + "base": 1.4, "stops": [ [ - 11, + 14.5, 0 ], [ - 16, - 1 + 15, + 3 + ], + [ + 20, + 8 ] ] } } }, { - "id": "building", - "type": "fill", - "source": "openmaptiles", - "source-layer": "building", - "paint": { - "fill-antialias": true, - "fill-color": "rgba(222, 211, 190, 1)", - "fill-opacity": { - "base": 1, - "stops": [ - [ - 13, - 0 - ], - [ - 15, - 1 - ] - ] - }, - "fill-outline-color": { - "stops": [ - [ - 15, - "rgba(212, 177, 146, 0)" - ], - [ - 16, - "rgba(212, 177, 146, 0.5)" - ] - ] - } - } - }, - { - "id": "housenumber", - "type": "symbol", - "source": "openmaptiles", - "source-layer": "housenumber", - "minzoom": 17, - "filter": [ - "==", - "$type", - "Point" - ], - "layout": { - "text-field": "{housenumber}", - "text-font": [ - "Noto Sans Regular" - ], - "text-size": 10 - }, - "paint": { - "text-color": "rgba(212, 177, 146, 1)" - } - }, - { - "id": "road_bridge_area", + "id": "road_area_pattern", "type": "fill", + "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -449,81 +1264,39 @@ "==", "$type", "Polygon" - ], - [ - "in", - "brunnel", - "bridge" - ] - ], - "layout": {}, - "paint": { - "fill-color": "hsl(47, 26%, 88%)", - "fill-opacity": 0.5 - } - }, - { - "id": "road_path", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "path", - "track" ] ], "layout": { - "line-cap": "square", - "line-join": "bevel" + "visibility": "visible" }, "paint": { - "line-color": "hsl(0, 0%, 97%)", - "line-dasharray": [ - 1, - 1 - ], - "line-width": { - "base": 1.55, - "stops": [ - [ - 4, - 0.25 - ], - [ - 20, - 10 - ] - ] - } + "fill-pattern": "pedestrian_polygon" } }, { - "id": "road_minor", + "id": "road_motorway_link_casing", "type": "line", + "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", - "minzoom": 13, + "minzoom": 12, "filter": [ "all", [ - "==", - "$type", - "LineString" + "!in", + "brunnel", + "bridge", + "tunnel" ], [ - "in", + "==", "class", - "minor", - "service" + "motorway" + ], + [ + "==", + "ramp", + 1 ] ], "layout": { @@ -531,229 +1304,104 @@ "line-join": "round" }, "paint": { - "line-color": "hsl(0, 0%, 97%)", - "line-width": { - "base": 1.55, - "stops": [ - [ - 4, - 0.25 - ], - [ - 20, - 30 - ] - ] - } - } - }, - { - "id": "tunnel_minor", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "brunnel", - "tunnel" - ], - [ - "==", - "class", - "minor_road" - ] - ], - "layout": { - "line-cap": "butt", - "line-join": "miter" - }, - "paint": { - "line-color": "#efefef", - "line-dasharray": [ - 0.36, - 0.18 - ], - "line-width": { - "base": 1.55, - "stops": [ - [ - 4, - 0.25 - ], - [ - 20, - 30 - ] - ] - } - } - }, - { - "id": "tunnel_major", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "brunnel", - "tunnel" - ], - [ - "in", - "class", - "primary", - "secondary", - "tertiary", - "trunk" - ] - ], - "layout": { - "line-cap": "butt", - "line-join": "miter" - }, - "paint": { - "line-color": "#fff", - "line-dasharray": [ - 0.28, - 0.14 - ], - "line-width": { - "base": 1.4, - "stops": [ - [ - 6, - 0.5 - ], - [ - 20, - 30 - ] - ] - } - } - }, - { - "id": "aeroway-area", - "type": "fill", - "metadata": { - "mapbox:group": "1444849345966.4436" - }, - "source": "openmaptiles", - "source-layer": "aeroway", - "minzoom": 4, - "filter": [ - "all", - [ - "==", - "$type", - "Polygon" - ], - [ - "in", - "class", - "runway", - "taxiway" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(255, 255, 255, 1)", - "fill-opacity": { - "base": 1, - "stops": [ - [ - 13, - 0 - ], - [ - 14, - 1 - ] - ] - } - } - }, - { - "id": "aeroway-taxiway", - "type": "line", - "metadata": { - "mapbox:group": "1444849345966.4436" - }, - "source": "openmaptiles", - "source-layer": "aeroway", - "minzoom": 12, - "filter": [ - "all", - [ - "in", - "class", - "taxiway" - ], - [ - "==", - "$type", - "LineString" - ] - ], - "layout": { - "line-cap": "round", - "line-join": "round", - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(255, 255, 255, 1)", + "line-color": "#e9ac77", "line-opacity": 1, "line-width": { - "base": 1.5, + "base": 1.2, "stops": [ [ 12, 1 ], [ - 17, - 10 + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 ] ] } } }, { - "id": "aeroway-runway", + "id": "road_service_track_casing", "type": "line", - "metadata": { - "mapbox:group": "1444849345966.4436" - }, + "metadata": {}, "source": "openmaptiles", - "source-layer": "aeroway", - "minzoom": 4, + "source-layer": "transportation", "filter": [ "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], [ "in", "class", - "runway" + "service", + "track" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "#cfcdca", + "line-width": { + "base": 1.2, + "stops": [ + [ + 15, + 1 + ], + [ + 16, + 4 + ], + [ + 20, + 11 + ] + ] + } + } + }, + { + "id": "road_link_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 13, + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "!in", + "class", + "pedestrian", + "path", + "track", + "service" ], [ "==", - "$type", - "LineString" + "ramp", + "1" ] ], "layout": { @@ -762,26 +1410,35 @@ "visibility": "visible" }, "paint": { - "line-color": "rgba(255, 255, 255, 1)", + "line-color": "#e9ac77", "line-opacity": 1, "line-width": { - "base": 1.5, + "base": 1.2, "stops": [ [ - 11, + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, 4 ], [ - 17, - 50 + 20, + 15 ] ] } } }, { - "id": "road_trunk_primary", + "id": "road_minor_casing", "type": "line", + "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -791,11 +1448,21 @@ "$type", "LineString" ], + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], [ "in", "class", - "trunk", - "primary" + "minor" + ], + [ + "!=", + "ramp", + "1" ] ], "layout": { @@ -803,53 +1470,33 @@ "line-join": "round" }, "paint": { - "line-color": "#fff", - "line-width": { - "base": 1.4, + "line-color": "#cfcdca", + "line-opacity": { "stops": [ [ - 6, + 12, + 0 + ], + [ + 12.5, + 1 + ] + ] + }, + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, 0.5 ], [ - 20, - 30 - ] - ] - } - } - }, - { - "id": "road_secondary_tertiary", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "in", - "class", - "secondary", - "tertiary" - ] - ], - "layout": { - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#fff", - "line-width": { - "base": 1.4, - "stops": [ + 13, + 1 + ], [ - 6, - 0.5 + 14, + 4 ], [ 20, @@ -860,8 +1507,1017 @@ } }, { - "id": "road_major_motorway", + "id": "road_secondary_tertiary_casing", "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ], + [ + "!=", + "ramp", + 1 + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#e9ac77", + "line-opacity": 1, + "line-width": { + "base": 1.2, + "stops": [ + [ + 8, + 1.5 + ], + [ + 20, + 17 + ] + ] + } + } + }, + { + "id": "road_trunk_primary_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "primary", + "trunk" + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#e9ac77", + "line-opacity": 1, + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] + ] + } + } + }, + { + "id": "road_motorway_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 5, + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ], + [ + "!=", + "ramp", + "1" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] + ] + } + } + }, + { + "id": "road_path_pedestrian", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 14, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "path", + "pedestrian" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "hsl(0, 0%, 100%)", + "line-dasharray": [ + 1, + 0.7 + ], + "line-width": { + "base": 1.2, + "stops": [ + [ + 14, + 1 + ], + [ + 20, + 10 + ] + ] + } + } + }, + { + "id": "road_motorway_link", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 12, + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ], + [ + "==", + "ramp", + 1 + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "#fc8", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "road_service_track", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "service", + "track" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "#fff", + "line-width": { + "base": 1.2, + "stops": [ + [ + 15.5, + 0 + ], + [ + 16, + 2 + ], + [ + 20, + 7.5 + ] + ] + } + } + }, + { + "id": "road_link", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 13, + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "ramp", + 1 + ], + [ + "!in", + "class", + "pedestrian", + "path", + "track", + "service" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "road_secondary_tertiary", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 6.5, + 0 + ], + [ + 8, + 0.5 + ], + [ + 20, + 13 + ] + ] + } + } + }, + { + "id": "road_trunk_primary", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "primary", + "trunk" + ] + ], + "layout": { + "line-cap": "butt", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "road_motorway", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 5, + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "motorway" + ], + [ + "!=", + "ramp", + 1 + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": { + "base": 1, + "stops": [ + [ + 5, + "hsl(26, 87%, 62%)" + ], + [ + 6, + "#fc8" + ] + ] + }, + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "road_major_rail", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "rail" + ] + ], + "paint": { + "line-color": "#bbb", + "line-width": { + "base": 1.4, + "stops": [ + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] + ] + } + } + }, + { + "id": "road_major_rail_hatching", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "rail" + ] + ], + "paint": { + "line-color": "#bbb", + "line-dasharray": [ + 0.2, + 8 + ], + "line-width": { + "base": 1.4, + "stops": [ + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] + ] + } + } + }, + { + "id": "road_transit_rail", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "transit" + ] + ], + "paint": { + "line-color": "#bbb", + "line-width": { + "base": 1.4, + "stops": [ + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] + ] + } + } + }, + { + "id": "road_transit_rail_hatching", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "==", + "class", + "transit" + ] + ], + "paint": { + "line-color": "#bbb", + "line-dasharray": [ + 0.2, + 8 + ], + "line-width": { + "base": 1.4, + "stops": [ + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] + ] + } + } + }, + { + "id": "road_minor-copy", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "all", + [ + "!in", + "brunnel", + "bridge", + "tunnel" + ], + [ + "in", + "class", + "minor" + ] + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "#fff", + "line-opacity": 1, + "line-width": { + "base": 1.2, + "stops": [ + [ + 13.5, + 0 + ], + [ + 14, + 2.5 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "building", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "building", + "minzoom": 13, + "maxzoom": 14, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "hsl(35, 8%, 85%)", + "fill-outline-color": { + "base": 1, + "stops": [ + [ + 13, + "hsla(35, 6%, 79%, 0.32)" + ], + [ + 14, + "hsl(35, 6%, 79%)" + ] + ] + } + } + }, + { + "id": "building-3d", + "type": "fill-extrusion", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "building", + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-extrusion-color": "hsl(35, 8%, 85%)", + "fill-extrusion-height": { + "property": "render_height", + "type": "identity" + }, + "fill-extrusion-base": { + "property": "render_min_height", + "type": "identity" + }, + "fill-extrusion-opacity": 0.8 + } + }, + { + "id": "bridge_motorway_link_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "motorway_link" + ], + [ + "==", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "bridge" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-opacity": 1, + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + } + } + }, + { + "id": "bridge_service_track_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "service", + "track" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#cfcdca", + "line-width": { + "base": 1.2, + "stops": [ + [ + 15, + 1 + ], + [ + 16, + 4 + ], + [ + 20, + 11 + ] + ] + } + } + }, + { + "id": "bridge_link_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "link" + ], + [ + "==", + "brunnel", + "bridge" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-opacity": 1, + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 1 + ], + [ + 13, + 3 + ], + [ + 14, + 4 + ], + [ + 20, + 15 + ] + ] + } + } + }, + { + "id": "bridge_street_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "street", + "street_limited" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "hsl(36, 6%, 74%)", + "line-opacity": { + "stops": [ + [ + 12, + 0 + ], + [ + 12.5, + 1 + ] + ] + }, + "line-width": { + "base": 1.2, + "stops": [ + [ + 12, + 0.5 + ], + [ + 13, + 1 + ], + [ + 14, + 4 + ], + [ + 20, + 25 + ] + ] + } + } + }, + { + "id": "bridge_path_pedestrian_casing", + "type": "line", + "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -873,26 +2529,217 @@ ], [ "==", + "brunnel", + "bridge" + ], + [ + "in", "class", - "motorway" + "path", + "pedestrian" + ] + ], + "layout": { + "line-join": "miter", + "visibility": "visible" + }, + "paint": { + "line-color": "hsl(35, 6%, 80%)", + "line-dasharray": [ + 1, + 0 + ], + "line-width": { + "base": 1.2, + "stops": [ + [ + 14, + 1.5 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "bridge_secondary_tertiary_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "secondary", + "tertiary" ] ], "layout": { - "line-cap": "round", "line-join": "round" }, "paint": { - "line-color": "hsl(0, 0%, 100%)", - "line-offset": 0, + "line-color": "#e9ac77", + "line-opacity": 1, "line-width": { - "base": 1.4, + "base": 1.2, "stops": [ [ 8, - 1 + 1.5 ], [ - 16, + 20, + 17 + ] + ] + } + } + }, + { + "id": "bridge_trunk_primary_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "primary", + "trunk" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] + ] + } + } + }, + { + "id": "bridge_motorway_casing", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "motorway" + ], + [ + "==", + "brunnel", + "bridge" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#e9ac77", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 20, + 22 + ] + ] + } + } + }, + { + "id": "bridge_path_pedestrian", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "path", + "pedestrian" + ] + ], + "paint": { + "line-color": "hsl(0, 0%, 100%)", + "line-dasharray": [ + 1, + 0.3 + ], + "line-width": { + "base": 1.2, + "stops": [ + [ + 14, + 0.5 + ], + [ + 20, 10 ] ] @@ -900,46 +2747,411 @@ } }, { - "id": "road_oneway_opposite", - "type": "symbol", + "id": "bridge_motorway_link", + "type": "line", + "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", - "minzoom": 15, "filter": [ "all", [ "==", - "oneway", - -1 + "class", + "motorway_link" + ], + [ + "==", + "ramp", + 1 + ], + [ + "==", + "brunnel", + "bridge" ] ], "layout": { - "icon-image": "oneway", - "icon-padding": 2, - "icon-rotate": 180, - "icon-rotation-alignment": "map", - "icon-size": { - "stops": [ - [ - 15, - 0.5 - ], - [ - 19, - 1 - ] - ] - }, - "symbol-placement": "line", - "symbol-spacing": 200 + "line-join": "round" }, "paint": { - "icon-opacity": 0.5 + "line-color": "#fc8", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } } }, { - "id": "railway-transit", + "id": "bridge_service_track", "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "service", + "track" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fff", + "line-width": { + "base": 1.2, + "stops": [ + [ + 15.5, + 0 + ], + [ + 16, + 2 + ], + [ + 20, + 7.5 + ] + ] + } + } + }, + { + "id": "bridge_link", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "link" + ], + [ + "==", + "brunnel", + "bridge" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 12.5, + 0 + ], + [ + 13, + 1.5 + ], + [ + 14, + 2.5 + ], + [ + 20, + 11.5 + ] + ] + } + } + }, + { + "id": "bridge_street", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "minor" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fff", + "line-opacity": 1, + "line-width": { + "base": 1.2, + "stops": [ + [ + 13.5, + 0 + ], + [ + 14, + 2.5 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "bridge_secondary_tertiary", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "secondary", + "tertiary" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 6.5, + 0 + ], + [ + 7, + 0.5 + ], + [ + 20, + 10 + ] + ] + } + } + }, + { + "id": "bridge_trunk_primary", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "brunnel", + "bridge" + ], + [ + "in", + "class", + "primary", + "trunk" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fea", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "bridge_motorway", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "motorway" + ], + [ + "==", + "brunnel", + "bridge" + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#fc8", + "line-width": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 1 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "bridge_major_rail", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "rail" + ], + [ + "==", + "brunnel", + "bridge" + ] + ], + "paint": { + "line-color": "#bbb", + "line-width": { + "base": 1.4, + "stops": [ + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] + ] + } + } + }, + { + "id": "bridge_major_rail_hatching", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "class", + "rail" + ], + [ + "==", + "brunnel", + "bridge" + ] + ], + "paint": { + "line-color": "#bbb", + "line-dasharray": [ + 0.2, + 8 + ], + "line-width": { + "base": 1.4, + "stops": [ + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] + ] + } + } + }, + { + "id": "bridge_transit_rail", + "type": "line", + "metadata": {}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -949,400 +3161,132 @@ "class", "transit" ], - [ - "!=", - "brunnel", - "tunnel" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(34, 12%, 66%)", - "line-opacity": { - "base": 1, - "stops": [ - [ - 11, - 0 - ], - [ - 16, - 1 - ] - ] - } - } - }, - { - "id": "railway", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "==", - "class", - "rail" - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsl(34, 12%, 66%)", - "line-opacity": { - "base": 1, - "stops": [ - [ - 11, - 0 - ], - [ - 16, - 1 - ] - ] - } - } - }, - { - "id": "waterway-bridge-case", - "type": "line", - "source": "openmaptiles", - "source-layer": "waterway", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], [ "==", "brunnel", "bridge" ] ], - "layout": { - "line-cap": "butt", - "line-join": "miter" - }, "paint": { - "line-color": "#bbbbbb", - "line-gap-width": { - "base": 1.55, - "stops": [ - [ - 4, - 0.25 - ], - [ - 20, - 30 - ] - ] - }, - "line-width": { - "base": 1.6, - "stops": [ - [ - 12, - 0.5 - ], - [ - 20, - 10 - ] - ] - } - } - }, - { - "id": "waterway-bridge", - "type": "line", - "source": "openmaptiles", - "source-layer": "waterway", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "brunnel", - "bridge" - ] - ], - "layout": { - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "hsl(205, 56%, 73%)", - "line-width": { - "base": 1.55, - "stops": [ - [ - 4, - 0.25 - ], - [ - 20, - 30 - ] - ] - } - } - }, - { - "id": "bridge_minor case", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "brunnel", - "bridge" - ], - [ - "==", - "class", - "minor_road" - ] - ], - "layout": { - "line-cap": "butt", - "line-join": "miter" - }, - "paint": { - "line-color": "#dedede", - "line-gap-width": { - "base": 1.55, - "stops": [ - [ - 4, - 0.25 - ], - [ - 20, - 30 - ] - ] - }, - "line-width": { - "base": 1.6, - "stops": [ - [ - 12, - 0.5 - ], - [ - 20, - 10 - ] - ] - } - } - }, - { - "id": "bridge_major case", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "brunnel", - "bridge" - ], - [ - "in", - "class", - "primary", - "secondary", - "tertiary", - "trunk" - ] - ], - "layout": { - "line-cap": "butt", - "line-join": "miter" - }, - "paint": { - "line-color": "#dedede", - "line-gap-width": { - "base": 1.55, - "stops": [ - [ - 4, - 0.25 - ], - [ - 20, - 30 - ] - ] - }, - "line-width": { - "base": 1.6, - "stops": [ - [ - 12, - 0.5 - ], - [ - 20, - 10 - ] - ] - } - } - }, - { - "id": "bridge_minor", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "brunnel", - "bridge" - ], - [ - "==", - "class", - "minor_road" - ] - ], - "layout": { - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#efefef", - "line-width": { - "base": 1.55, - "stops": [ - [ - 4, - 0.25 - ], - [ - 20, - 30 - ] - ] - } - } - }, - { - "id": "bridge_major", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - [ - "==", - "$type", - "LineString" - ], - [ - "==", - "brunnel", - "bridge" - ], - [ - "in", - "class", - "primary", - "secondary", - "tertiary", - "trunk" - ] - ], - "layout": { - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#fff", + "line-color": "#bbb", "line-width": { "base": 1.4, "stops": [ [ - 6, - 0.5 + 14, + 0.4 + ], + [ + 15, + 0.75 ], [ 20, - 30 + 2 ] ] } } }, { - "id": "admin_sub", + "id": "bridge_transit_rail_hatching", "type": "line", + "metadata": {}, "source": "openmaptiles", - "source-layer": "boundary", + "source-layer": "transportation", "filter": [ - "in", - "admin_level", - 4, - 6, - 8 - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "hsla(0, 0%, 60%, 0.5)", - "line-dasharray": [ - 2, - 1 + "all", + [ + "==", + "class", + "transit" + ], + [ + "==", + "brunnel", + "bridge" ] + ], + "paint": { + "line-color": "#bbb", + "line-dasharray": [ + 0.2, + 8 + ], + "line-width": { + "base": 1.4, + "stops": [ + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] + ] + } } }, { - "id": "admin_country", + "id": "boundary_3", "type": "line", + "metadata": {}, "source": "openmaptiles", "source-layer": "boundary", "filter": [ "all", [ - "<=", + "in", "admin_level", - 2 + 3, + 4 + ] + ], + "layout": { + "line-join": "round" + }, + "paint": { + "line-color": "#9e9cab", + "line-dasharray": [ + 5, + 1 ], + "line-width": { + "base": 1, + "stops": [ + [ + 4, + 0.4 + ], + [ + 5, + 1 + ], + [ + 12, + 1.8 + ] + ] + } + } + }, + { + "id": "boundary_2", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "boundary", + "filter": [ + "all", [ "==", - "$type", - "LineString" + "admin_level", + 2 ] ], "layout": { @@ -1350,25 +3294,188 @@ "line-join": "round" }, "paint": { - "line-color": "hsl(0, 0%, 60%)", + "line-color": "hsl(248, 1%, 41%)", + "line-opacity": { + "base": 1, + "stops": [ + [ + 0, + 0.4 + ], + [ + 4, + 1 + ] + ] + }, "line-width": { - "base": 1.3, + "base": 1, "stops": [ [ 3, - 0.5 + 1 ], [ - 22, - 15 + 5, + 1.2 + ], + [ + 12, + 3 ] ] } } }, { - "id": "poi_label", + "id": "water_name_line", "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "water_name", + "minzoom": 0, + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ] + ], + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Regular" + ], + "text-max-width": 5, + "text-size": 12, + "symbol-placement": "line" + }, + "paint": { + "text-color": "#5d60be", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 1 + } + }, + { + "id": "water_name_point", + "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "water_name", + "minzoom": 0, + "filter": [ + "==", + "$type", + "Point" + ], + "layout": { + "text-field": "{name}", + "text-font": [ + "Roboto Regular" + ], + "text-max-width": 5, + "text-size": 12 + }, + "paint": { + "text-color": "#5d60be", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 1 + } + }, + { + "id": "poi_z16", + "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "poi", + "minzoom": 16, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + ">=", + "rank", + 20 + ] + ], + "layout": { + "icon-image": "{class}_11", + "text-anchor": "top", + "text-field": "{name}", + "text-font": [ + "Roboto Condensed Italic" + ], + "text-max-width": 9, + "text-offset": [ + 0, + 0.6 + ], + "text-padding": 2, + "text-size": 12 + }, + "paint": { + "text-color": "#666", + "text-halo-blur": 0.5, + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "id": "poi_z15", + "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "poi", + "minzoom": 15, + "filter": [ + "all", + [ + "==", + "$type", + "Point" + ], + [ + ">=", + "rank", + 7 + ], + [ + "<", + "rank", + 20 + ] + ], + "layout": { + "icon-image": "{class}_11", + "text-anchor": "top", + "text-field": "{name}", + "text-font": [ + "Roboto Condensed Italic" + ], + "text-max-width": 9, + "text-offset": [ + 0, + 0.6 + ], + "text-padding": 2, + "text-size": 12 + }, + "paint": { + "text-color": "#666", + "text-halo-blur": 0.5, + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "id": "poi_z14", + "type": "symbol", + "metadata": {}, "source": "openmaptiles", "source-layer": "poi", "minzoom": 14, @@ -1380,95 +3487,197 @@ "Point" ], [ - "==", + ">=", "rank", 1 + ], + [ + "<", + "rank", + 7 ] ], "layout": { - "icon-size": 1, + "icon-image": "{class}_11", "text-anchor": "top", - "text-field": "{name:latin}\n{name:nonlatin}", + "text-field": "{name}", "text-font": [ - "Noto Sans Regular" + "Roboto Condensed Italic" ], - "text-max-width": 8, + "text-max-width": 9, "text-offset": [ 0, - 0.5 + 0.6 ], - "text-size": 11, - "visibility": "visible" + "text-padding": 2, + "text-size": 12 }, "paint": { "text-color": "#666", - "text-halo-blur": 1, - "text-halo-color": "rgba(255,255,255,0.75)", + "text-halo-blur": 0.5, + "text-halo-color": "#ffffff", "text-halo-width": 1 } }, { - "id": "airport-label", + "id": "poi_transit", "type": "symbol", + "metadata": {}, "source": "openmaptiles", - "source-layer": "aerodrome_label", - "minzoom": 10, + "source-layer": "poi", "filter": [ "all", [ - "has", - "iata" + "in", + "class", + "bus", + "rail", + "airport" ] ], "layout": { - "icon-size": 1, - "text-anchor": "top", - "text-field": "{name:latin}\n{name:nonlatin}", + "icon-image": "{class}_11", + "text-anchor": "left", + "text-field": "{name_en}", "text-font": [ - "Noto Sans Regular" + "Roboto Condensed Italic" ], - "text-max-width": 8, + "text-max-width": 9, "text-offset": [ - 0, - 0.5 + 0.9, + 0 ], - "text-size": 11, + "text-padding": 2, + "text-size": 12, "visibility": "visible" }, "paint": { - "text-color": "#666", - "text-halo-blur": 1, - "text-halo-color": "rgba(255,255,255,0.75)", + "text-color": "#4898ff", + "text-halo-blur": 0.5, + "text-halo-color": "#ffffff", "text-halo-width": 1 } }, { - "id": "road_major_label", + "id": "road_label", "type": "symbol", + "metadata": {}, "source": "openmaptiles", "source-layer": "transportation_name", "filter": [ - "==", - "$type", - "LineString" + "all" ], "layout": { "symbol-placement": "line", - "text-field": "{name:latin} {name:nonlatin}", + "text-anchor": "center", + "text-field": "{name}", "text-font": [ - "Noto Sans Regular" + "Roboto Regular" + ], + "text-offset": [ + 0, + 0.15 ], - "text-letter-spacing": 0.1, - "text-rotation-alignment": "map", "text-size": { - "base": 1.4, + "base": 1, + "stops": [ + [ + 13, + 12 + ], + [ + 14, + 13 + ] + ] + } + }, + "paint": { + "text-color": "#765", + "text-halo-blur": 0.5, + "text-halo-width": 1 + } + }, + { + "id": "road_shield", + "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation_name", + "minzoom": 7, + "filter": [ + "all", + [ + "<=", + "ref_length", + 6 + ] + ], + "layout": { + "icon-image": "default_{ref_length}", + "icon-rotation-alignment": "viewport", + "symbol-placement": { + "base": 1, "stops": [ [ 10, - 8 + "point" ], [ - 20, + 11, + "line" + ] + ] + }, + "symbol-spacing": 500, + "text-field": "{ref}", + "text-font": [ + "Roboto Regular" + ], + "text-offset": [ + 0, + 0.1 + ], + "text-rotation-alignment": "viewport", + "text-size": 10, + "icon-size": 0.8 + }, + "paint": {} + }, + { + "id": "place_other", + "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "place", + "filter": [ + "all", + [ + "in", + "class", + "hamlet", + "island", + "islet", + "neighbourhood", + "suburb" + ] + ], + "layout": { + "text-field": "{name_en}", + "text-font": [ + "Roboto Condensed Italic" + ], + "text-letter-spacing": 0.1, + "text-max-width": 9, + "text-size": { + "base": 1.2, + "stops": [ + [ + 12, + 10 + ], + [ + 15, 14 ] ] @@ -1476,74 +3685,118 @@ "text-transform": "uppercase" }, "paint": { - "text-color": "#000", - "text-halo-color": "hsl(0, 0%, 100%)", - "text-halo-width": 2 + "text-color": "#633", + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-width": 1.2 } }, { - "id": "place_label_other", + "id": "place_village", "type": "symbol", + "metadata": {}, "source": "openmaptiles", "source-layer": "place", - "minzoom": 8, "filter": [ "all", [ "==", - "$type", - "Point" - ], - [ - "!in", "class", - "city", - "state", - "country", - "continent" + "village" ] ], "layout": { - "text-anchor": "center", - "text-field": "{name:latin}\n{name:nonlatin}", + "text-field": "{name_en}", "text-font": [ - "Noto Sans Regular" + "Roboto Regular" ], - "text-max-width": 6, + "text-max-width": 8, "text-size": { + "base": 1.2, "stops": [ [ - 6, - 10 + 10, + 12 ], [ - 12, - 14 + 15, + 22 ] ] - }, - "visibility": "visible" + } }, "paint": { - "text-color": "hsl(0, 0%, 25%)", - "text-halo-blur": 0, - "text-halo-color": "hsl(0, 0%, 100%)", - "text-halo-width": 2 + "text-color": "#333", + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-width": 1.2 } }, { - "id": "place_label_city", + "id": "place_town", "type": "symbol", + "metadata": {}, "source": "openmaptiles", "source-layer": "place", - "maxzoom": 16, "filter": [ "all", [ "==", - "$type", - "Point" + "class", + "town" + ] + ], + "layout": { + "icon-image": { + "base": 1, + "stops": [ + [ + 0, + "dot_9" + ], + [ + 8, + "" + ] + ] + }, + "text-anchor": "bottom", + "text-field": "{name_en}", + "text-font": [ + "Roboto Regular" ], + "text-max-width": 8, + "text-offset": [ + 0, + 0 + ], + "text-size": { + "base": 1.2, + "stops": [ + [ + 7, + 12 + ], + [ + 11, + 16 + ] + ] + } + }, + "paint": { + "text-color": "#333", + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-width": 1.2 + } + }, + { + "id": "place_city", + "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "place", + "minzoom": 5, + "filter": [ + "all", [ "==", "class", @@ -1551,131 +3804,259 @@ ] ], "layout": { - "text-field": "{name:latin}\n{name:nonlatin}", - "text-font": [ - "Noto Sans Regular" - ], - "text-max-width": 10, - "text-size": { + "icon-image": { + "base": 1, "stops": [ [ - 3, - 12 + 0, + "dot_9" ], [ 8, - 16 + "" ] ] - } + }, + "text-anchor": "bottom", + "text-field": "{name_en}", + "text-font": [ + "Roboto Medium" + ], + "text-max-width": 8, + "text-offset": [ + 0, + 0 + ], + "text-size": { + "base": 1.2, + "stops": [ + [ + 7, + 14 + ], + [ + 11, + 24 + ] + ] + }, + "icon-allow-overlap": true, + "icon-optional": false }, "paint": { - "text-color": "hsl(0, 0%, 0%)", - "text-halo-blur": 0, - "text-halo-color": "hsla(0, 0%, 100%, 0.75)", - "text-halo-width": 2 + "text-color": "#333", + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-width": 1.2 } }, { - "id": "country_label-other", + "id": "state", "type": "symbol", + "metadata": {}, "source": "openmaptiles", "source-layer": "place", - "maxzoom": 12, + "maxzoom": 6, "filter": [ "all", [ "==", - "$type", - "Point" + "class", + "state" + ] + ], + "layout": { + "text-field": "{name_en}", + "text-font": [ + "Roboto Condensed Italic" + ], + "text-size": { + "stops": [ + [ + 4, + 11 + ], + [ + 6, + 15 + ] + ] + }, + "text-transform": "uppercase" + }, + "paint": { + "text-color": "#633", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 1 + } + }, + { + "id": "country_3", + "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "place", + "filter": [ + "all", + [ + ">=", + "rank", + 3 ], [ "==", "class", "country" - ], - [ - "!has", - "iso_a2" ] ], "layout": { - "text-field": "{name:latin}", + "text-field": "{name_en}", "text-font": [ - "Noto Sans Regular" + "Roboto Condensed Italic" ], - "text-max-width": 10, + "text-max-width": 6.25, "text-size": { "stops": [ [ 3, - 12 + 11 ], [ - 8, - 22 + 7, + 17 ] ] }, - "visibility": "visible" + "text-transform": "none" }, "paint": { - "text-color": "hsl(0, 0%, 13%)", - "text-halo-blur": 0, - "text-halo-color": "rgba(255,255,255,0.75)", - "text-halo-width": 2 + "text-color": "#334", + "text-halo-blur": 1, + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-width": 1 } }, { - "id": "country_label", + "id": "country_2", "type": "symbol", + "metadata": {}, "source": "openmaptiles", "source-layer": "place", - "maxzoom": 12, "filter": [ "all", [ "==", - "$type", - "Point" + "rank", + 2 ], [ "==", "class", "country" - ], - [ - "has", - "iso_a2" ] ], "layout": { - "text-field": "{name:latin}", + "text-field": "{name_en}", "text-font": [ - "Noto Sans Bold" + "Roboto Condensed Italic" ], - "text-max-width": 10, + "text-max-width": 6.25, "text-size": { "stops": [ [ - 3, - 12 + 2, + 11 ], [ - 8, - 22 + 5, + 17 ] ] }, - "visibility": "visible" + "text-transform": "none" }, "paint": { - "text-color": "hsl(0, 0%, 13%)", - "text-halo-blur": 0, - "text-halo-color": "rgba(255,255,255,0.75)", - "text-halo-width": 2 + "text-color": "#334", + "text-halo-blur": 1, + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-width": 1 + } + }, + { + "id": "country_1", + "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "place", + "filter": [ + "all", + [ + "==", + "rank", + 1 + ], + [ + "==", + "class", + "country" + ] + ], + "layout": { + "text-field": "{name_en}", + "text-font": [ + "Roboto Condensed Italic" + ], + "text-max-width": 6.25, + "text-size": { + "stops": [ + [ + 1, + 11 + ], + [ + 4, + 17 + ] + ] + }, + "text-transform": "none" + }, + "paint": { + "text-color": "#334", + "text-halo-blur": 1, + "text-halo-color": "rgba(255,255,255,0.8)", + "text-halo-width": 1 + } + }, + { + "id": "continent", + "type": "symbol", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 1, + "filter": [ + "all", + [ + "==", + "class", + "continent" + ] + ], + "layout": { + "text-field": "{name_en}", + "text-font": [ + "Roboto Condensed Italic" + ], + "text-size": 13, + "text-transform": "uppercase", + "text-justify": "center" + }, + "paint": { + "text-color": "#633", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 1 } } ], - "id": "klokantech-basic" + "id": "osm-liberty" } \ No newline at end of file