From e31b2a2bbd06d55f19693390a6f5be5b4f6513fc Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Wed, 19 Apr 2023 07:42:37 -0400 Subject: [PATCH] new style --- lightning/src/style.json | 2623 ++++++++++++++++++++++++++++++++------ 1 file changed, 2238 insertions(+), 385 deletions(-) diff --git a/lightning/src/style.json b/lightning/src/style.json index dc813dc..c8dec5f 100644 --- a/lightning/src/style.json +++ b/lightning/src/style.json @@ -1,133 +1,210 @@ { "version": 8, "name": "BadassMap", - "id": "BadassMap", "metadata": { "mapbox:autocomposite": false, - "maputnik:renderer": "mbgljs", - "openmaptiles:version": "3.x" + "mapbox:groups": { + "1444849242106.713": {"collapsed": false, "name": "Places"}, + "1444849334699.1902": {"collapsed": true, "name": "Bridges"}, + "1444849345966.4436": {"collapsed": false, "name": "Roads"}, + "1444849354174.1904": {"collapsed": true, "name": "Tunnels"}, + "1444849364238.8171": {"collapsed": false, "name": "Buildings"}, + "1444849382550.77": {"collapsed": false, "name": "Water"}, + "1444849388993.3071": {"collapsed": false, "name": "Land"} + }, + "mapbox:type": "template", + "openmaptiles:mapbox:owner": "openmaptiles", + "openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t", + "openmaptiles:version": "3.x", + "maputnik:renderer": "mbgljs" }, "center": [-71.05625, 42.36], "zoom": 15.5, "bearing": 160, "pitch": 60, - "light": {"intensity": 0.7, "anchor": "viewport"}, + "light": {"position": [1.15, 210, 30], "color": "#ffffff", "intensity": 1}, "sources": { "openmaptiles": { "type": "vector", "url": "https://marteen.doordesk.net/us-northeast" } }, - "sprite": "https://api.maptiler.com/maps/024da34e-fa66-4cb3-8f5f-0466b51e972e/sprite", + "sprite": "https://openmaptiles.github.io/osm-bright-gl-style/sprite", "glyphs": "https://api.maptiler.com/fonts/{fontstack}/{range}.pbf?key=Ukl2QNcQUCPAwuelQOvM", + "transition": {"delay": 0, "duration": 300}, "layers": [ { "id": "background", "type": "background", "layout": {"visibility": "visible"}, - "paint": {"background-color": "rgba(172, 169, 156, 1)"} - }, - { - "id": "landuse-residential", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landuse", - "filter": [ - "all", - ["==", "$type", "Polygon"], - ["==", "class", "residential"] - ], - "layout": {"visibility": "visible"}, - "paint": {"fill-color": "rgba(204, 202, 195, 1)", "fill-opacity": 0.7} - }, - { - "id": "landcover_grass", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landcover", - "filter": ["==", "class", "grass"], - "paint": {"fill-color": "rgba(172, 196, 131, 1)", "fill-opacity": 0.45} - }, - { - "id": "park", - "type": "fill", - "source": "openmaptiles", - "source-layer": "park", - "paint": {"fill-color": "rgba(172, 196, 131, 1)", "fill-opacity": 1} - }, - { - "id": "landcover_wood", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landcover", - "filter": ["==", "class", "wood"], "paint": { - "fill-color": "rgba(172, 196, 131, 1)", - "fill-opacity": {"base": 1, "stops": [[8, 0.6], [22, 1]]} + "background-color": "rgba(25, 27, 36, 1)", + "background-opacity": 1 } }, - { - "id": "water", - "type": "fill", - "source": "openmaptiles", - "source-layer": "water", - "filter": [ - "all", - ["==", "$type", "Polygon"], - ["!=", "brunnel", "tunnel"] - ], - "paint": {"fill-color": "rgba(128, 173, 205, 1)"} - }, - { - "id": "landcover-ice-shelf", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landcover", - "filter": ["==", "subclass", "ice_shelf"], - "layout": {"visibility": "visible"}, - "paint": {"fill-color": "rgba(212, 209, 196, 1)", "fill-opacity": 0.8} - }, { "id": "landcover-glacier", "type": "fill", + "metadata": {"mapbox:group": "1444849388993.3071"}, "source": "openmaptiles", "source-layer": "landcover", "filter": ["==", "subclass", "glacier"], "layout": {"visibility": "visible"}, "paint": { - "fill-color": "rgba(223, 222, 216, 1)", - "fill-opacity": {"base": 1, "stops": [[0, 1], [8, 0.5]]} + "fill-color": "#36EEE0", + "fill-opacity": 0.1, + "fill-antialias": true } }, { - "id": "landuse", + "id": "landuse-residential", + "type": "fill", + "metadata": {"mapbox:group": "1444849388993.3071"}, + "source": "openmaptiles", + "source-layer": "landuse", + "filter": [ + "all", + ["in", "class", "residential", "suburb", "neighbourhood"] + ], + "layout": {"visibility": "visible"}, + "paint": { + "fill-color": "#BCECE0", + "fill-antialias": true, + "fill-opacity": 0.04 + } + }, + { + "id": "landuse-commercial", + "type": "fill", + "metadata": {"mapbox:group": "1444849388993.3071"}, + "source": "openmaptiles", + "source-layer": "landuse", + "filter": [ + "all", + ["==", "$type", "Polygon"], + ["==", "class", "commercial"] + ], + "layout": {"visibility": "visible"}, + "paint": { + "fill-color": "#BCECE0", + "fill-antialias": true, + "fill-opacity": 0.04 + } + }, + { + "id": "landuse-industrial", "type": "fill", "source": "openmaptiles", "source-layer": "landuse", - "filter": ["==", "class", "agriculture"], + "filter": [ + "all", + ["==", "$type", "Polygon"], + ["in", "class", "industrial", "garages", "dam"] + ], "layout": {"visibility": "visible"}, - "paint": {"fill-color": "rgba(214, 204, 188, 1)"} - }, - { - "id": "landuse_overlay_national_park", - "type": "fill", - "source": "openmaptiles", - "source-layer": "landcover", - "filter": ["==", "class", "national_park"], "paint": { - "fill-color": "rgba(205, 215, 156, 1)", - "fill-opacity": {"base": 1, "stops": [[5, 0], [9, 0.75]]} + "fill-color": "#BCECE0", + "fill-antialias": true, + "fill-opacity": 0.04 } }, { - "id": "park_outline", - "type": "line", + "id": "landuse-cemetery", + "type": "fill", + "metadata": {"mapbox:group": "1444849388993.3071"}, + "source": "openmaptiles", + "source-layer": "landuse", + "filter": ["==", "class", "cemetery"], + "layout": {"visibility": "visible"}, + "paint": { + "fill-color": "#BCECE0", + "fill-antialias": true, + "fill-opacity": 0.04 + } + }, + { + "id": "landuse-hospital", + "type": "fill", + "metadata": {"mapbox:group": "1444849388993.3071"}, + "source": "openmaptiles", + "source-layer": "landuse", + "filter": ["==", "class", "hospital"], + "layout": {"visibility": "visible"}, + "paint": { + "fill-color": "#BCECE0", + "fill-opacity": 0.04, + "fill-antialias": true + } + }, + { + "id": "landuse-school", + "type": "fill", + "metadata": {"mapbox:group": "1444849388993.3071"}, + "source": "openmaptiles", + "source-layer": "landuse", + "filter": ["==", "class", "school"], + "layout": {"visibility": "visible"}, + "paint": { + "fill-color": "#BCECE0", + "fill-antialias": true, + "fill-opacity": 0.04 + } + }, + { + "id": "landuse-railway", + "type": "fill", + "metadata": {"mapbox:group": "1444849388993.3071"}, + "source": "openmaptiles", + "source-layer": "landuse", + "filter": ["==", "class", "railway"], + "layout": {"visibility": "visible"}, + "paint": { + "fill-color": "#BCECE0", + "fill-antialias": true, + "fill-opacity": 0.04 + } + }, + { + "id": "landcover-wood", + "type": "fill", + "metadata": {"mapbox:group": "1444849388993.3071"}, + "source": "openmaptiles", + "source-layer": "landcover", + "filter": ["==", "class", "wood"], + "layout": {"visibility": "visible"}, + "paint": { + "fill-antialias": {"base": 1, "stops": [[0, true], [9, true]]}, + "fill-opacity": 0.03, + "fill-outline-color": "hsla(0, 0%, 0%, 0.03)", + "fill-color": "#4C5270" + } + }, + { + "id": "landcover-grass", + "type": "fill", + "metadata": {"mapbox:group": "1444849388993.3071"}, + "source": "openmaptiles", + "source-layer": "landcover", + "filter": ["==", "class", "grass"], + "layout": {"visibility": "visible"}, + "paint": { + "fill-color": "#BCECE0", + "fill-antialias": true, + "fill-opacity": 0.05 + } + }, + { + "id": "landcover-grass-park", + "type": "fill", + "metadata": {"mapbox:group": "1444849388993.3071"}, "source": "openmaptiles", "source-layer": "park", - "layout": {}, + "filter": ["==", "class", "public_park"], + "layout": {"visibility": "visible"}, "paint": { - "line-color": "rgba(139, 163, 98, 1)", - "line-dasharray": [0.5, 1] + "fill-color": "#4C5270", + "fill-opacity": 0.03, + "fill-antialias": true } }, { @@ -135,74 +212,611 @@ "type": "line", "source": "openmaptiles", "source-layer": "waterway", + "minzoom": 14, "filter": [ "all", - ["==", "$type", "LineString"], + ["in", "class", "river", "stream", "canal"], ["==", "brunnel", "tunnel"] ], - "layout": {"visibility": "visible"}, + "layout": {"line-cap": "round", "visibility": "visible"}, "paint": { - "line-color": "hsl(205, 56%, 73%)", - "line-dasharray": [3, 3], - "line-gap-width": {"stops": [[12, 0], [20, 6]]}, - "line-opacity": 1, - "line-width": {"base": 1.4, "stops": [[8, 1], [20, 2]]} + "line-color": "#BCECE0", + "line-dasharray": [2, 4], + "line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]}, + "line-opacity": 0.1 } }, { - "id": "waterway", + "id": "waterway-other", "type": "line", + "metadata": {"mapbox:group": "1444849382550.77"}, "source": "openmaptiles", "source-layer": "waterway", "filter": [ "all", - ["==", "$type", "LineString"], - ["!=", "intermittent", 1], - ["!in", "brunnel", "tunnel", "bridge"] + ["!in", "class", "canal", "river", "stream"], + ["==", "intermittent", 0] ], + "layout": {"line-cap": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 2]]}, + "line-opacity": 0.1 + } + }, + { + "id": "waterway-other-intermittent", + "type": "line", + "metadata": {"mapbox:group": "1444849382550.77"}, + "source": "openmaptiles", + "source-layer": "waterway", + "filter": [ + "all", + ["!in", "class", "canal", "river", "stream"], + ["==", "intermittent", 1] + ], + "layout": {"line-cap": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [4, 3], + "line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 2]]}, + "line-opacity": 0.1 + } + }, + { + "id": "waterway-stream-canal", + "type": "line", + "metadata": {"mapbox:group": "1444849382550.77"}, + "source": "openmaptiles", + "source-layer": "waterway", + "filter": [ + "all", + ["in", "class", "canal", "stream"], + ["!=", "brunnel", "tunnel"], + ["==", "intermittent", 0] + ], + "layout": {"line-cap": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]}, + "line-opacity": 0.1 + } + }, + { + "id": "waterway-stream-canal-intermittent", + "type": "line", + "metadata": {"mapbox:group": "1444849382550.77"}, + "source": "openmaptiles", + "source-layer": "waterway", + "filter": [ + "all", + ["in", "class", "canal", "stream"], + ["!=", "brunnel", "tunnel"], + ["==", "intermittent", 1] + ], + "layout": {"line-cap": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [4, 3], + "line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]}, + "line-opacity": 0.1 + } + }, + { + "id": "waterway-river", + "type": "line", + "metadata": {"mapbox:group": "1444849382550.77"}, + "source": "openmaptiles", + "source-layer": "waterway", + "filter": [ + "all", + ["==", "class", "river"], + ["!=", "brunnel", "tunnel"], + ["==", "intermittent", 0] + ], + "layout": { + "line-cap": "round", + "visibility": "visible", + "line-join": "miter" + }, + "paint": { + "line-color": "#BCECE0", + "line-width": {"base": 1.2, "stops": [[10, 0.8], [20, 6]]}, + "line-opacity": 0.02 + } + }, + { + "id": "waterway-river-intermittent", + "type": "line", + "metadata": {"mapbox:group": "1444849382550.77"}, + "source": "openmaptiles", + "source-layer": "waterway", + "filter": [ + "all", + ["==", "class", "river"], + ["!=", "brunnel", "tunnel"], + ["==", "intermittent", 1] + ], + "layout": {"line-cap": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [3, 2.5], + "line-width": {"base": 1.2, "stops": [[10, 0.8], [20, 6]]}, + "line-opacity": 0.1 + } + }, + { + "id": "water-offset", + "type": "fill", + "metadata": {"mapbox:group": "1444849382550.77"}, + "source": "openmaptiles", + "source-layer": "water", + "maxzoom": 8, + "filter": ["==", "$type", "Polygon"], + "layout": {"visibility": "visible"}, + "paint": { + "fill-color": "#36EEE0", + "fill-opacity": 0.04, + "fill-translate": {"base": 1, "stops": [[6, [2, 0]], [8, [0, 0]]]}, + "fill-antialias": true + } + }, + { + "id": "water", + "type": "fill", + "metadata": {"mapbox:group": "1444849382550.77"}, + "source": "openmaptiles", + "source-layer": "water", + "filter": ["all", ["!=", "intermittent", 1], ["!=", "brunnel", "tunnel"]], + "layout": {"visibility": "visible"}, + "paint": { + "fill-color": "#36EEE0", + "fill-antialias": true, + "fill-opacity": 0.01 + } + }, + { + "id": "water-intermittent", + "type": "fill", + "metadata": {"mapbox:group": "1444849382550.77"}, + "source": "openmaptiles", + "source-layer": "water", + "filter": ["all", ["==", "intermittent", 1]], + "layout": {"visibility": "none"}, + "paint": {"fill-color": "#36EEE0", "fill-opacity": 0.04} + }, + { + "id": "water-pattern", + "type": "fill", + "metadata": {"mapbox:group": "1444849382550.77"}, + "source": "openmaptiles", + "source-layer": "water", + "filter": ["all"], "layout": {"visibility": "none"}, "paint": { - "line-color": "hsl(205, 56%, 73%)", - "line-opacity": 1, - "line-width": {"base": 1.4, "stops": [[8, 1], [20, 8]]} + "fill-pattern": "wave", + "fill-translate": [0, 2.5], + "fill-color": "#36EEE0", + "fill-opacity": 1, + "fill-antialias": true, + "fill-outline-color": "#36EEE0" } }, { - "id": "waterway_intermittent", - "type": "line", + "id": "landcover-ice-shelf", + "type": "fill", + "metadata": {"mapbox:group": "1444849382550.77"}, "source": "openmaptiles", - "source-layer": "waterway", + "source-layer": "landcover", + "filter": ["==", "subclass", "ice_shelf"], + "layout": {"visibility": "none"}, + "paint": { + "fill-color": "#fff", + "fill-opacity": {"base": 1, "stops": [[0, 0.9], [10, 0.3]]} + } + }, + { + "id": "landcover-sand", + "type": "fill", + "metadata": {"mapbox:group": "1444849382550.77"}, + "source": "openmaptiles", + "source-layer": "landcover", + "filter": ["all", ["==", "class", "sand"]], + "layout": {"visibility": "visible"}, + "paint": { + "fill-color": "#BCECE0", + "fill-antialias": true, + "fill-opacity": 0.05 + } + }, + { + "id": "building", + "type": "fill", + "metadata": {"mapbox:group": "1444849364238.8171"}, + "source": "openmaptiles", + "source-layer": "building", + "layout": {"visibility": "visible"}, + "paint": { + "fill-antialias": true, + "fill-color": "rgba(35, 40, 52, 1)", + "fill-opacity": 0.1 + } + }, + { + "id": "building-top", + "type": "fill", + "metadata": {"mapbox:group": "1444849364238.8171"}, + "source": "openmaptiles", + "source-layer": "building", + "layout": {"visibility": "none"}, + "paint": { + "fill-color": "#BCECE0", + "fill-outline-color": "#dfdbd7", + "fill-translate": {"base": 1, "stops": [[14, [0, 0]], [16, [-2, -2]]]}, + "fill-antialias": true, + "fill-opacity": 0.01 + } + }, + { + "id": "building-3d", + "type": "fill-extrusion", + "source": "openmaptiles", + "source-layer": "building", + "minzoom": 0, + "filter": ["all", ["!has", "hide_3d"]], + "layout": {"visibility": "visible"}, + "paint": { + "fill-extrusion-height": { + "type": "identity", + "property": "render_height" + }, + "fill-extrusion-base": { + "type": "identity", + "property": "render_min_height" + }, + "fill-extrusion-vertical-gradient": true, + "fill-extrusion-translate": [0, 0], + "fill-extrusion-opacity": 0.2, + "fill-extrusion-color": "#BCECE0" + } + }, + { + "id": "tunnel-service-track-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "tunnel"], + ["in", "class", "service", "track"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [0.5, 0.25], + "line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]}, + "line-opacity": 0.05 + } + }, + { + "id": "tunnel-minor-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "minor"]], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": { + "base": 1.2, + "stops": [[12, 0.5], [13, 1], [14, 4], [20, 15]] + }, + "line-opacity": 0.05 + } + }, + { + "id": "tunnel-secondary-tertiary-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "tunnel"], + ["in", "class", "secondary", "tertiary"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-opacity": 0.05, + "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]} + } + }, + { + "id": "tunnel-trunk-primary-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "tunnel"], + ["in", "class", "primary", "trunk"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": { + "base": 1.2, + "stops": [[5, 0.4], [6, 0.6], [7, 1.5], [20, 22]] + }, + "line-opacity": 0.05 + } + }, + { + "id": "tunnel-motorway-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "tunnel"], + ["==", "class", "motorway"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [0.5, 0.25], + "line-width": { + "base": 1.2, + "stops": [[5, 0.4], [6, 0.6], [7, 1.5], [20, 22]] + }, + "line-opacity": 0.05 + } + }, + { + "id": "tunnel-path", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", "filter": [ "all", ["==", "$type", "LineString"], - ["==", "intermittent", 1], - ["!in", "brunnel", "tunnel", "bridge"] + ["all", ["==", "brunnel", "tunnel"], ["==", "class", "path"]] ], "layout": {"visibility": "visible"}, "paint": { - "line-color": "hsl(205, 56%, 73%)", - "line-dasharray": [2, 1], - "line-opacity": 1, - "line-width": {"base": 1.4, "stops": [[8, 1], [20, 8]]} + "line-color": "#BCECE0", + "line-dasharray": [1.5, 0.75], + "line-width": {"base": 1.2, "stops": [[15, 1.2], [20, 4]]}, + "line-opacity": 0.05 } }, { - "id": "tunnel_railway_transit", + "id": "tunnel-service-track", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "tunnel"], + ["in", "class", "service", "track"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}, + "line-opacity": 0.05 + } + }, + { + "id": "tunnel-minor", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "tunnel"], + ["==", "class", "minor_road"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#36EEE0", + "line-opacity": 0.05, + "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 11.5]]} + } + }, + { + "id": "tunnel-secondary-tertiary", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "tunnel"], + ["in", "class", "secondary", "tertiary"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 10]]}, + "line-opacity": 0.05 + } + }, + { + "id": "tunnel-trunk-primary", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "tunnel"], + ["in", "class", "primary", "trunk"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#36EEE0", + "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 18]]}, + "line-opacity": 0.05 + } + }, + { + "id": "tunnel-motorway", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "tunnel"], + ["==", "class", "motorway"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 18]]}, + "line-opacity": 0.05, + "line-color": "#36EEE0" + } + }, + { + "id": "tunnel-railway", + "type": "line", + "metadata": {"mapbox:group": "1444849354174.1904"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "rail"]], + "layout": {"visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [2, 2], + "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}, + "line-opacity": 0.05 + } + }, + { + "id": "ferry", "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "minzoom": 0, + "filter": ["all", ["in", "class", "ferry"]], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [2, 2], + "line-width": 1.1, + "line-opacity": 0.05 + } + }, + { + "id": "aeroway-taxiway-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 12, + "filter": ["all", ["in", "class", "taxiway"]], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#BCECE0", + "line-opacity": 0.1, + "line-width": {"base": 1.5, "stops": [[11, 2], [17, 12]]} + } + }, + { + "id": "aeroway-runway-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 12, + "filter": ["all", ["in", "class", "runway"]], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#BCECE0", + "line-opacity": 0.1, + "line-width": {"base": 1.5, "stops": [[11, 5], [17, 55]]} + } + }, + { + "id": "aeroway-area", + "type": "fill", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 4, "filter": [ "all", - ["==", "$type", "LineString"], - ["==", "brunnel", "tunnel"], - ["==", "class", "transit"] + ["==", "$type", "Polygon"], + ["in", "class", "runway", "taxiway"] ], - "layout": {"line-cap": "butt", "line-join": "miter"}, + "layout": {"visibility": "visible"}, "paint": { - "line-color": "rgba(159, 150, 138, 1)", - "line-dasharray": [3, 3], - "line-opacity": {"base": 1, "stops": [[11, 0], [16, 1]]} + "fill-color": "#BCECE0", + "fill-opacity": {"base": 1, "stops": [[13, 0], [14, 1]]}, + "fill-antialias": true + } + }, + { + "id": "aeroway-taxiway", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 4, + "filter": [ + "all", + ["in", "class", "taxiway"], + ["==", "$type", "LineString"] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#BCECE0", + "line-opacity": 0.1, + "line-width": {"base": 1.5, "stops": [[11, 1], [17, 10]]} + } + }, + { + "id": "aeroway-runway", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "aeroway", + "minzoom": 4, + "filter": [ + "all", + ["in", "class", "runway"], + ["==", "$type", "LineString"] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#BCECE0", + "line-opacity": 0.1, + "line-width": {"base": 1.5, "stops": [[11, 4], [17, 50]]}, + "line-blur": 0 } }, { @@ -213,7 +827,11 @@ "source-layer": "transportation", "filter": ["all", ["==", "$type", "Polygon"], ["==", "class", "pier"]], "layout": {"visibility": "visible"}, - "paint": {"fill-antialias": true, "fill-color": "rgba(212, 209, 196, 1)"} + "paint": { + "fill-antialias": true, + "fill-color": "rgba(35, 40, 52, 1)", + "fill-opacity": 1 + } }, { "id": "road_pier", @@ -222,82 +840,94 @@ "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "pier"]], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, "paint": { - "line-color": "rgba(212, 209, 196, 1)", + "line-color": "rgba(35, 40, 52, 1)", "line-width": {"base": 1.2, "stops": [[15, 1], [17, 4]]} } }, { - "id": "road_bridge_area", + "id": "highway-area", "type": "fill", + "metadata": {"mapbox:group": "1444849345966.4436"}, "source": "openmaptiles", "source-layer": "transportation", - "filter": [ - "all", - ["==", "$type", "Polygon"], - ["in", "brunnel", "bridge"] - ], - "layout": {}, + "filter": ["all", ["==", "$type", "Polygon"], ["!in", "class", "pier"]], + "layout": {"visibility": "visible"}, "paint": { - "fill-color": "rgba(212, 209, 196, 1)", - "fill-opacity": 0.5, - "fill-antialias": true + "fill-antialias": true, + "fill-color": "#BCECE0", + "fill-opacity": 0.05, + "fill-outline-color": "#cfcdca" } }, { - "id": "road_path", + "id": "highway-motorway-link-casing", "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, "source": "openmaptiles", "source-layer": "transportation", + "minzoom": 12, "filter": [ "all", - ["==", "$type", "LineString"], - ["in", "class", "path", "track"] + ["!in", "brunnel", "bridge", "tunnel"], + ["==", "class", "motorway_link"] ], - "layout": {"line-cap": "square", "line-join": "bevel"}, + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, "paint": { - "line-color": "rgba(227, 227, 227, 1)", - "line-dasharray": [1, 1], - "line-width": {"base": 1.55, "stops": [[4, 0.25], [20, 10]]} + "line-color": "#BCECE0", + "line-opacity": 0.05, + "line-width": { + "base": 1.2, + "stops": [[12, 1], [13, 3], [14, 4], [20, 15]] + } } }, { - "id": "road_minor", + "id": "highway-link-casing", "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, "source": "openmaptiles", "source-layer": "transportation", + "minzoom": 13, "filter": [ "all", - ["==", "$type", "LineString"], - ["in", "class", "minor", "service"] + ["!in", "brunnel", "bridge", "tunnel"], + [ + "in", + "class", + "primary_link", + "secondary_link", + "tertiary_link", + "trunk_link" + ] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, "paint": { - "line-color": "rgba(227, 227, 227, 1)", - "line-width": {"base": 1.55, "stops": [[4, 0.25], [20, 30]]} + "line-color": "#BCECE0", + "line-opacity": 0.05, + "line-width": { + "base": 1.2, + "stops": [[12, 1], [13, 3], [14, 4], [20, 15]] + } } }, { - "id": "tunnel_minor", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - ["==", "$type", "LineString"], - ["all", ["==", "brunnel", "tunnel"], ["==", "class", "minor_road"]] - ], - "layout": {"line-cap": "butt", "line-join": "miter"}, - "paint": { - "line-color": "rgba(219, 219, 219, 1)", - "line-dasharray": [0.36, 0.18], - "line-width": {"base": 1.55, "stops": [[4, 0.25], [20, 30]]} - } - }, - { - "id": "tunnel_major", + "id": "highway-minor-casing", "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -305,114 +935,407 @@ ["==", "$type", "LineString"], [ "all", - ["==", "brunnel", "tunnel"], - ["in", "class", "primary", "secondary", "tertiary", "trunk"] + ["!=", "brunnel", "tunnel"], + ["in", "class", "minor", "service", "track"] ] ], - "layout": {"line-cap": "butt", "line-join": "miter"}, + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, "paint": { - "line-color": "rgba(235, 235, 235, 1)", - "line-dasharray": [0.28, 0.14], - "line-width": {"base": 1.4, "stops": [[6, 0.5], [20, 30]]} + "line-color": "#BCECE0", + "line-opacity": 0.05, + "line-width": { + "base": 1.2, + "stops": [[12, 0.5], [13, 1], [14, 4], [20, 15]] + } } }, { - "id": "road_trunk_primary", + "id": "highway-secondary-tertiary-casing", "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ "all", - ["==", "$type", "LineString"], - ["in", "class", "trunk", "primary"] - ], - "layout": {"line-cap": "round", "line-join": "round"}, - "paint": { - "line-color": "rgba(235, 235, 235, 1)", - "line-width": {"base": 1.4, "stops": [[6, 0.5], [20, 30]]} - } - }, - { - "id": "road_secondary_tertiary", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - ["==", "$type", "LineString"], + ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "secondary", "tertiary"] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": { + "line-cap": "butt", + "line-join": "round", + "visibility": "visible" + }, "paint": { - "line-color": "rgba(235, 235, 235, 1)", - "line-width": {"base": 1.4, "stops": [[6, 0.5], [20, 20]]} + "line-color": "#BCECE0", + "line-opacity": 0.05, + "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]} } }, { - "id": "road_major_motorway", + "id": "highway-primary-casing", "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 5, + "filter": [ + "all", + ["!in", "brunnel", "bridge", "tunnel"], + ["in", "class", "primary"] + ], + "layout": { + "line-cap": "butt", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#BCECE0", + "line-opacity": 0.05, + "line-width": { + "base": 1.2, + "stops": [[7, 0], [8, 0.6], [9, 1.5], [20, 22]] + } + } + }, + { + "id": "highway-trunk-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 5, + "filter": [ + "all", + ["!in", "brunnel", "bridge", "tunnel"], + ["in", "class", "trunk"] + ], + "layout": { + "line-cap": "butt", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#BCECE0", + "line-opacity": 0.05, + "line-width": { + "base": 1.2, + "stops": [[5, 0], [6, 0.6], [7, 1.5], [20, 22]] + } + } + }, + { + "id": "highway-motorway-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 4, + "filter": [ + "all", + ["!in", "brunnel", "bridge", "tunnel"], + ["==", "class", "motorway"] + ], + "layout": { + "line-cap": "butt", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#BCECE0", + "line-opacity": 0.05, + "line-width": { + "base": 1.2, + "stops": [[4, 0], [5, 0.4], [6, 0.6], [7, 1.5], [20, 22]] + } + } + }, + { + "id": "highway-path", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ "all", ["==", "$type", "LineString"], - ["==", "class", "motorway"] - ], - "layout": {"line-cap": "round", "line-join": "round"}, - "paint": { - "line-color": "rgba(235, 235, 235, 1)", - "line-offset": 0, - "line-width": {"base": 1.4, "stops": [[8, 1], [16, 10]]} - } - }, - { - "id": "railway_transit", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - ["==", "class", "transit"], - ["!=", "brunnel", "tunnel"] + ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "path"]] ], "layout": {"visibility": "visible"}, "paint": { - "line-color": "rgba(159, 150, 138, 1)", - "line-opacity": {"base": 1, "stops": [[11, 0], [16, 1]]} + "line-color": "#BCECE0", + "line-dasharray": [1.5, 0.75], + "line-width": {"base": 1.2, "stops": [[15, 1.2], [20, 4]]}, + "line-opacity": 0.05 + } + }, + { + "id": "highway-motorway-link", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 12, + "filter": [ + "all", + ["!in", "brunnel", "bridge", "tunnel"], + ["==", "class", "motorway_link"] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#36EEE0", + "line-width": { + "base": 1.2, + "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]] + }, + "line-opacity": 0.05 + } + }, + { + "id": "highway-link", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 13, + "filter": [ + "all", + ["!in", "brunnel", "bridge", "tunnel"], + [ + "in", + "class", + "primary_link", + "secondary_link", + "tertiary_link", + "trunk_link" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#BCECE0", + "line-width": { + "base": 1.2, + "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]] + }, + "line-opacity": 0.05 + } + }, + { + "id": "highway-minor", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "$type", "LineString"], + [ + "all", + ["!=", "brunnel", "tunnel"], + ["in", "class", "minor", "service", "track"] + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#36EEE0", + "line-opacity": 0.05, + "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 11.5]]} + } + }, + { + "id": "highway-secondary-tertiary", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "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": "#36EEE0", + "line-width": {"base": 1.2, "stops": [[6.5, 0], [8, 0.5], [20, 13]]}, + "line-opacity": 0.05 + } + }, + { + "id": "highway-primary", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "$type", "LineString"], + [ + "all", + ["!in", "brunnel", "bridge", "tunnel"], + ["in", "class", "primary"] + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#36EEE0", + "line-width": {"base": 1.2, "stops": [[8.5, 0], [9, 0.5], [20, 18]]}, + "line-opacity": 0.05 + } + }, + { + "id": "highway-trunk", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "$type", "LineString"], + [ + "all", + ["!in", "brunnel", "bridge", "tunnel"], + ["in", "class", "trunk"] + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#36EEE0", + "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 18]]}, + "line-opacity": 0.05 + } + }, + { + "id": "highway-motorway", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 5, + "filter": [ + "all", + ["==", "$type", "LineString"], + [ + "all", + ["!in", "brunnel", "bridge", "tunnel"], + ["==", "class", "motorway"] + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#36EEE0", + "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 18]]}, + "line-opacity": 0.05 + } + }, + { + "id": "railway-transit", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "$type", "LineString"], + ["all", ["==", "class", "transit"], ["!in", "brunnel", "tunnel"]] + ], + "layout": {"visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": {"base": 1.4, "stops": [[14, 0.4], [20, 1]]}, + "line-opacity": 0.1 + } + }, + { + "id": "railway-transit-hatching", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "$type", "LineString"], + ["all", ["==", "class", "transit"], ["!in", "brunnel", "tunnel"]] + ], + "layout": {"visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [0.2, 8], + "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 2], [20, 6]]}, + "line-opacity": 0.1 + } + }, + { + "id": "railway-service", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "$type", "LineString"], + ["all", ["==", "class", "rail"], ["has", "service"]] + ], + "layout": {"visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": {"base": 1.4, "stops": [[14, 0.4], [20, 1]]}, + "line-opacity": 0.1 + } + }, + { + "id": "railway-service-hatching", + "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "$type", "LineString"], + ["all", ["==", "class", "rail"], ["has", "service"]] + ], + "layout": {"visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [0.2, 8], + "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 2], [20, 6]]}, + "line-opacity": 0.1 } }, { "id": "railway", "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": ["==", "class", "rail"], - "layout": {"visibility": "visible"}, - "paint": { - "line-color": "rgba(159, 150, 138, 1)", - "line-opacity": {"base": 1, "stops": [[11, 0], [16, 1]]} - } - }, - { - "id": "bridge_minor case", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - ["==", "$type", "LineString"], - ["all", ["==", "brunnel", "bridge"], ["==", "class", "minor_road"]] - ], - "layout": {"line-cap": "butt", "line-join": "miter"}, - "paint": { - "line-color": "rgba(202, 202, 202, 1)", - "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", + "metadata": {"mapbox:group": "1444849345966.4436"}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -420,36 +1343,22 @@ ["==", "$type", "LineString"], [ "all", - ["==", "brunnel", "bridge"], - ["in", "class", "primary", "secondary", "tertiary", "trunk"] + ["!has", "service"], + ["!in", "brunnel", "bridge", "tunnel"], + ["==", "class", "rail"] ] ], - "layout": {"line-cap": "butt", "line-join": "miter"}, + "layout": {"visibility": "visible"}, "paint": { - "line-color": "rgba(202, 202, 202, 1)", - "line-gap-width": {"base": 1.55, "stops": [[4, 0.25], [20, 30]]}, - "line-width": {"base": 1.6, "stops": [[12, 0.5], [20, 10]]} + "line-color": "#BCECE0", + "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}, + "line-opacity": 0.1 } }, { - "id": "bridge_minor", - "type": "line", - "source": "openmaptiles", - "source-layer": "transportation", - "filter": [ - "all", - ["==", "$type", "LineString"], - ["all", ["==", "brunnel", "bridge"], ["==", "class", "minor_road"]] - ], - "layout": {"line-cap": "round", "line-join": "round"}, - "paint": { - "line-color": "rgba(209, 209, 209, 1)", - "line-width": {"base": 1.55, "stops": [[4, 0.25], [20, 30]]} - } - }, - { - "id": "bridge_major", + "id": "railway-hatching", "type": "line", + "metadata": {"mapbox:group": "1444849345966.4436"}, "source": "openmaptiles", "source-layer": "transportation", "filter": [ @@ -457,194 +1366,1138 @@ ["==", "$type", "LineString"], [ "all", - ["==", "brunnel", "bridge"], - ["in", "class", "primary", "secondary", "tertiary", "trunk"] + ["!has", "service"], + ["!in", "brunnel", "bridge", "tunnel"], + ["==", "class", "rail"] ] ], - "layout": {"line-cap": "round", "line-join": "round"}, - "paint": { - "line-color": "rgba(235, 235, 235, 1)", - "line-width": {"base": 1.4, "stops": [[6, 0.5], [20, 30]]} - } - }, - { - "id": "admin_sub", - "type": "line", - "source": "openmaptiles", - "source-layer": "boundary", - "filter": ["in", "admin_level", 4, 6, 8], "layout": {"visibility": "visible"}, "paint": { - "line-color": "rgba(174, 174, 174, 1)", - "line-dasharray": [2, 1] + "line-color": "#BCECE0", + "line-dasharray": [0.2, 8], + "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}, + "line-opacity": 0.1 } }, { - "id": "admin_country_z0-4", + "id": "bridge-motorway-link-casing", "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, "source": "openmaptiles", - "source-layer": "boundary", - "maxzoom": 5, + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "bridge"], + ["==", "class", "motorway_link"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": { + "base": 1.2, + "stops": [[12, 1], [13, 3], [14, 4], [20, 15]] + }, + "line-opacity": 0.05 + } + }, + { + "id": "bridge-link-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "bridge"], + [ + "in", + "class", + "primary_link", + "secondary_link", + "tertiary_link", + "trunk_link" + ] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-opacity": 0.05, + "line-width": { + "base": 1.2, + "stops": [[12, 1], [13, 3], [14, 4], [20, 15]] + } + } + }, + { + "id": "bridge-secondary-tertiary-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "bridge"], + ["in", "class", "secondary", "tertiary"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-opacity": 0.05, + "line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 28]]} + } + }, + { + "id": "bridge-trunk-primary-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "bridge"], + ["in", "class", "primary", "trunk"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": { + "base": 1.2, + "stops": [[5, 0.4], [6, 0.6], [7, 1.5], [20, 26]] + }, + "line-opacity": 0.05 + } + }, + { + "id": "bridge-motorway-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "bridge"], + ["==", "class", "motorway"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": { + "base": 1.2, + "stops": [[5, 0.4], [6, 0.6], [7, 1.5], [20, 22]] + }, + "line-opacity": 0.05 + } + }, + { + "id": "bridge-path-casing", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", "filter": [ "all", - ["<=", "admin_level", 2], ["==", "$type", "LineString"], - ["!has", "claimed_by"] + ["all", ["==", "brunnel", "bridge"], ["==", "class", "path"]] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": {"visibility": "visible"}, "paint": { - "line-color": "rgba(41, 32, 32, 1)", - "line-width": {"base": 1.3, "stops": [[3, 0.5], [22, 15]]} + "line-color": "#BCECE0", + "line-width": {"base": 1.2, "stops": [[15, 1.2], [20, 18]]}, + "line-opacity": 0.05 } }, { - "id": "admin_country_z5-", + "id": "bridge-path", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "$type", "LineString"], + ["all", ["==", "brunnel", "bridge"], ["==", "class", "path"]] + ], + "layout": {"visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [1.5, 0.75], + "line-width": {"base": 1.2, "stops": [[15, 1.2], [20, 4]]}, + "line-opacity": 0.05 + } + }, + { + "id": "bridge-motorway-link", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "bridge"], + ["==", "class", "motorway_link"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#36EEE0", + "line-width": { + "base": 1.2, + "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]] + }, + "line-opacity": 0.05 + } + }, + { + "id": "bridge-link", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "bridge"], + [ + "in", + "class", + "primary_link", + "secondary_link", + "tertiary_link", + "trunk_link" + ] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": { + "base": 1.2, + "stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]] + }, + "line-opacity": 0.05 + } + }, + { + "id": "bridge-secondary-tertiary", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "bridge"], + ["in", "class", "secondary", "tertiary"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 20]]}, + "line-opacity": 0.05 + } + }, + { + "id": "bridge-trunk-primary", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "bridge"], + ["in", "class", "primary", "trunk"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#36EEE0", + "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 18]]}, + "line-opacity": 0.05 + } + }, + { + "id": "bridge-motorway", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + ["==", "brunnel", "bridge"], + ["==", "class", "motorway"] + ], + "layout": {"line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#36EEE0", + "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 18]]}, + "line-opacity": 0.06 + } + }, + { + "id": "bridge-railway", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": ["all", ["==", "brunnel", "bridge"], ["==", "class", "rail"]], + "layout": {"visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}, + "line-opacity": 0.05 + } + }, + { + "id": "bridge-railway-hatching", + "type": "line", + "metadata": {"mapbox:group": "1444849334699.1902"}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": ["all", ["==", "brunnel", "bridge"], ["==", "class", "rail"]], + "layout": {"visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [0.2, 8], + "line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}, + "line-opacity": 0.05 + } + }, + { + "id": "cablecar", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 13, + "filter": ["==", "class", "cable_car"], + "layout": {"line-cap": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-width": {"base": 1, "stops": [[11, 1], [19, 2.5]]}, + "line-opacity": 0.1 + } + }, + { + "id": "cablecar-dash", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 13, + "filter": ["==", "class", "cable_car"], + "layout": {"line-cap": "round", "visibility": "visible"}, + "paint": { + "line-color": "#BCECE0", + "line-dasharray": [2, 3], + "line-width": {"base": 1, "stops": [[11, 3], [19, 5.5]]}, + "line-opacity": 0.1 + } + }, + { + "id": "boundary-land-level-4", "type": "line", "source": "openmaptiles", "source-layer": "boundary", - "minzoom": 5, "filter": [ "all", - ["<=", "admin_level", 2], - ["==", "$type", "LineString"] + [">=", "admin_level", 4], + ["<=", "admin_level", 8], + ["!=", "maritime", 1] ], - "layout": {"line-cap": "round", "line-join": "round"}, + "layout": {"line-join": "round", "visibility": "visible"}, "paint": { - "line-color": "rgba(41, 32, 32, 1)", - "line-width": {"base": 1.3, "stops": [[3, 0.5], [22, 15]]} + "line-color": "#BCECE0", + "line-dasharray": [3, 1, 1, 1], + "line-width": {"base": 1.4, "stops": [[4, 0.5], [5, 2], [12, 1]]}, + "line-opacity": 0.4 } }, { - "id": "road_major_label", + "id": "boundary-land-level-2", + "type": "line", + "source": "openmaptiles", + "source-layer": "boundary", + "filter": [ + "all", + ["==", "admin_level", 2], + ["!=", "maritime", 1], + ["!=", "disputed", 1] + ], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#36EEE0", + "line-width": { + "base": 1, + "stops": [[0, 0.6], [4, 1.4], [5, 2], [12, 8]] + }, + "line-opacity": 0.5 + } + }, + { + "id": "boundary-land-disputed", + "type": "line", + "source": "openmaptiles", + "source-layer": "boundary", + "filter": ["all", ["!=", "maritime", 1], ["==", "disputed", 1]], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#36EEE0", + "line-dasharray": [1, 3], + "line-width": { + "base": 1, + "stops": [[0, 0.6], [4, 1.4], [5, 2], [12, 8]] + }, + "line-opacity": 0.6 + } + }, + { + "id": "boundary-water", + "type": "line", + "source": "openmaptiles", + "source-layer": "boundary", + "minzoom": 4, + "filter": ["all", ["in", "admin_level", 2, 4], ["==", "maritime", 1]], + "layout": { + "line-cap": "round", + "line-join": "round", + "visibility": "visible" + }, + "paint": { + "line-color": "#36EEE0", + "line-opacity": {"stops": [[6, 0.6], [10, 1]]}, + "line-width": { + "base": 1, + "stops": [[0, 0.6], [4, 1.4], [5, 2], [12, 8]] + } + } + }, + { + "id": "waterway-name", "type": "symbol", "source": "openmaptiles", - "source-layer": "transportation_name", + "source-layer": "waterway", + "minzoom": 13, + "filter": ["all", ["==", "$type", "LineString"], ["has", "name"]], + "layout": { + "symbol-placement": "line", + "symbol-spacing": 350, + "text-field": "{name:latin} {name:nonlatin}", + "text-font": ["Noto Sans Italic"], + "text-letter-spacing": 0.2, + "text-max-width": 5, + "text-rotation-alignment": "map", + "text-size": 14, + "visibility": "visible" + }, + "paint": { + "text-color": "#74aee9", + "text-halo-color": "rgba(255,255,255,0.7)", + "text-halo-width": 1.5 + } + }, + { + "id": "water-name-lakeline", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "water_name", "filter": ["==", "$type", "LineString"], "layout": { "symbol-placement": "line", - "text-field": "{name:latin}", - "text-font": ["Klokantech Noto Sans Regular"], - "text-letter-spacing": 0.1, + "symbol-spacing": 350, + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Italic"], + "text-letter-spacing": 0.2, + "text-max-width": 5, "text-rotation-alignment": "map", - "text-size": {"base": 1.4, "stops": [[10, 8], [20, 14]]}, - "text-transform": "uppercase", - "symbol-avoid-edges": false, - "symbol-z-order": "auto", - "text-pitch-alignment": "viewport", - "text-keep-upright": true, - "text-optional": false + "visibility": "visible", + "text-size": 16 }, "paint": { - "text-color": "#000", - "text-halo-color": "rgba(235, 235, 235, 1)", - "text-halo-width": 2 + "text-color": "#36EEE0", + "text-halo-color": "#BCECE0", + "text-halo-width": 1.5, + "text-opacity": 0.2 } }, { - "id": "building-3d-color", - "type": "fill-extrusion", - "source": "openmaptiles", - "source-layer": "building", - "filter": ["all", ["!has", "hide_3d"], ["has", "colour"]], - "layout": {"visibility": "visible"}, - "paint": { - "fill-extrusion-base": ["get", "render_min_height"], - "fill-extrusion-color": ["get", "colour"], - "fill-extrusion-height": ["+", 1, ["get", "render_height"]], - "fill-extrusion-opacity": 0.7, - "fill-extrusion-vertical-gradient": true, - "fill-extrusion-translate-anchor": "viewport", - "fill-extrusion-translate": [0, 1] - } - }, - { - "id": "building-3d", - "type": "fill-extrusion", - "source": "openmaptiles", - "source-layer": "building", - "filter": ["all", ["!has", "hide_3d"]], - "paint": { - "fill-extrusion-base": { - "property": "render_min_height", - "type": "identity" - }, - "fill-extrusion-color": "rgba(194, 184, 165, 1)", - "fill-extrusion-height": { - "property": "render_height", - "type": "identity" - }, - "fill-extrusion-opacity": 0.7, - "fill-extrusion-vertical-gradient": true, - "fill-extrusion-translate": [0, 0], - "fill-extrusion-translate-anchor": "viewport" - } - }, - { - "id": "place_label_other", + "id": "water-name-ocean", "type": "symbol", "source": "openmaptiles", - "source-layer": "place", - "minzoom": 8, + "source-layer": "water_name", + "filter": ["all", ["==", "$type", "Point"], ["==", "class", "ocean"]], + "layout": { + "symbol-placement": "point", + "symbol-spacing": 350, + "text-field": "{name:latin}", + "text-font": ["Noto Sans Italic"], + "text-letter-spacing": 0.2, + "text-max-width": 5, + "text-rotation-alignment": "map", + "text-size": 14, + "visibility": "visible" + }, + "paint": { + "text-color": "#36EEE0", + "text-halo-color": "#BCECE0", + "text-halo-width": 1.5, + "text-opacity": 0.1 + } + }, + { + "id": "water-name-other", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "water_name", + "filter": ["all", ["==", "$type", "Point"], ["!in", "class", "ocean"]], + "layout": { + "symbol-placement": "point", + "symbol-spacing": 350, + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Italic"], + "text-letter-spacing": 0.2, + "text-max-width": 5, + "text-rotation-alignment": "map", + "text-size": {"stops": [[0, 10], [6, 14]]}, + "visibility": "visible" + }, + "paint": { + "text-color": "#36EEE0", + "text-halo-color": "#BCECE0", + "text-halo-width": 1.5, + "text-opacity": 0.1 + } + }, + { + "id": "poi-level-3", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "poi", + "minzoom": 16, "filter": [ "all", ["==", "$type", "Point"], - ["all", ["!=", "class", "city"]] + [">=", "rank", 25], + ["any", ["!has", "level"], ["==", "level", 0]] ], "layout": { - "text-anchor": "center", - "text-field": "{name:latin}", - "text-font": ["Klokantech Noto Sans Regular"], - "text-max-width": 6, - "text-size": {"stops": [[6, 10], [12, 14]]}, - "visibility": "visible", - "icon-keep-upright": false + "icon-image": "{class}_11", + "text-anchor": "top", + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-max-width": 9, + "text-offset": [0, 0.6], + "text-padding": 2, + "text-size": 12, + "visibility": "none" }, "paint": { - "text-color": "rgba(50, 37, 37, 1)", - "text-halo-blur": 0, - "text-halo-color": "rgba(235, 235, 235, 1)", - "text-halo-width": 2 + "text-color": "#666", + "text-halo-blur": 0.5, + "text-halo-color": "#ffffff", + "text-halo-width": 1 } }, { - "id": "place_label_city", + "id": "poi-level-2", "type": "symbol", "source": "openmaptiles", - "source-layer": "place", - "maxzoom": 16, - "filter": ["all", ["==", "$type", "Point"], ["==", "class", "city"]], + "source-layer": "poi", + "minzoom": 15, + "filter": [ + "all", + ["==", "$type", "Point"], + ["<=", "rank", 24], + [">=", "rank", 15], + ["any", ["!has", "level"], ["==", "level", 0]] + ], "layout": { - "text-field": "{name:latin}", - "text-font": ["Klokantech Noto Sans Regular"], - "text-max-width": 10, - "text-size": {"stops": [[3, 12], [8, 16]]} + "icon-image": "{class}_11", + "text-anchor": "top", + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-max-width": 9, + "text-offset": [0, 0.6], + "text-padding": 2, + "text-size": 12, + "visibility": "none" }, "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": "#666", + "text-halo-blur": 0.5, + "text-halo-color": "#ffffff", + "text-halo-width": 1 } }, { - "id": "country_label", + "id": "poi-level-1", "type": "symbol", "source": "openmaptiles", - "source-layer": "place", - "maxzoom": 12, - "filter": ["all", ["==", "$type", "Point"], ["==", "class", "country"]], + "source-layer": "poi", + "minzoom": 14, + "filter": [ + "all", + ["==", "$type", "Point"], + ["<=", "rank", 14], + ["has", "name"], + ["any", ["!has", "level"], ["==", "level", 0]] + ], "layout": { - "text-field": "{name:latin}", - "text-font": ["Klokantech Noto Sans Bold"], - "text-max-width": 10, - "text-size": {"stops": [[3, 12], [8, 22]]} + "icon-image": "{class}_11", + "text-anchor": "top", + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-max-width": 9, + "text-offset": [0, 0.6], + "text-padding": 2, + "text-size": 12, + "visibility": "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": "#666", + "text-halo-blur": 0.5, + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "id": "poi-railway", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "poi", + "minzoom": 13, + "filter": [ + "all", + ["==", "$type", "Point"], + ["has", "name"], + ["==", "class", "railway"], + ["==", "subclass", "station"] + ], + "layout": { + "icon-allow-overlap": false, + "icon-ignore-placement": false, + "icon-image": "{class}_11", + "icon-optional": false, + "text-allow-overlap": false, + "text-anchor": "top", + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-ignore-placement": false, + "text-max-width": 9, + "text-offset": [0, 0.6], + "text-optional": true, + "text-padding": 2, + "text-size": 12, + "visibility": "none" + }, + "paint": { + "text-color": "#666", + "text-halo-blur": 0.5, + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "id": "road_oneway", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 15, + "filter": [ + "all", + ["==", "oneway", 1], + [ + "in", + "class", + "motorway", + "trunk", + "primary", + "secondary", + "tertiary", + "minor", + "service" + ] + ], + "layout": { + "icon-image": "oneway", + "icon-padding": 2, + "icon-rotate": 90, + "icon-rotation-alignment": "map", + "icon-size": {"stops": [[15, 0.5], [19, 1]]}, + "symbol-placement": "line", + "symbol-spacing": 75, + "visibility": "none" + }, + "paint": {"icon-opacity": 0.5} + }, + { + "id": "road_oneway_opposite", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 15, + "filter": [ + "all", + ["==", "oneway", -1], + [ + "in", + "class", + "motorway", + "trunk", + "primary", + "secondary", + "tertiary", + "minor", + "service" + ] + ], + "layout": { + "icon-image": "oneway", + "icon-padding": 2, + "icon-rotate": -90, + "icon-rotation-alignment": "map", + "icon-size": {"stops": [[15, 0.5], [19, 1]]}, + "symbol-placement": "line", + "symbol-spacing": 75, + "visibility": "none" + }, + "paint": {"icon-opacity": 0.5} + }, + { + "id": "highway-name-path", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "transportation_name", + "minzoom": 15.5, + "filter": ["==", "class", "path"], + "layout": { + "symbol-placement": "line", + "text-field": "{name:latin} {name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-rotation-alignment": "map", + "text-size": {"base": 1, "stops": [[13, 12], [14, 13]]}, + "visibility": "none" + }, + "paint": { + "text-color": "hsl(30, 23%, 62%)", + "text-halo-color": "#f8f4f0", + "text-halo-width": 0.5 + } + }, + { + "id": "highway-name-minor", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "transportation_name", + "minzoom": 15, + "filter": [ + "all", + ["==", "$type", "LineString"], + ["in", "class", "minor", "service", "track"] + ], + "layout": { + "symbol-placement": "line", + "text-field": "{name:latin} {name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-rotation-alignment": "map", + "text-size": {"base": 1, "stops": [[13, 12], [14, 13]]}, + "visibility": "none" + }, + "paint": { + "text-color": "#765", + "text-halo-blur": 0.5, + "text-halo-width": 1 + } + }, + { + "id": "highway-name-major", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "transportation_name", + "minzoom": 12.2, + "filter": ["in", "class", "primary", "secondary", "tertiary", "trunk"], + "layout": { + "symbol-placement": "line", + "text-field": "{name:latin} {name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-rotation-alignment": "map", + "text-size": {"base": 1, "stops": [[13, 12], [14, 13]]}, + "visibility": "none" + }, + "paint": { + "text-color": "#765", + "text-halo-blur": 0.5, + "text-halo-width": 1 + } + }, + { + "id": "highway-shield", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "transportation_name", + "minzoom": 8, + "filter": [ + "all", + ["<=", "ref_length", 6], + ["==", "$type", "LineString"], + ["!in", "network", "us-interstate", "us-highway", "us-state"] + ], + "layout": { + "icon-image": "road_{ref_length}", + "icon-rotation-alignment": "viewport", + "icon-size": 1, + "symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]}, + "symbol-spacing": 200, + "text-field": "{ref}", + "text-font": ["Noto Sans Regular"], + "text-rotation-alignment": "viewport", + "text-size": 10, + "visibility": "none" + }, + "paint": {} + }, + { + "id": "highway-shield-us-interstate", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "transportation_name", + "minzoom": 7, + "filter": [ + "all", + ["<=", "ref_length", 6], + ["==", "$type", "LineString"], + ["in", "network", "us-interstate"] + ], + "layout": { + "icon-image": "{network}_{ref_length}", + "icon-rotation-alignment": "viewport", + "icon-size": 1, + "symbol-placement": { + "base": 1, + "stops": [[7, "point"], [7, "line"], [8, "line"]] + }, + "symbol-spacing": 200, + "text-field": "{ref}", + "text-font": ["Noto Sans Regular"], + "text-rotation-alignment": "viewport", + "text-size": 10, + "visibility": "none" + }, + "paint": {"text-color": "rgba(0, 0, 0, 1)"} + }, + { + "id": "highway-shield-us-other", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "transportation_name", + "minzoom": 9, + "filter": [ + "all", + ["<=", "ref_length", 6], + ["==", "$type", "LineString"], + ["in", "network", "us-highway", "us-state"] + ], + "layout": { + "icon-image": "{network}_{ref_length}", + "icon-rotation-alignment": "viewport", + "icon-size": 1, + "symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]}, + "symbol-spacing": 200, + "text-field": "{ref}", + "text-font": ["Noto Sans Regular"], + "text-rotation-alignment": "viewport", + "text-size": 10, + "visibility": "none" + }, + "paint": {"text-color": "rgba(0, 0, 0, 1)"} + }, + { + "id": "airport-label-major", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "aerodrome_label", + "minzoom": 10, + "filter": ["all", ["has", "iata"]], + "layout": { + "icon-image": "airport_11", + "icon-size": 1, + "text-anchor": "top", + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-max-width": 9, + "text-offset": [0, 0.6], + "text-optional": true, + "text-padding": 2, + "text-size": 12, + "visibility": "none" + }, + "paint": { + "text-color": "#666", + "text-halo-blur": 0.5, + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "id": "place-other", + "type": "symbol", + "metadata": {"mapbox:group": "1444849242106.713"}, + "source": "openmaptiles", + "source-layer": "place", + "minzoom": 0, + "filter": [ + "!in", + "class", + "city", + "town", + "village", + "country", + "continent" + ], + "layout": { + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Bold"], + "text-letter-spacing": 0.1, + "text-max-width": 9, + "text-size": {"base": 1.2, "stops": [[12, 10], [15, 14]]}, + "text-transform": "uppercase", + "visibility": "visible" + }, + "paint": { + "text-color": "#F652A0", + "text-halo-color": "rgba(188, 236, 224, 1)", + "icon-halo-color": "rgba(188, 236, 224, 1)", + "text-halo-width": 0.1, + "text-opacity": 0.6 + } + }, + { + "id": "place-village", + "type": "symbol", + "metadata": {"mapbox:group": "1444849242106.713"}, + "source": "openmaptiles", + "source-layer": "place", + "minzoom": 14.5, + "filter": ["==", "class", "village"], + "layout": { + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-max-width": 8, + "text-size": {"base": 1.2, "stops": [[10, 12], [15, 22]]}, + "visibility": "visible" + }, + "paint": { + "text-color": "#F652A0", + "text-halo-color": "rgba(188, 236, 224, 1)", + "text-halo-width": 0.1, + "text-opacity": 0.6 + } + }, + { + "id": "place-town", + "type": "symbol", + "metadata": {"mapbox:group": "1444849242106.713"}, + "source": "openmaptiles", + "source-layer": "place", + "minzoom": 11.5, + "filter": ["==", "class", "town"], + "layout": { + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-max-width": 8, + "text-size": {"base": 1.2, "stops": [[10, 14], [15, 24]]}, + "visibility": "visible" + }, + "paint": { + "text-color": "#F652A0", + "text-halo-color": "rgba(188, 236, 224, 1)", + "text-halo-width": 0.1, + "text-opacity": 0.6 + } + }, + { + "id": "place-city", + "type": "symbol", + "metadata": {"mapbox:group": "1444849242106.713"}, + "source": "openmaptiles", + "source-layer": "place", + "minzoom": 9, + "filter": ["all", ["!=", "capital", 2], ["==", "class", "city"]], + "layout": { + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-max-width": 8, + "text-size": {"base": 1.2, "stops": [[7, 14], [11, 24]]}, + "visibility": "visible" + }, + "paint": { + "text-color": "#F652A0", + "text-halo-color": "rgba(188, 236, 224, 1)", + "text-halo-width": 0.1, + "text-opacity": 0.6 + } + }, + { + "id": "place-city-capital", + "type": "symbol", + "metadata": {"mapbox:group": "1444849242106.713"}, + "source": "openmaptiles", + "source-layer": "place", + "filter": ["all", ["==", "capital", 2], ["==", "class", "city"]], + "layout": { + "icon-image": "star_11", + "icon-size": 0.8, + "text-anchor": "left", + "text-field": "{name:latin}\n{name:nonlatin}", + "text-font": ["Noto Sans Regular"], + "text-max-width": 8, + "text-offset": [0.4, 0], + "text-size": {"base": 1.2, "stops": [[7, 14], [11, 24]]}, + "visibility": "none" + }, + "paint": { + "text-color": "#F652A0", + "text-halo-color": "rgba(188, 236, 224, 1)", + "text-halo-width": 0.1, + "text-opacity": 0.6 + } + }, + { + "id": "place-country-other", + "type": "symbol", + "metadata": {"mapbox:group": "1444849242106.713"}, + "source": "openmaptiles", + "source-layer": "place", + "filter": [ + "all", + ["==", "class", "country"], + [">=", "rank", 3], + ["!has", "iso_a2"] + ], + "layout": { + "text-field": "{name:latin}", + "text-font": ["Noto Sans Italic"], + "text-max-width": 6.25, + "text-size": {"stops": [[3, 11], [7, 17]]}, + "text-transform": "uppercase", + "visibility": "none" + }, + "paint": { + "text-color": "#F652A0", + "text-halo-blur": 1, + "text-halo-color": "rgba(188, 236, 224, 1)", + "text-halo-width": 0.1, + "text-opacity": 0.6 + } + }, + { + "id": "place-country-3", + "type": "symbol", + "metadata": {"mapbox:group": "1444849242106.713"}, + "source": "openmaptiles", + "source-layer": "place", + "filter": [ + "all", + ["==", "class", "country"], + [">=", "rank", 3], + ["has", "iso_a2"] + ], + "layout": { + "text-field": "{name:latin}", + "text-font": ["Noto Sans Bold"], + "text-max-width": 6.25, + "text-size": {"stops": [[3, 11], [7, 17]]}, + "text-transform": "uppercase", + "visibility": "none" + }, + "paint": { + "text-color": "#F652A0", + "text-halo-blur": 1, + "text-halo-color": "rgba(188, 236, 224, 1)", + "text-halo-width": 0.1, + "text-opacity": 0.6 + } + }, + { + "id": "place-country-2", + "type": "symbol", + "metadata": {"mapbox:group": "1444849242106.713"}, + "source": "openmaptiles", + "source-layer": "place", + "filter": [ + "all", + ["==", "class", "country"], + ["==", "rank", 2], + ["has", "iso_a2"] + ], + "layout": { + "text-field": "{name:latin}", + "text-font": ["Noto Sans Bold"], + "text-max-width": 6.25, + "text-size": {"stops": [[2, 11], [5, 17]]}, + "text-transform": "uppercase", + "visibility": "none" + }, + "paint": { + "text-color": "#F652A0", + "text-halo-blur": 1, + "text-halo-color": "rgba(188, 236, 224, 1)", + "text-halo-width": 0.1, + "text-opacity": 0.6 + } + }, + { + "id": "place-country-1", + "type": "symbol", + "metadata": {"mapbox:group": "1444849242106.713"}, + "source": "openmaptiles", + "source-layer": "place", + "filter": [ + "all", + ["==", "class", "country"], + ["==", "rank", 1], + ["has", "iso_a2"] + ], + "layout": { + "text-field": "{name:latin}", + "text-font": ["Noto Sans Bold"], + "text-max-width": 6.25, + "text-size": {"stops": [[1, 11], [4, 17]]}, + "text-transform": "uppercase", + "visibility": "none" + }, + "paint": { + "text-color": "#F652A0", + "text-halo-blur": 1, + "text-halo-color": "rgba(188, 236, 224, 1)", + "text-halo-width": 0.1, + "text-opacity": 0.6 + } + }, + { + "id": "place-continent", + "type": "symbol", + "metadata": {"mapbox:group": "1444849242106.713"}, + "source": "openmaptiles", + "source-layer": "place", + "maxzoom": 1, + "filter": ["==", "class", "continent"], + "layout": { + "text-field": "{name:latin}", + "text-font": ["Noto Sans Bold"], + "text-max-width": 6.25, + "text-size": 14, + "text-transform": "uppercase", + "visibility": "none" + }, + "paint": { + "text-color": "#F652A0", + "text-halo-blur": 1, + "text-halo-color": "rgba(188, 236, 224, 1)", + "text-halo-width": 0.1, + "text-opacity": 0.6 } } - ] -} + ], + "id": "bright" +} \ No newline at end of file