Last active
August 29, 2015 14:24
-
-
Save AlanPew/9577e9a26bb3c2dfe198 to your computer and use it in GitHub Desktop.
Mapbox GL Streets v7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset='utf-8' /> | |
| <title></title> | |
| <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
| <script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.8.1/mapbox-gl.js'></script> | |
| <script src='style.js'></script> | |
| <link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.8.1/mapbox-gl.css' rel='stylesheet' /> | |
| <style> | |
| body { margin:0; padding:0; } | |
| #map { position:absolute; top:0; bottom:0; width:100%; } | |
| </style> | |
| </head> | |
| <body> | |
| <div id='map'></div> | |
| <script> | |
| mapboxgl.accessToken = | |
| 'pk.eyJ1Ijoic2x5IiwiYSI6IjdiYzFmZmY5NTExOTQ0MTExMGVhZDBkZTIwMmRlYjJhIn0.hOz2brurCBMGWGU5EI-waQ'; | |
| var map = new mapboxgl.Map({ | |
| container: 'map', | |
| style: simple, | |
| zoom: 1, | |
| center: [35, -14] | |
| }); | |
| map.addControl(new mapboxgl.Navigation()); | |
| </script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var simple = { | |
| "version": 7, | |
| "name": "Mapbox Streets", | |
| "constants": { | |
| "@poi-scalerank3": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| 11 | |
| ], | |
| [ | |
| 20, | |
| 13 | |
| ] | |
| ] | |
| }, | |
| "@label-neighbourhood": "#805540", | |
| "@hillshade-shadow": "#5a5517", | |
| "@road-width-minor": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 14, | |
| 0.5 | |
| ], | |
| [ | |
| 18, | |
| 12 | |
| ] | |
| ] | |
| }, | |
| "@poi-scalerank4": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| 11 | |
| ], | |
| [ | |
| 20, | |
| 13 | |
| ] | |
| ] | |
| }, | |
| "@wetlands": "#9DD3D8", | |
| "@landuse-cemetery": "#dde6c2", | |
| "@admin-2-boundary": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 3, | |
| 0.5 | |
| ], | |
| [ | |
| 10, | |
| 2 | |
| ] | |
| ] | |
| }, | |
| "@country-label-lg-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 1, | |
| 10 | |
| ], | |
| [ | |
| 6, | |
| 24 | |
| ] | |
| ] | |
| }, | |
| "@snow": "#fff", | |
| "@path-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15, | |
| 0 | |
| ], | |
| [ | |
| 15.25, | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "@label-park": "#4c661f", | |
| "@country-label-sm-size": { | |
| "base": 0.9, | |
| "stops": [ | |
| [ | |
| 5, | |
| 14 | |
| ], | |
| [ | |
| 9, | |
| 22 | |
| ] | |
| ] | |
| }, | |
| "@landuse-school": "#f3ebb4", | |
| "@label-water-dark": "#004087", | |
| "@road-main": "#a2a2a2", | |
| "@road-case-dark": "#d9d3c9", | |
| "@path-bg-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 15, | |
| 2 | |
| ], | |
| [ | |
| 18, | |
| 7 | |
| ] | |
| ] | |
| }, | |
| "@road-trunk": "#f2cf60", | |
| "@road-motorway": "#ffa159", | |
| "@country-label-md-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 3, | |
| 10 | |
| ], | |
| [ | |
| 8, | |
| 24 | |
| ] | |
| ] | |
| }, | |
| "@road-minor": "#fff", | |
| "@rail-track-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 14, | |
| 4 | |
| ], | |
| [ | |
| 20, | |
| 8 | |
| ] | |
| ] | |
| }, | |
| "@label-primary": "#000000", | |
| "@street-high-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13.99, | |
| 0 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "@label-city-lg-size": { | |
| "base": 0.9, | |
| "stops": [ | |
| [ | |
| 4, | |
| 12 | |
| ], | |
| [ | |
| 10, | |
| 22 | |
| ] | |
| ] | |
| }, | |
| "@landuse-industrial": "#e0dae0", | |
| "@landcover-opacity": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 2, | |
| 0.3 | |
| ], | |
| [ | |
| 14, | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "@rail-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 14, | |
| 0.5 | |
| ], | |
| [ | |
| 20, | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "@landuse-hospital": "#f4dcdc", | |
| "@land": "#ede9d9", | |
| "@name": "{name_en}", | |
| "@landcover": "#ddecb1", | |
| "@tunnel-case-dark": "#c4beb7", | |
| "@aeroway": "#dbcedb", | |
| "@label-city-md-size": { | |
| "base": 0.9, | |
| "stops": [ | |
| [ | |
| 5, | |
| 12 | |
| ], | |
| [ | |
| 12, | |
| 22 | |
| ] | |
| ] | |
| }, | |
| "@tunnel-trunk": "#f2de9e", | |
| "@landuse-pitch": "#c3e194", | |
| "@admin": "#787680", | |
| "@road-case-width-sm": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 12, | |
| 0.75 | |
| ], | |
| [ | |
| 20, | |
| 2 | |
| ] | |
| ] | |
| }, | |
| "@label-poi": "#65513d", | |
| "@main-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 8.5, | |
| 0.5 | |
| ], | |
| [ | |
| 10, | |
| 0.75 | |
| ], | |
| [ | |
| 18, | |
| 26 | |
| ] | |
| ] | |
| }, | |
| "@road-case-width-lg": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 5, | |
| 0.75 | |
| ], | |
| [ | |
| 16, | |
| 2 | |
| ] | |
| ] | |
| }, | |
| "@road-high-z-fadein": { | |
| "base": 1.2, | |
| "stops": [ | |
| [ | |
| 5, | |
| 0 | |
| ], | |
| [ | |
| 5.5, | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "@rail": "#b3ada6", | |
| "@country-halo": "rgba(255,255,255,0.75)", | |
| "@hillshade-highlight": "#fff", | |
| "@motorway-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 5, | |
| 0.75 | |
| ], | |
| [ | |
| 18, | |
| 32 | |
| ] | |
| ] | |
| }, | |
| "@country-label-color": { | |
| "stops": [ | |
| [ | |
| 8, | |
| "#000000" | |
| ], | |
| [ | |
| 10, | |
| "#888888" | |
| ] | |
| ], | |
| "base": 1 | |
| }, | |
| "@building": "#e8e0cc", | |
| "@landuse-sand": "#ededcf", | |
| "@road-trunk-case": "#fff", | |
| "@ramp-1": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 0, | |
| [ | |
| 1, | |
| 2 | |
| ] | |
| ], | |
| [ | |
| 20, | |
| [ | |
| 1, | |
| 0.25 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "@road-motorway-case": "#fff", | |
| "@street_limited-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 12.5, | |
| 0.5 | |
| ], | |
| [ | |
| 14, | |
| 2 | |
| ], | |
| [ | |
| 18, | |
| 12 | |
| ] | |
| ] | |
| }, | |
| "@water": "#8ccbf7", | |
| "@ramp-2": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 14, | |
| [ | |
| 0.4, | |
| 0.4 | |
| ] | |
| ], | |
| [ | |
| 15, | |
| [ | |
| 0.3, | |
| 0.3 | |
| ] | |
| ], | |
| [ | |
| 16, | |
| [ | |
| 0.2, | |
| 0.2 | |
| ] | |
| ], | |
| [ | |
| 18, | |
| [ | |
| 0.15, | |
| 0.15 | |
| ] | |
| ], | |
| [ | |
| 19, | |
| [ | |
| 0.1, | |
| 0.1 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "@label-state": "#242424", | |
| "@landuse-parks": "#cde8a2", | |
| "@street_limited-case-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 13, | |
| 0 | |
| ], | |
| [ | |
| 14, | |
| 2 | |
| ], | |
| [ | |
| 18, | |
| 12 | |
| ] | |
| ] | |
| }, | |
| "@motorway_link-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 12, | |
| 0.5 | |
| ], | |
| [ | |
| 14, | |
| 2 | |
| ], | |
| [ | |
| 18, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "@building-shadow": "#cbc6b7", | |
| "@label-road": "#3a3836", | |
| "@rail-low": "#ccc5bd", | |
| "@label-transit": "#000000", | |
| "@rail-lowhigh": { | |
| "stops": [ | |
| [ | |
| 13, | |
| "#d8d5c8" | |
| ], | |
| [ | |
| 16, | |
| "#b3b1a6" | |
| ] | |
| ] | |
| }, | |
| "@street-case-gap-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 13, | |
| 0 | |
| ], | |
| [ | |
| 14, | |
| 2 | |
| ], | |
| [ | |
| 18, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "@halo": "#ffffff", | |
| "@street-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 12.5, | |
| 0.5 | |
| ], | |
| [ | |
| 14, | |
| 2 | |
| ], | |
| [ | |
| 18, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "@main-case-width": { | |
| "base": 1.2, | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.75 | |
| ], | |
| [ | |
| 18, | |
| 2 | |
| ] | |
| ] | |
| }, | |
| "@road-street-limited": "#EFEDEB", | |
| "@landuse-glacier": "#dcedf9", | |
| "@label-water": "#c8e5f9", | |
| "@poi-scalerank1": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| 11 | |
| ], | |
| [ | |
| 18, | |
| 14 | |
| ] | |
| ] | |
| }, | |
| "@path-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 15, | |
| 1 | |
| ], | |
| [ | |
| 18, | |
| 4 | |
| ] | |
| ] | |
| }, | |
| "@tunnel-motorway": "#ffbe8c", | |
| "@poi-scalerank2": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 14, | |
| 11 | |
| ], | |
| [ | |
| 20, | |
| 14 | |
| ] | |
| ] | |
| } | |
| }, | |
| "sources": { | |
| "composite": { | |
| "url": "mapbox://mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6", | |
| "type": "vector" | |
| } | |
| }, | |
| "sprite": "https://www.mapbox.com/mapbox-gl-styles/sprites/mapbox-streets", | |
| "glyphs": "mapbox://fontstack/{fontstack}/{range}.pbf", | |
| "layers": [ | |
| { | |
| "id": "background", | |
| "type": "background", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "background-color": "@land" | |
| } | |
| }, | |
| { | |
| "id": "landcover_crop", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landcover", | |
| "minzoom": 0, | |
| "maxzoom": 14, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "crop" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landcover", | |
| "fill-opacity": "@landcover-opacity", | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "landcover_grass", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landcover", | |
| "minzoom": 0, | |
| "maxzoom": 14, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "grass" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landcover", | |
| "fill-opacity": "@landcover-opacity", | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "landcover_scrub", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landcover", | |
| "minzoom": 0, | |
| "maxzoom": 14, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "scrub" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landcover", | |
| "fill-opacity": "@landcover-opacity", | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "landcover_wood", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landcover", | |
| "minzoom": 0, | |
| "maxzoom": 14, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "wood" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landcover", | |
| "fill-opacity": "@landcover-opacity", | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "landcover_snow", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landcover", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "snow" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@snow", | |
| "fill-opacity": 0.2, | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "scrub", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 9, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "scrub" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landcover", | |
| "fill-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 9, | |
| 0 | |
| ], | |
| [ | |
| 16, | |
| 0.2 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "grass", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 9, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "grass" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landcover", | |
| "fill-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 9, | |
| 0 | |
| ], | |
| [ | |
| 16, | |
| 0.4 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "wood", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 6, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "wood" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landcover", | |
| "fill-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 6, | |
| 0 | |
| ], | |
| [ | |
| 16, | |
| 0.5 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "agriculture", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "agriculture" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "none" | |
| }, | |
| "paint": { | |
| "fill-color": "rgba(221,85,85,1.000)", | |
| "fill-opacity": 1 | |
| } | |
| }, | |
| { | |
| "id": "hospital", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "hospital" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landuse-hospital" | |
| } | |
| }, | |
| { | |
| "id": "school", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "school" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landuse-school" | |
| } | |
| }, | |
| { | |
| "id": "parks", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "park" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landuse-parks", | |
| "fill-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 5, | |
| 0 | |
| ], | |
| [ | |
| 6, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "glaciers", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 9, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "glacier" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landuse-glacier", | |
| "fill-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 9, | |
| 0 | |
| ], | |
| [ | |
| 10, | |
| 0.25 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "pitch", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "pitch" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landuse-pitch" | |
| } | |
| }, | |
| { | |
| "id": "pitch-line", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "pitch" | |
| ] | |
| ], | |
| "layout": {}, | |
| "paint": { | |
| "line-color": "#e1f2c6" | |
| } | |
| }, | |
| { | |
| "id": "cemetery", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "cemetery" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landuse-cemetery" | |
| } | |
| }, | |
| { | |
| "id": "industrial", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "industrial" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landuse-industrial" | |
| } | |
| }, | |
| { | |
| "id": "sand", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "sand" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@landuse-sand" | |
| } | |
| }, | |
| { | |
| "id": "hillshade_highlight_bright", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "hillshade", | |
| "maxzoom": 18, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "level", | |
| 94 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@hillshade-highlight", | |
| "fill-opacity": { | |
| "stops": [ | |
| [ | |
| 15, | |
| 0.12 | |
| ], | |
| [ | |
| 18, | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "hillshade_highlight_med", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "hillshade", | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "level", | |
| 90 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@hillshade-highlight", | |
| "fill-opacity": { | |
| "stops": [ | |
| [ | |
| 15, | |
| 0.12 | |
| ], | |
| [ | |
| 18, | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "hillshade_shadow_faint", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "hillshade", | |
| "maxzoom": 17, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "level", | |
| 89 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@hillshade-shadow", | |
| "fill-opacity": { | |
| "stops": [ | |
| [ | |
| 15, | |
| 0.05 | |
| ], | |
| [ | |
| 17, | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "hillshade_shadow_med", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "hillshade", | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "level", | |
| 78 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@hillshade-shadow", | |
| "fill-opacity": { | |
| "stops": [ | |
| [ | |
| 15, | |
| 0.05 | |
| ], | |
| [ | |
| 17, | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "hillshade_shadow_dark", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "hillshade", | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "level", | |
| 67 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@hillshade-shadow", | |
| "fill-opacity": { | |
| "stops": [ | |
| [ | |
| 15, | |
| 0.06 | |
| ], | |
| [ | |
| 17, | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "hillshade_shadow_extreme", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "hillshade", | |
| "maxzoom": 17, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "level", | |
| 56 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@hillshade-shadow", | |
| "fill-opacity": { | |
| "stops": [ | |
| [ | |
| 15, | |
| 0.06 | |
| ], | |
| [ | |
| 17, | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "fill-antialias": false | |
| } | |
| }, | |
| { | |
| "id": "waterway-river", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "waterway", | |
| "minzoom": 8, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "any", | |
| [ | |
| "in", | |
| "class", | |
| "river" | |
| ], | |
| [ | |
| "in", | |
| "class", | |
| "canal" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 0, | |
| "butt" | |
| ], | |
| [ | |
| 11, | |
| "round" | |
| ] | |
| ] | |
| }, | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-color": "@water", | |
| "line-width": { | |
| "base": 1.3, | |
| "stops": [ | |
| [ | |
| 8.5, | |
| 0.1 | |
| ], | |
| [ | |
| 20, | |
| 8 | |
| ] | |
| ] | |
| }, | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 8, | |
| 0 | |
| ], | |
| [ | |
| 8.5, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "waterway-other", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "waterway", | |
| "minzoom": 13, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "!=", | |
| "class", | |
| "river" | |
| ], | |
| [ | |
| "!=", | |
| "class", | |
| "canal" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-join": "round", | |
| "line-cap": "round" | |
| }, | |
| "paint": { | |
| "line-color": "@water", | |
| "line-width": { | |
| "base": 1.35, | |
| "stops": [ | |
| [ | |
| 13.5, | |
| 0.1 | |
| ], | |
| [ | |
| 20, | |
| 3 | |
| ] | |
| ] | |
| }, | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13, | |
| 0 | |
| ], | |
| [ | |
| 13.5, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "water", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "water", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@water" | |
| } | |
| }, | |
| { | |
| "id": "landuse-overlay", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "landuse_overlay", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all" | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@wetlands", | |
| "fill-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.25 | |
| ], | |
| [ | |
| 10.5, | |
| 0.15 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "landuse-overlay-pattern", | |
| "ref": "landuse-overlay", | |
| "interactive": true, | |
| "paint": { | |
| "fill-color": "@wetlands", | |
| "fill-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| 0 | |
| ], | |
| [ | |
| 10.5, | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "fill-image": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13, | |
| "marsh-16" | |
| ], | |
| [ | |
| 14, | |
| "marsh-32" | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "barrier_line-land-polygon", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "barrier_line", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "land" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "Polygon" | |
| ] | |
| ], | |
| "layout": {}, | |
| "paint": { | |
| "fill-color": "@land" | |
| } | |
| }, | |
| { | |
| "id": "barrier_line-land-line", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "barrier_line", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "land" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "line-cap": "round" | |
| }, | |
| "paint": { | |
| "line-width": { | |
| "base": 1.99, | |
| "stops": [ | |
| [ | |
| 14, | |
| 0.75 | |
| ], | |
| [ | |
| 20, | |
| 40 | |
| ] | |
| ] | |
| }, | |
| "line-color": "@land" | |
| } | |
| }, | |
| { | |
| "id": "building-bottom", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "building", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "@building-shadow", | |
| "fill-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15.5, | |
| 0 | |
| ], | |
| [ | |
| 16, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "building-top", | |
| "ref": "building-bottom", | |
| "interactive": true, | |
| "paint": { | |
| "fill-color": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15, | |
| "@land" | |
| ], | |
| [ | |
| 16, | |
| "@building" | |
| ] | |
| ] | |
| }, | |
| "fill-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15, | |
| 0 | |
| ], | |
| [ | |
| 15.5, | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "fill-outline-color": "#d0cbbb", | |
| "fill-translate": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15, | |
| [ | |
| 0, | |
| 0 | |
| ] | |
| ], | |
| [ | |
| 20, | |
| [ | |
| -5, | |
| -5 | |
| ] | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "aeroway-polygon", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "aeroway", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "$type", | |
| "Polygon" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "apron" | |
| ] | |
| ], | |
| "layout": {}, | |
| "paint": { | |
| "fill-color": "@aeroway", | |
| "fill-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 11, | |
| 0 | |
| ], | |
| [ | |
| 11.5, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "aeroway-runway", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "aeroway", | |
| "minzoom": 9, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "type", | |
| "runway" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt" | |
| }, | |
| "paint": { | |
| "line-color": "@aeroway", | |
| "line-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 9, | |
| 1 | |
| ], | |
| [ | |
| 18, | |
| 80 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "aeroway-taxiway", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "aeroway", | |
| "minzoom": 9, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "type", | |
| "taxiway" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt" | |
| }, | |
| "paint": { | |
| "line-color": "@aeroway", | |
| "line-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 10, | |
| 0.5 | |
| ], | |
| [ | |
| 18, | |
| 20 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "admin-3-4-boundaries-bg", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "admin", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| ">=", | |
| "admin_level", | |
| 3 | |
| ], | |
| [ | |
| "in", | |
| "maritime", | |
| 0 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-join": "bevel" | |
| }, | |
| "paint": { | |
| "line-color": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 8, | |
| "@land" | |
| ], | |
| [ | |
| 16, | |
| "#f6e8e1" | |
| ] | |
| ] | |
| }, | |
| "line-width": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 3, | |
| 3.5 | |
| ], | |
| [ | |
| 10, | |
| 8 | |
| ] | |
| ] | |
| }, | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| 0 | |
| ], | |
| [ | |
| 8, | |
| 0.75 | |
| ] | |
| ] | |
| }, | |
| "line-dasharray": [ | |
| 1, | |
| 0 | |
| ], | |
| "line-translate": [ | |
| 0, | |
| 0 | |
| ], | |
| "line-blur": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 3, | |
| 0 | |
| ], | |
| [ | |
| 8, | |
| 3 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "tunnel-street_limited-polygon", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "Polygon" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "#EEE8E3", | |
| "fill-opacity": 0.75 | |
| } | |
| }, | |
| { | |
| "id": "tunnel-path-bg", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "path" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "none", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@path-bg-width", | |
| "line-dasharray": [ | |
| 1, | |
| 0 | |
| ], | |
| "line-color": "@road-case-dark", | |
| "line-blur": 0, | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15, | |
| 0 | |
| ], | |
| [ | |
| 15.25, | |
| 0.5 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "tunnel-path", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "path" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@path-width", | |
| "line-dasharray": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15, | |
| [ | |
| 0.1, | |
| 1.25 | |
| ] | |
| ], | |
| [ | |
| 16, | |
| [ | |
| 0.1, | |
| 1.6 | |
| ] | |
| ], | |
| [ | |
| 17, | |
| [ | |
| 0.1, | |
| 1.45 | |
| ] | |
| ], | |
| [ | |
| 18, | |
| [ | |
| 0.1, | |
| 1.3 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "line-color": "#f5f2ee", | |
| "line-opacity": "@path-opacity" | |
| } | |
| }, | |
| { | |
| "id": "tunnel-street-low", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@street-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": { | |
| "stops": [ | |
| [ | |
| 11.5, | |
| 0 | |
| ], | |
| [ | |
| 12, | |
| 1 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ], | |
| [ | |
| 14.01, | |
| 0 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "tunnel-street_limited-low", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@street-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": { | |
| "stops": [ | |
| [ | |
| 11.5, | |
| 0 | |
| ], | |
| [ | |
| 12, | |
| 1 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ], | |
| [ | |
| 14.01, | |
| 0 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "tunnel-motorway_link-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "motorway_link" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@road-motorway-case", | |
| "line-gap-width": "@motorway_link-width", | |
| "line-dasharray": [ | |
| 3, | |
| 3 | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "tunnel-service-driveway-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "service", | |
| "driveway" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@tunnel-case-dark", | |
| "line-gap-width": "@road-width-minor", | |
| "line-dasharray": [ | |
| 3, | |
| 3 | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "tunnel-street_limited-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "construction" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@tunnel-case-dark", | |
| "line-gap-width": "@street_limited-case-width", | |
| "line-dasharray": [ | |
| 3, | |
| 3 | |
| ], | |
| "line-opacity": "@street-high-opacity" | |
| } | |
| }, | |
| { | |
| "id": "tunnel-street-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@tunnel-case-dark", | |
| "line-gap-width": "@street-case-gap-width", | |
| "line-dasharray": [ | |
| 3, | |
| 3 | |
| ], | |
| "line-opacity": "@street-high-opacity" | |
| } | |
| }, | |
| { | |
| "id": "tunnel-main-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "main" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@main-case-width", | |
| "line-dasharray": [ | |
| 3, | |
| 3 | |
| ], | |
| "line-gap-width": "@main-width", | |
| "line-color": "@tunnel-case-dark" | |
| } | |
| }, | |
| { | |
| "id": "tunnel-trunk-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "main" | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-lg", | |
| "line-color": "@road-motorway-case", | |
| "line-gap-width": "@motorway-width", | |
| "line-opacity": 1, | |
| "line-dasharray": [ | |
| 3, | |
| 3 | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "tunnel-motorway-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "motorway" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-lg", | |
| "line-color": "@road-motorway-case", | |
| "line-gap-width": "@motorway-width", | |
| "line-opacity": 1, | |
| "line-dasharray": [ | |
| 3, | |
| 3 | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "tunnel-motorway_link", | |
| "ref": "tunnel-motorway_link-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@motorway_link-width", | |
| "line-color": "@tunnel-motorway", | |
| "line-opacity": 1, | |
| "line-dasharray": [ | |
| 1, | |
| 0 | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "tunnel-service-driveway", | |
| "ref": "tunnel-service-driveway-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@road-width-minor", | |
| "line-color": "@road-minor", | |
| "line-dasharray": [ | |
| 1, | |
| 0 | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "tunnel-construction", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 14, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "construction" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt", | |
| "line-join": "miter" | |
| }, | |
| "paint": { | |
| "line-width": "@street_limited-width", | |
| "line-color": "@road-case-dark", | |
| "line-opacity": "@street-high-opacity", | |
| "line-dasharray": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 14, | |
| [ | |
| 0.4, | |
| 0.8 | |
| ] | |
| ], | |
| [ | |
| 15, | |
| [ | |
| 0.3, | |
| 0.6 | |
| ] | |
| ], | |
| [ | |
| 16, | |
| [ | |
| 0.2, | |
| 0.3 | |
| ] | |
| ], | |
| [ | |
| 17, | |
| [ | |
| 0.2, | |
| 0.25 | |
| ] | |
| ], | |
| [ | |
| 18, | |
| [ | |
| 0.15, | |
| 0.15 | |
| ] | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "tunnel-street_limited", | |
| "ref": "tunnel-street_limited-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@street_limited-width", | |
| "line-color": "@road-street-limited", | |
| "line-opacity": "@street-high-opacity" | |
| } | |
| }, | |
| { | |
| "id": "tunnel-street", | |
| "ref": "tunnel-street-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@street-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": "@street-high-opacity" | |
| } | |
| }, | |
| { | |
| "id": "tunnel-main", | |
| "ref": "tunnel-main-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@main-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": 1, | |
| "line-dasharray": [ | |
| 1, | |
| 0 | |
| ], | |
| "line-blur": 0 | |
| } | |
| }, | |
| { | |
| "id": "tunnel-trunk", | |
| "ref": "tunnel-trunk-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@motorway-width", | |
| "line-color": "@tunnel-trunk" | |
| } | |
| }, | |
| { | |
| "id": "tunnel-motorway", | |
| "ref": "tunnel-motorway-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@motorway-width", | |
| "line-dasharray": [ | |
| 1, | |
| 0 | |
| ], | |
| "line-opacity": 1, | |
| "line-color": "@tunnel-motorway", | |
| "line-blur": 0 | |
| } | |
| }, | |
| { | |
| "id": "tunnel-rail", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 13, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "major_rail", | |
| "minor_rail" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt" | |
| }, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 13, | |
| "#d8d5c8" | |
| ], | |
| [ | |
| 16, | |
| "#c0beb2" | |
| ] | |
| ] | |
| }, | |
| "line-width": "@rail-width" | |
| } | |
| }, | |
| { | |
| "id": "tunnel-rail-tracks", | |
| "ref": "tunnel-rail", | |
| "interactive": true, | |
| "paint": { | |
| "line-color": { | |
| "stops": [ | |
| [ | |
| 13, | |
| "#d8d5c8" | |
| ], | |
| [ | |
| 16, | |
| "#c0beb2" | |
| ] | |
| ] | |
| }, | |
| "line-width": "@rail-track-width", | |
| "line-dasharray": [ | |
| 0.1, | |
| 15 | |
| ], | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13.75, | |
| 0 | |
| ], | |
| [ | |
| 20, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "road-path-bg", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "path" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@path-bg-width", | |
| "line-dasharray": [ | |
| 1, | |
| 0 | |
| ], | |
| "line-color": "@road-case-dark", | |
| "line-blur": 0, | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15, | |
| 0 | |
| ], | |
| [ | |
| 15.25, | |
| 0.5 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "road-path", | |
| "ref": "road-path-bg", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@path-width", | |
| "line-color": "@road-minor", | |
| "line-dasharray": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15, | |
| [ | |
| 0.1, | |
| 1.25 | |
| ] | |
| ], | |
| [ | |
| 16, | |
| [ | |
| 0.1, | |
| 1.6 | |
| ] | |
| ], | |
| [ | |
| 17, | |
| [ | |
| 0.1, | |
| 1.45 | |
| ] | |
| ], | |
| [ | |
| 18, | |
| [ | |
| 0.1, | |
| 1.3 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "line-opacity": "@path-opacity" | |
| } | |
| }, | |
| { | |
| "id": "road-street_limited-polygon-outline", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 12, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "Polygon" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "none" | |
| }, | |
| "paint": { | |
| "line-color": "@road-case-dark", | |
| "line-width": { | |
| "base": 1.5, | |
| "stops": [ | |
| [ | |
| 12, | |
| 1.5 | |
| ], | |
| [ | |
| 20, | |
| 4 | |
| ] | |
| ] | |
| }, | |
| "line-opacity": 1 | |
| } | |
| }, | |
| { | |
| "id": "road-street-low", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@street-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": { | |
| "stops": [ | |
| [ | |
| 11, | |
| 0 | |
| ], | |
| [ | |
| 11.25, | |
| 1 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ], | |
| [ | |
| 14.01, | |
| 0 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "road-street_limited-low", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@street-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": { | |
| "stops": [ | |
| [ | |
| 11, | |
| 0 | |
| ], | |
| [ | |
| 11.25, | |
| 1 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ], | |
| [ | |
| 14.01, | |
| 0 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "road-motorway_link-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 10, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "motorway_link" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@road-motorway-case", | |
| "line-gap-width": "@motorway_link-width", | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10.99, | |
| 0 | |
| ], | |
| [ | |
| 11, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "road-service-driveway-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "service", | |
| "driveway" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@road-case-dark", | |
| "line-gap-width": "@road-width-minor" | |
| } | |
| }, | |
| { | |
| "id": "road-street_limited-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "construction" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@road-case-dark", | |
| "line-gap-width": "@street_limited-case-width", | |
| "line-opacity": "@street-high-opacity" | |
| } | |
| }, | |
| { | |
| "id": "road-street-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@road-case-dark", | |
| "line-gap-width": "@street-case-gap-width", | |
| "line-opacity": "@street-high-opacity" | |
| } | |
| }, | |
| { | |
| "id": "road-main-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "main" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@main-case-width", | |
| "line-color": "@road-case-dark", | |
| "line-gap-width": "@main-width", | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 9.99, | |
| 0 | |
| ], | |
| [ | |
| 10, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "road-trunk-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 5, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "main" | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-lg", | |
| "line-color": "@road-trunk-case", | |
| "line-gap-width": "@motorway-width", | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 5.9, | |
| 0 | |
| ], | |
| [ | |
| 6, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "road-motorway-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "motorway" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-lg", | |
| "line-color": "@road-motorway-case", | |
| "line-gap-width": "@motorway-width", | |
| "line-opacity": { | |
| "base": 1.2, | |
| "stops": [ | |
| [ | |
| 5.9, | |
| 0 | |
| ], | |
| [ | |
| 6, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "road-street_limited-polygon", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 12, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "Polygon" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "none" | |
| }, | |
| "paint": { | |
| "fill-color": "@road-street-limited", | |
| "fill-opacity": 1 | |
| } | |
| }, | |
| { | |
| "id": "road-service-driveway", | |
| "ref": "road-service-driveway-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@road-width-minor", | |
| "line-color": "@road-minor" | |
| } | |
| }, | |
| { | |
| "id": "road-motorway_link", | |
| "ref": "road-motorway_link-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@motorway_link-width", | |
| "line-color": "@road-motorway", | |
| "line-opacity": 1 | |
| } | |
| }, | |
| { | |
| "id": "road-construction", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 14, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "construction" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt", | |
| "line-join": "miter" | |
| }, | |
| "paint": { | |
| "line-width": "@street_limited-width", | |
| "line-color": "@road-case-dark", | |
| "line-opacity": "@street-high-opacity", | |
| "line-dasharray": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 14, | |
| [ | |
| 0.4, | |
| 0.8 | |
| ] | |
| ], | |
| [ | |
| 15, | |
| [ | |
| 0.3, | |
| 0.6 | |
| ] | |
| ], | |
| [ | |
| 16, | |
| [ | |
| 0.2, | |
| 0.3 | |
| ] | |
| ], | |
| [ | |
| 17, | |
| [ | |
| 0.2, | |
| 0.25 | |
| ] | |
| ], | |
| [ | |
| 18, | |
| [ | |
| 0.15, | |
| 0.15 | |
| ] | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "road-street_limited", | |
| "ref": "road-street_limited-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@street_limited-width", | |
| "line-color": "@road-street-limited", | |
| "line-opacity": "@street-high-opacity" | |
| } | |
| }, | |
| { | |
| "id": "road-street", | |
| "ref": "road-street-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@street-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": "@street-high-opacity" | |
| } | |
| }, | |
| { | |
| "id": "road-main", | |
| "ref": "road-main-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@main-width", | |
| "line-color": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 5, | |
| "@land" | |
| ], | |
| [ | |
| 8, | |
| "@road-minor" | |
| ] | |
| ] | |
| }, | |
| "line-opacity": "@road-high-z-fadein" | |
| } | |
| }, | |
| { | |
| "id": "road-trunk", | |
| "ref": "road-trunk-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@motorway-width", | |
| "line-color": "@road-trunk" | |
| } | |
| }, | |
| { | |
| "id": "road-motorway", | |
| "ref": "road-motorway-case", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@motorway-width", | |
| "line-color": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 5.9, | |
| "#fff" | |
| ], | |
| [ | |
| 6, | |
| "#ffa159" | |
| ] | |
| ] | |
| }, | |
| "line-opacity": "@road-high-z-fadein" | |
| } | |
| }, | |
| { | |
| "id": "road-rail", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 13, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "major_rail", | |
| "minor_rail" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt" | |
| }, | |
| "paint": { | |
| "line-color": "@rail-lowhigh", | |
| "line-width": "@rail-width" | |
| } | |
| }, | |
| { | |
| "id": "road-rail-tracks", | |
| "ref": "road-rail", | |
| "interactive": true, | |
| "paint": { | |
| "line-color": "@rail-lowhigh", | |
| "line-width": "@rail-track-width", | |
| "line-dasharray": [ | |
| 0.1, | |
| 15 | |
| ], | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13.75, | |
| 0 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "bridge-street_limited-polygon", | |
| "type": "fill", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "Polygon" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "fill-color": "#EEE8E3", | |
| "fill-opacity": 0.75 | |
| } | |
| }, | |
| { | |
| "id": "bridge-path-bg", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "path" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@path-bg-width", | |
| "line-dasharray": [ | |
| 1, | |
| 0 | |
| ], | |
| "line-color": "@road-case-dark", | |
| "line-blur": 0, | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15, | |
| 0 | |
| ], | |
| [ | |
| 15.25, | |
| 0.75 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "bridge-path", | |
| "ref": "bridge-path-bg", | |
| "interactive": true, | |
| "paint": { | |
| "line-width": "@path-width", | |
| "line-color": "@road-minor", | |
| "line-dasharray": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 14, | |
| [ | |
| 0.1, | |
| 1.25 | |
| ] | |
| ], | |
| [ | |
| 16, | |
| [ | |
| 0.1, | |
| 1.6 | |
| ] | |
| ], | |
| [ | |
| 17, | |
| [ | |
| 0.1, | |
| 1.45 | |
| ] | |
| ], | |
| [ | |
| 18, | |
| [ | |
| 0.1, | |
| 1.3 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "line-opacity": "@path-opacity" | |
| } | |
| }, | |
| { | |
| "id": "bridge-street-low", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@street-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": { | |
| "stops": [ | |
| [ | |
| 11.5, | |
| 0 | |
| ], | |
| [ | |
| 12, | |
| 1 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ], | |
| [ | |
| 14.01, | |
| 0 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "bridge-street_limited-low", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@street-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": { | |
| "stops": [ | |
| [ | |
| 11.5, | |
| 0 | |
| ], | |
| [ | |
| 12, | |
| 1 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ], | |
| [ | |
| 14.01, | |
| 0 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "bridge-motorway_link-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 12, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "motorway_link" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@road-motorway-case", | |
| "line-gap-width": "@motorway_link-width", | |
| "line-opacity": 1 | |
| } | |
| }, | |
| { | |
| "id": "bridge-service-driveway-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "service", | |
| "driveway" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@road-case-dark", | |
| "line-gap-width": "@road-width-minor" | |
| } | |
| }, | |
| { | |
| "id": "bridge-street_limited-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 14, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "construction" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@road-case-dark", | |
| "line-gap-width": "@street_limited-case-width" | |
| } | |
| }, | |
| { | |
| "id": "bridge-street-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 14, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-sm", | |
| "line-color": "@road-case-dark", | |
| "line-gap-width": "@street-case-gap-width" | |
| } | |
| }, | |
| { | |
| "id": "bridge-main-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 8, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "main" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@main-case-width", | |
| "line-color": "@road-case-dark", | |
| "line-gap-width": "@main-width", | |
| "line-translate": [ | |
| 0, | |
| 0 | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "bridge-motorway-trunk-case", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "any", | |
| [ | |
| "in", | |
| "class", | |
| "motorway" | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-case-width-lg", | |
| "line-color": "@road-motorway-case", | |
| "line-gap-width": "@motorway-width" | |
| } | |
| }, | |
| { | |
| "id": "bridge-motorway_link", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 10, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "motorway_link" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@motorway_link-width", | |
| "line-color": "@road-motorway" | |
| } | |
| }, | |
| { | |
| "id": "bridge-service-driveway", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "service", | |
| "driveway" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@road-width-minor", | |
| "line-color": "@road-minor" | |
| } | |
| }, | |
| { | |
| "id": "bridge-construction", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 14, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "construction" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt", | |
| "line-join": "miter" | |
| }, | |
| "paint": { | |
| "line-width": "@street_limited-width", | |
| "line-color": "@road-case-dark", | |
| "line-opacity": "@street-high-opacity", | |
| "line-dasharray": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 14, | |
| [ | |
| 0.4, | |
| 0.8 | |
| ] | |
| ], | |
| [ | |
| 15, | |
| [ | |
| 0.3, | |
| 0.6 | |
| ] | |
| ], | |
| [ | |
| 16, | |
| [ | |
| 0.2, | |
| 0.3 | |
| ] | |
| ], | |
| [ | |
| 17, | |
| [ | |
| 0.2, | |
| 0.25 | |
| ] | |
| ], | |
| [ | |
| 18, | |
| [ | |
| 0.15, | |
| 0.15 | |
| ] | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "bridge-street_limited", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "construction" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@street_limited-width", | |
| "line-color": "@road-street-limited", | |
| "line-opacity": "@street-high-opacity" | |
| } | |
| }, | |
| { | |
| "id": "bridge-street", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@street-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": "@street-high-opacity" | |
| } | |
| }, | |
| { | |
| "id": "bridge-main", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "main" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@main-width", | |
| "line-color": "@road-minor", | |
| "line-opacity": "@road-high-z-fadein" | |
| } | |
| }, | |
| { | |
| "id": "bridge-trunk", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "main" | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@motorway-width", | |
| "line-color": "@road-trunk" | |
| } | |
| }, | |
| { | |
| "id": "bridge-motorway", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "motorway" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-width": "@motorway-width", | |
| "line-color": "@road-motorway" | |
| } | |
| }, | |
| { | |
| "id": "bridge-rail", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 13, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "major_rail", | |
| "minor_rail" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt" | |
| }, | |
| "paint": { | |
| "line-color": "@rail-lowhigh", | |
| "line-width": "@rail-width" | |
| } | |
| }, | |
| { | |
| "id": "bridge-rail-tracks", | |
| "ref": "bridge-rail", | |
| "interactive": true, | |
| "paint": { | |
| "line-color": "@rail-lowhigh", | |
| "line-width": "@rail-track-width", | |
| "line-dasharray": [ | |
| 0.1, | |
| 15 | |
| ], | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13.75, | |
| 0 | |
| ], | |
| [ | |
| 20, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "bridge-aerialway", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 13, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "aerialway" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt" | |
| }, | |
| "paint": { | |
| "line-color": "@rail", | |
| "line-width": "@rail-width" | |
| } | |
| }, | |
| { | |
| "id": "hedges", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "barrier_line", | |
| "minzoom": 16, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "hedge" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-color": "#e2f4c2", | |
| "line-width": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| 1 | |
| ], | |
| [ | |
| 20, | |
| 3 | |
| ] | |
| ] | |
| }, | |
| "line-opacity": 1, | |
| "line-dasharray": [ | |
| 1, | |
| 2, | |
| 5, | |
| 2, | |
| 1, | |
| 2 | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "fences", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "barrier_line", | |
| "minzoom": 16, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "fence" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-color": "@building-shadow", | |
| "line-width": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| 1 | |
| ], | |
| [ | |
| 20, | |
| 3 | |
| ] | |
| ] | |
| }, | |
| "line-opacity": 1, | |
| "line-dasharray": [ | |
| 1, | |
| 2, | |
| 5, | |
| 2, | |
| 1, | |
| 2 | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "gates", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "barrier_line", | |
| "minzoom": 17, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "gate" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "round", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-color": "@building-shadow", | |
| "line-width": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| 1 | |
| ], | |
| [ | |
| 20, | |
| 3 | |
| ] | |
| ] | |
| }, | |
| "line-opacity": 0.5, | |
| "line-dasharray": [ | |
| 1, | |
| 2, | |
| 5, | |
| 2, | |
| 1, | |
| 2 | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "admin-2-boundaries-bg", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "admin", | |
| "minzoom": 1, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "admin_level", | |
| 2 | |
| ], | |
| [ | |
| "in", | |
| "maritime", | |
| 0 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-join": "miter", | |
| "line-cap": "butt" | |
| }, | |
| "paint": { | |
| "line-width": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 3, | |
| 3.5 | |
| ], | |
| [ | |
| 10, | |
| 10 | |
| ] | |
| ] | |
| }, | |
| "line-color": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 6, | |
| "@land" | |
| ], | |
| [ | |
| 8, | |
| "#f6e8e1" | |
| ] | |
| ] | |
| }, | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 3, | |
| 0 | |
| ], | |
| [ | |
| 4, | |
| 0.5 | |
| ] | |
| ] | |
| }, | |
| "line-translate": [ | |
| 0, | |
| 0 | |
| ], | |
| "line-blur": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 3, | |
| 0 | |
| ], | |
| [ | |
| 10, | |
| 2 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "admin-3-4-boundaries", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "admin", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| ">=", | |
| "admin_level", | |
| 3 | |
| ], | |
| [ | |
| "in", | |
| "maritime", | |
| 0 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-join": "round", | |
| "line-cap": "round" | |
| }, | |
| "paint": { | |
| "line-dasharray": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 6, | |
| [ | |
| 2, | |
| 0 | |
| ] | |
| ], | |
| [ | |
| 7, | |
| [ | |
| 2, | |
| 2, | |
| 6, | |
| 2 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "line-width": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| 0.75 | |
| ], | |
| [ | |
| 12, | |
| 1.5 | |
| ] | |
| ] | |
| }, | |
| "line-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 2, | |
| 0 | |
| ], | |
| [ | |
| 3, | |
| 1 | |
| ] | |
| ] | |
| }, | |
| "line-color": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 3, | |
| "#c3bfcc" | |
| ], | |
| [ | |
| 7, | |
| "#aba8b3" | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "admin-2-boundaries", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "admin", | |
| "minzoom": 1, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "admin_level", | |
| 2 | |
| ], | |
| [ | |
| "in", | |
| "maritime", | |
| 0 | |
| ], | |
| [ | |
| "in", | |
| "disputed", | |
| 0 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-join": "round", | |
| "line-cap": "round" | |
| }, | |
| "paint": { | |
| "line-color": "@admin", | |
| "line-width": "@admin-2-boundary" | |
| } | |
| }, | |
| { | |
| "id": "admin-2-boundaries-dispute", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "admin", | |
| "minzoom": 1, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "admin_level", | |
| 2 | |
| ], | |
| [ | |
| "in", | |
| "maritime", | |
| 0 | |
| ], | |
| [ | |
| "in", | |
| "disputed", | |
| 1 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "line-cap": "butt", | |
| "line-join": "round" | |
| }, | |
| "paint": { | |
| "line-dasharray": [ | |
| 1.5, | |
| 1.5 | |
| ], | |
| "line-color": "@admin", | |
| "line-width": "@admin-2-boundary" | |
| } | |
| }, | |
| { | |
| "id": "contour", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "contour", | |
| "minzoom": 14, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "!=", | |
| "index", | |
| 5 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "line-opacity": 0.07, | |
| "line-color": "#66601a" | |
| } | |
| }, | |
| { | |
| "id": "contour-index", | |
| "type": "line", | |
| "source": "composite", | |
| "source-layer": "contour", | |
| "minzoom": 14, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "index", | |
| 5 | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible" | |
| }, | |
| "paint": { | |
| "line-opacity": 0.12, | |
| "line-color": "#66601a" | |
| } | |
| }, | |
| { | |
| "id": "country-label-lg", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "country_label", | |
| "minzoom": 1, | |
| "maxzoom": 7, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "scalerank", | |
| 1, | |
| 2 | |
| ] | |
| ], | |
| "layout": { | |
| "text-field": "{name_en}", | |
| "visibility": "visible", | |
| "text-max-size": "@country-label-lg-size", | |
| "text-max-width": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 0, | |
| 5 | |
| ], | |
| [ | |
| 3, | |
| 6 | |
| ] | |
| ] | |
| }, | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular" | |
| }, | |
| "paint": { | |
| "text-size": "@country-label-lg-size", | |
| "text-color": "@label-primary", | |
| "text-halo-color": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 2, | |
| "@country-halo" | |
| ], | |
| [ | |
| 3, | |
| "@halo" | |
| ] | |
| ] | |
| }, | |
| "text-halo-width": 1.25 | |
| } | |
| }, | |
| { | |
| "id": "country-label-md", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "country_label", | |
| "minzoom": 1, | |
| "maxzoom": 8, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "scalerank", | |
| 3, | |
| 4 | |
| ] | |
| ], | |
| "layout": { | |
| "text-field": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 0, | |
| "{code}" | |
| ], | |
| [ | |
| 2, | |
| "{name_en}" | |
| ] | |
| ] | |
| }, | |
| "visibility": "visible", | |
| "text-max-size": "@country-label-md-size", | |
| "text-max-width": 6, | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular" | |
| }, | |
| "paint": { | |
| "text-size": "@country-label-md-size", | |
| "text-color": "@label-primary", | |
| "text-halo-color": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 2, | |
| "@country-halo" | |
| ], | |
| [ | |
| 3, | |
| "@halo" | |
| ] | |
| ] | |
| }, | |
| "text-halo-width": 1.25 | |
| } | |
| }, | |
| { | |
| "id": "country-label-sm", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "country_label", | |
| "minzoom": 1, | |
| "maxzoom": 10, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| ">=", | |
| "scalerank", | |
| 5 | |
| ] | |
| ], | |
| "layout": { | |
| "text-field": "{name_en}", | |
| "visibility": "visible", | |
| "text-max-size": "@country-label-sm-size", | |
| "text-max-width": 6, | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular" | |
| }, | |
| "paint": { | |
| "text-size": "@country-label-sm-size", | |
| "text-color": "@label-primary", | |
| "text-halo-color": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 2, | |
| "@country-halo" | |
| ], | |
| [ | |
| 3, | |
| "@halo" | |
| ] | |
| ] | |
| }, | |
| "text-halo-width": 1.25 | |
| } | |
| }, | |
| { | |
| "id": "state-label-lg", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "state_label", | |
| "minzoom": 3, | |
| "maxzoom": 7, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| ">=", | |
| "area", | |
| 80000 | |
| ] | |
| ], | |
| "layout": { | |
| "text-allow-overlap": false, | |
| "text-ignore-placement": false, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 4, | |
| 10 | |
| ], | |
| [ | |
| 7, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "text-transform": "uppercase", | |
| "text-font": "DIN Offc Pro Bold, Arial Unicode MS Bold", | |
| "text-padding": 1, | |
| "visibility": "visible", | |
| "text-field": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 0, | |
| "{abbr}" | |
| ], | |
| [ | |
| 4, | |
| "{name_en}" | |
| ] | |
| ] | |
| }, | |
| "text-letter-spacing": 0.15, | |
| "text-max-width": 6 | |
| }, | |
| "paint": { | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 4, | |
| 10 | |
| ], | |
| [ | |
| 7, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "text-opacity": 1, | |
| "text-color": "@label-state", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1 | |
| } | |
| }, | |
| { | |
| "id": "state-label-md", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "state_label", | |
| "minzoom": 3, | |
| "maxzoom": 8, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "<", | |
| "area", | |
| 80000 | |
| ], | |
| [ | |
| ">=", | |
| "area", | |
| 20000 | |
| ] | |
| ], | |
| "layout": { | |
| "text-allow-overlap": false, | |
| "text-ignore-placement": false, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 5, | |
| 10 | |
| ], | |
| [ | |
| 8, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-transform": "uppercase", | |
| "text-font": "DIN Offc Pro Bold, Arial Unicode MS Bold", | |
| "visibility": "visible", | |
| "text-field": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 0, | |
| "{abbr}" | |
| ], | |
| [ | |
| 5, | |
| "{name_en}" | |
| ] | |
| ] | |
| }, | |
| "text-letter-spacing": 0.15, | |
| "text-max-width": 6 | |
| }, | |
| "paint": { | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 5, | |
| 10 | |
| ], | |
| [ | |
| 8, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-opacity": 1, | |
| "text-color": "@label-state", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1 | |
| } | |
| }, | |
| { | |
| "id": "state-label-sm", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "state_label", | |
| "minzoom": 3, | |
| "maxzoom": 9, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "<", | |
| "area", | |
| 20000 | |
| ] | |
| ], | |
| "layout": { | |
| "text-allow-overlap": false, | |
| "text-ignore-placement": false, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 6, | |
| 10 | |
| ], | |
| [ | |
| 9, | |
| 14 | |
| ] | |
| ] | |
| }, | |
| "text-transform": "uppercase", | |
| "text-font": "DIN Offc Pro Bold, Arial Unicode MS Bold", | |
| "visibility": "visible", | |
| "text-field": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 0, | |
| "{abbr}" | |
| ], | |
| [ | |
| 6, | |
| "{name_en}" | |
| ] | |
| ] | |
| }, | |
| "text-letter-spacing": 0.15, | |
| "text-max-width": 5 | |
| }, | |
| "paint": { | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 6, | |
| 10 | |
| ], | |
| [ | |
| 9, | |
| 14 | |
| ] | |
| ] | |
| }, | |
| "text-opacity": 1, | |
| "text-color": "@label-state", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1 | |
| } | |
| }, | |
| { | |
| "id": "marine-label-lg-pt", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "marine_label", | |
| "minzoom": 1, | |
| "maxzoom": 4, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "labelrank", | |
| 1 | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "Point" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "text-max-width": 4, | |
| "text-letter-spacing": 0.25, | |
| "text-line-height": 1.5, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 1, | |
| 14 | |
| ], | |
| [ | |
| 4, | |
| 30 | |
| ] | |
| ] | |
| }, | |
| "text-font": "DIN Offc Pro Italic, Arial Unicode MS Regular" | |
| }, | |
| "paint": { | |
| "text-color": "@label-water", | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 1, | |
| 14 | |
| ], | |
| [ | |
| 4, | |
| 30 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "marine-label-lg-ln", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "marine_label", | |
| "minzoom": 1, | |
| "maxzoom": 4, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "labelrank", | |
| 1 | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "text-max-width": 4, | |
| "text-letter-spacing": 0.25, | |
| "text-line-height": 1.1, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 1, | |
| 14 | |
| ], | |
| [ | |
| 4, | |
| 30 | |
| ] | |
| ] | |
| }, | |
| "symbol-placement": "line", | |
| "text-font": "DIN Offc Pro Italic, Arial Unicode MS Regular" | |
| }, | |
| "paint": { | |
| "text-color": "@label-water", | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 1, | |
| 14 | |
| ], | |
| [ | |
| 4, | |
| 30 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "marine-label-md-pt", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "marine_label", | |
| "minzoom": 2, | |
| "maxzoom": 8, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "labelrank", | |
| 2, | |
| 3 | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "Point" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "text-max-width": 5, | |
| "text-letter-spacing": 0.15, | |
| "text-line-height": 1.5, | |
| "text-max-size": { | |
| "base": 1.1, | |
| "stops": [ | |
| [ | |
| 2, | |
| 14 | |
| ], | |
| [ | |
| 5, | |
| 20 | |
| ] | |
| ] | |
| }, | |
| "text-font": "DIN Offc Pro Italic, Arial Unicode MS Regular" | |
| }, | |
| "paint": { | |
| "text-color": "@label-water", | |
| "text-size": { | |
| "base": 1.1, | |
| "stops": [ | |
| [ | |
| 2, | |
| 14 | |
| ], | |
| [ | |
| 5, | |
| 20 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "marine-label-md-ln", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "marine_label", | |
| "minzoom": 2, | |
| "maxzoom": 8, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "labelrank", | |
| 2, | |
| 3 | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.1, | |
| "symbol-min-distance": 250, | |
| "text-max-size": 20, | |
| "text-font": "DIN Offc Pro Italic, Arial Unicode MS Regular", | |
| "symbol-placement": "line", | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.15, | |
| "text-max-width": 5 | |
| }, | |
| "paint": { | |
| "text-color": "@label-water", | |
| "text-size": { | |
| "base": 1.1, | |
| "stops": [ | |
| [ | |
| 2, | |
| 12 | |
| ], | |
| [ | |
| 5, | |
| 20 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "marine-label-sm-pt", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "marine_label", | |
| "minzoom": 3, | |
| "maxzoom": 10, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| ">=", | |
| "labelrank", | |
| 4 | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "Point" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "text-max-width": 5, | |
| "text-letter-spacing": 0.1, | |
| "text-line-height": 1.5, | |
| "text-max-size": 20, | |
| "symbol-placement": "point", | |
| "text-font": "DIN Offc Pro Italic, Arial Unicode MS Regular" | |
| }, | |
| "paint": { | |
| "text-color": "@label-water", | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 3, | |
| 12 | |
| ], | |
| [ | |
| 6, | |
| 16 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "marine-label-sm-ln", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "marine_label", | |
| "minzoom": 3, | |
| "maxzoom": 10, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| ">=", | |
| "labelrank", | |
| 4 | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.1, | |
| "symbol-min-distance": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 4, | |
| 100 | |
| ], | |
| [ | |
| 6, | |
| 400 | |
| ] | |
| ] | |
| }, | |
| "text-max-size": 16, | |
| "text-font": "DIN Offc Pro Italic, Arial Unicode MS Regular", | |
| "symbol-placement": "line", | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.1, | |
| "text-max-width": 5 | |
| }, | |
| "paint": { | |
| "text-color": "@label-water", | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 3, | |
| 12 | |
| ], | |
| [ | |
| 6, | |
| 16 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "place-city-lg-n", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "place_label", | |
| "minzoom": 1, | |
| "maxzoom": 14, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "<=", | |
| "scalerank", | |
| 2 | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "city" | |
| ], | |
| [ | |
| "in", | |
| "ldir", | |
| "N", | |
| "NE", | |
| "NW", | |
| "W" | |
| ] | |
| ], | |
| "layout": { | |
| "icon-image": "circle.sdf", | |
| "text-max-size": "@label-city-lg-size", | |
| "text-font": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "DIN Offc Pro Regular, Arial Unicode MS Regular" | |
| ], | |
| [ | |
| 8, | |
| "DIN Offc Pro Medium, Arial Unicode MS Regular" | |
| ] | |
| ] | |
| }, | |
| "visibility": "visible", | |
| "text-offset": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| [ | |
| 0, | |
| -0.25 | |
| ] | |
| ], | |
| [ | |
| 8, | |
| [ | |
| 0, | |
| 0 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "text-anchor": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "bottom" | |
| ], | |
| [ | |
| 8, | |
| "center" | |
| ] | |
| ] | |
| }, | |
| "text-field": "{name_en}", | |
| "text-max-width": 7, | |
| "icon-max-size": 0.4 | |
| }, | |
| "paint": { | |
| "text-size": "@label-city-lg-size", | |
| "text-color": "@label-primary", | |
| "icon-halo-blur": 1, | |
| "icon-halo-color": "@halo", | |
| "icon-halo-width": 1, | |
| "text-opacity": 1, | |
| "icon-color": "@label-primary", | |
| "text-halo-color": "@halo", | |
| "icon-size": 0.4, | |
| "text-halo-width": 1, | |
| "icon-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| 1 | |
| ], | |
| [ | |
| 8, | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "place-city-lg-s", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "place_label", | |
| "minzoom": 1, | |
| "maxzoom": 14, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "<=", | |
| "scalerank", | |
| 2 | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "city" | |
| ], | |
| [ | |
| "in", | |
| "ldir", | |
| "S", | |
| "SE", | |
| "SW", | |
| "E" | |
| ] | |
| ], | |
| "layout": { | |
| "icon-image": "circle.sdf", | |
| "text-max-size": "@label-city-lg-size", | |
| "text-font": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "DIN Offc Pro Regular, Arial Unicode MS Regular" | |
| ], | |
| [ | |
| 8, | |
| "DIN Offc Pro Medium, Arial Unicode MS Regular" | |
| ] | |
| ] | |
| }, | |
| "visibility": "visible", | |
| "text-offset": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| [ | |
| 0, | |
| 0.15 | |
| ] | |
| ], | |
| [ | |
| 8, | |
| [ | |
| 0, | |
| 0 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "text-anchor": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "top" | |
| ], | |
| [ | |
| 8, | |
| "center" | |
| ] | |
| ] | |
| }, | |
| "text-field": "{name_en}", | |
| "text-max-width": 7, | |
| "icon-max-size": 0.4 | |
| }, | |
| "paint": { | |
| "text-size": "@label-city-lg-size", | |
| "text-color": "@label-primary", | |
| "icon-halo-blur": 1, | |
| "icon-halo-color": "@halo", | |
| "icon-halo-width": 1, | |
| "icon-color": "@label-primary", | |
| "text-halo-color": "@halo", | |
| "icon-size": 0.4, | |
| "text-halo-width": 1, | |
| "icon-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| 1 | |
| ], | |
| [ | |
| 8, | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "place-city-md-n", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "place_label", | |
| "minzoom": 0, | |
| "maxzoom": 14, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "scalerank", | |
| 3, | |
| 4, | |
| 5 | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "city" | |
| ], | |
| [ | |
| "in", | |
| "ldir", | |
| "N", | |
| "NE", | |
| "NW", | |
| "W" | |
| ] | |
| ], | |
| "layout": { | |
| "icon-image": "circle.sdf", | |
| "text-max-size": "@label-city-md-size", | |
| "text-font": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "DIN Offc Pro Regular, Arial Unicode MS Regular" | |
| ], | |
| [ | |
| 8, | |
| "DIN Offc Pro Medium, Arial Unicode MS Regular" | |
| ] | |
| ] | |
| }, | |
| "visibility": "visible", | |
| "text-offset": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| [ | |
| 0, | |
| -0.25 | |
| ] | |
| ], | |
| [ | |
| 8, | |
| [ | |
| 0, | |
| 0 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "text-anchor": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "bottom" | |
| ], | |
| [ | |
| 8, | |
| "center" | |
| ] | |
| ] | |
| }, | |
| "text-field": "{name_en}", | |
| "text-max-width": 7, | |
| "icon-max-size": 0.35 | |
| }, | |
| "paint": { | |
| "text-size": "@label-city-md-size", | |
| "text-color": "@label-primary", | |
| "icon-halo-blur": 1, | |
| "icon-halo-color": "@halo", | |
| "icon-halo-width": 1, | |
| "icon-color": "@label-primary", | |
| "text-halo-color": "@halo", | |
| "icon-size": 0.35, | |
| "text-halo-width": 1, | |
| "icon-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| 1 | |
| ], | |
| [ | |
| 8, | |
| 0 | |
| ] | |
| ] | |
| }, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "place-city-md-s", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "place_label", | |
| "minzoom": 0, | |
| "maxzoom": 14, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "scalerank", | |
| 3, | |
| 4, | |
| 5 | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "city" | |
| ], | |
| [ | |
| "in", | |
| "ldir", | |
| "S", | |
| "SE", | |
| "SW", | |
| "E" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "icon-image": "circle.sdf", | |
| "text-anchor": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "top" | |
| ], | |
| [ | |
| 8, | |
| "center" | |
| ] | |
| ] | |
| }, | |
| "text-offset": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| [ | |
| 0, | |
| 0.1 | |
| ] | |
| ], | |
| [ | |
| 8, | |
| [ | |
| 0, | |
| 0 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "icon-max-size": 0.35, | |
| "text-max-size": "@label-city-md-size", | |
| "text-font": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "DIN Offc Pro Regular, Arial Unicode MS Regular" | |
| ], | |
| [ | |
| 8, | |
| "DIN Offc Pro Medium, Arial Unicode MS Regular" | |
| ] | |
| ] | |
| } | |
| }, | |
| "paint": { | |
| "icon-size": 0.35, | |
| "text-size": "@label-city-md-size", | |
| "text-halo-width": 1, | |
| "text-halo-color": "@halo", | |
| "text-color": "@label-primary", | |
| "text-halo-blur": 1, | |
| "icon-color": "@label-primary", | |
| "icon-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| 1 | |
| ], | |
| [ | |
| 8, | |
| 0 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "place-city-sm", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "place_label", | |
| "minzoom": 0, | |
| "maxzoom": 14, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "!in", | |
| "scalerank", | |
| 0, | |
| 1, | |
| 2, | |
| 3, | |
| 4, | |
| 5 | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "city" | |
| ] | |
| ], | |
| "layout": { | |
| "icon-image": "circle.sdf", | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 6, | |
| 12 | |
| ], | |
| [ | |
| 14, | |
| 22 | |
| ] | |
| ] | |
| }, | |
| "text-transform": "none", | |
| "text-font": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "DIN Offc Pro Regular, Arial Unicode MS Regular" | |
| ], | |
| [ | |
| 8, | |
| "DIN Offc Pro Medium, Arial Unicode MS Regular" | |
| ] | |
| ] | |
| }, | |
| "visibility": "visible", | |
| "text-offset": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| [ | |
| 0, | |
| -0.2 | |
| ] | |
| ], | |
| [ | |
| 8, | |
| [ | |
| 0, | |
| 0 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "text-anchor": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "bottom" | |
| ], | |
| [ | |
| 8, | |
| "center" | |
| ] | |
| ] | |
| }, | |
| "text-field": "{name_en}", | |
| "text-max-width": 7, | |
| "icon-max-size": 0.3 | |
| }, | |
| "paint": { | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 6, | |
| 12 | |
| ], | |
| [ | |
| 14, | |
| 22 | |
| ] | |
| ] | |
| }, | |
| "text-color": "@label-primary", | |
| "icon-halo-blur": 1, | |
| "icon-halo-color": "@halo", | |
| "icon-halo-width": 1, | |
| "icon-color": "@label-primary", | |
| "text-halo-color": "@halo", | |
| "icon-size": 0.3, | |
| "text-halo-width": 1.25, | |
| "icon-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| 1 | |
| ], | |
| [ | |
| 8, | |
| 0 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "poi-islands", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "type", | |
| "Island" | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": 14, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 0 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "center", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 7 | |
| }, | |
| "paint": { | |
| "text-color": "@label-poi", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1, | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| 11 | |
| ], | |
| [ | |
| 18, | |
| 16 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "place-town", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "place_label", | |
| "minzoom": 6, | |
| "maxzoom": 15, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "type", | |
| "town" | |
| ] | |
| ], | |
| "layout": { | |
| "icon-image": "circle.sdf", | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| 11.5 | |
| ], | |
| [ | |
| 15, | |
| 20 | |
| ] | |
| ] | |
| }, | |
| "text-font": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 11, | |
| "DIN Offc Pro Regular, Arial Unicode MS Regular" | |
| ], | |
| [ | |
| 12, | |
| "DIN Offc Pro Medium, Arial Unicode MS Regular" | |
| ] | |
| ] | |
| }, | |
| "visibility": "visible", | |
| "text-offset": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| [ | |
| 0, | |
| -0.15 | |
| ] | |
| ], | |
| [ | |
| 8, | |
| [ | |
| 0, | |
| 0 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "text-anchor": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| "bottom" | |
| ], | |
| [ | |
| 8, | |
| "center" | |
| ] | |
| ] | |
| }, | |
| "text-field": "{name_en}", | |
| "text-max-width": 7, | |
| "icon-max-size": 0.3 | |
| }, | |
| "paint": { | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7, | |
| 11.5 | |
| ], | |
| [ | |
| 15, | |
| 20 | |
| ] | |
| ] | |
| }, | |
| "text-color": "@label-primary", | |
| "icon-halo-blur": 1, | |
| "icon-halo-color": "@halo", | |
| "icon-halo-width": 1, | |
| "icon-color": "@label-primary", | |
| "text-halo-color": "@halo", | |
| "icon-size": 0.3, | |
| "text-halo-width": 1.25, | |
| "icon-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 7.99, | |
| 1 | |
| ], | |
| [ | |
| 8, | |
| 0 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "place-village", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "place_label", | |
| "minzoom": 8, | |
| "maxzoom": 15, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "type", | |
| "village" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| 11.5 | |
| ], | |
| [ | |
| 16, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular", | |
| "text-max-width": 7 | |
| }, | |
| "paint": { | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| 11.5 | |
| ], | |
| [ | |
| 16, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1.25, | |
| "text-color": "@label-primary" | |
| } | |
| }, | |
| { | |
| "id": "place-hamlet", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "place_label", | |
| "minzoom": 10, | |
| "maxzoom": 16, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "type", | |
| "hamlet" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 12, | |
| 11.5 | |
| ], | |
| [ | |
| 15, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular" | |
| }, | |
| "paint": { | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 12, | |
| 11.5 | |
| ], | |
| [ | |
| 15, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1.25, | |
| "text-color": "@label-primary" | |
| } | |
| }, | |
| { | |
| "id": "place-suburb", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "place_label", | |
| "minzoom": 10, | |
| "maxzoom": 16, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "type", | |
| "suburb" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "text-transform": "uppercase", | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 11, | |
| 11 | |
| ], | |
| [ | |
| 15, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular", | |
| "text-letter-spacing": 0.15, | |
| "text-max-width": 7, | |
| "text-padding": 3 | |
| }, | |
| "paint": { | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 11, | |
| 11 | |
| ], | |
| [ | |
| 15, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255,255,255, 0.5)", | |
| "text-halo-width": 1.75, | |
| "text-color": "@label-neighbourhood" | |
| } | |
| }, | |
| { | |
| "id": "place-neighbourhood", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "place_label", | |
| "minzoom": 10, | |
| "maxzoom": 16, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "type", | |
| "neighbourhood" | |
| ] | |
| ], | |
| "layout": { | |
| "visibility": "visible", | |
| "text-field": "{name_en}", | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 12, | |
| 11 | |
| ], | |
| [ | |
| 16, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-transform": "uppercase", | |
| "text-letter-spacing": 0.1, | |
| "text-max-width": 7, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular", | |
| "text-padding": 3 | |
| }, | |
| "paint": { | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 12, | |
| 11 | |
| ], | |
| [ | |
| 16, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "rgba(255,255,255, 0.5)", | |
| "text-halo-width": 1.75, | |
| "text-color": "@label-neighbourhood", | |
| "text-halo-blur": 0 | |
| } | |
| }, | |
| { | |
| "id": "poi-islets", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "type", | |
| "Islet" | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| 11 | |
| ], | |
| [ | |
| 14, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 0 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "center", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 8 | |
| }, | |
| "paint": { | |
| "text-color": "@label-poi", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1, | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| 11 | |
| ], | |
| [ | |
| 14, | |
| 16 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "airport-label", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 9, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "maki", | |
| "airport", | |
| "heliport", | |
| "rocket" | |
| ], | |
| [ | |
| "<=", | |
| "scalerank", | |
| 2 | |
| ] | |
| ], | |
| "layout": { | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "icon-image": { | |
| "stops": [ | |
| [ | |
| 12, | |
| "{maki}-11" | |
| ], | |
| [ | |
| 13, | |
| "{maki}-15" | |
| ] | |
| ] | |
| }, | |
| "text-ignore-placement": false, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| 12 | |
| ], | |
| [ | |
| 18, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-offset": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 12, | |
| [ | |
| 0, | |
| 1 | |
| ] | |
| ], | |
| [ | |
| 13, | |
| [ | |
| 0, | |
| 1.25 | |
| ] | |
| ] | |
| ] | |
| }, | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": { | |
| "stops": [ | |
| [ | |
| 12, | |
| "{ref}" | |
| ], | |
| [ | |
| 13, | |
| "{name_en}" | |
| ] | |
| ] | |
| }, | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 9 | |
| }, | |
| "paint": { | |
| "text-color": "@label-transit", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1.25, | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| 12 | |
| ], | |
| [ | |
| 18, | |
| 18 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "poi-scalerank1", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "!in", | |
| "maki", | |
| "rail-light", | |
| "rail-metro", | |
| "rail", | |
| "airport", | |
| "airfield", | |
| "heliport", | |
| "rocket", | |
| "park", | |
| "golf", | |
| "cemetery", | |
| "zoo", | |
| "campsite", | |
| "swimming", | |
| "dog-park" | |
| ], | |
| [ | |
| "<=", | |
| "scalerank", | |
| 1 | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "Island" | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "icon-image": { | |
| "stops": [ | |
| [ | |
| 13, | |
| "{maki}-11" | |
| ], | |
| [ | |
| 14, | |
| "{maki}-15" | |
| ] | |
| ] | |
| }, | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": "@poi-scalerank1", | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 8 | |
| }, | |
| "paint": { | |
| "text-color": "@label-poi", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1, | |
| "text-size": "@poi-scalerank1" | |
| } | |
| }, | |
| { | |
| "id": "poi-parks-scalerank1", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "maki", | |
| "park", | |
| "golf", | |
| "cemetery", | |
| "zoo", | |
| "campsite", | |
| "swimming", | |
| "dog-park" | |
| ], | |
| [ | |
| "<=", | |
| "scalerank", | |
| 1 | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "icon-image": { | |
| "stops": [ | |
| [ | |
| 13, | |
| "{maki}-11" | |
| ], | |
| [ | |
| 14, | |
| "{maki}-15" | |
| ] | |
| ] | |
| }, | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": "@poi-scalerank1", | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 8 | |
| }, | |
| "paint": { | |
| "text-color": "@label-park", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1, | |
| "text-halo-blur": 0, | |
| "text-size": "@poi-scalerank1" | |
| } | |
| }, | |
| { | |
| "id": "water-label", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "water_label", | |
| "minzoom": 5, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| ">", | |
| "area", | |
| 10000 | |
| ] | |
| ], | |
| "layout": { | |
| "text-field": "{name_en}", | |
| "visibility": "visible", | |
| "text-font": "DIN Offc Pro Italic, Arial Unicode MS Regular", | |
| "text-max-width": 7, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13, | |
| 13 | |
| ], | |
| [ | |
| 18, | |
| 18 | |
| ] | |
| ] | |
| } | |
| }, | |
| "paint": { | |
| "text-halo-width": 0, | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13, | |
| 13 | |
| ], | |
| [ | |
| 18, | |
| 18 | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "@halo", | |
| "text-color": "@label-water-dark", | |
| "text-halo-blur": 1.5 | |
| } | |
| }, | |
| { | |
| "id": "water-label-sm", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "water_label", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "<=", | |
| "area", | |
| 10000 | |
| ] | |
| ], | |
| "layout": { | |
| "text-field": "{name_en}", | |
| "visibility": "visible", | |
| "text-font": "DIN Offc Pro Italic, Arial Unicode MS Regular", | |
| "text-max-width": 7, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| 13 | |
| ], | |
| [ | |
| 20, | |
| 16 | |
| ] | |
| ] | |
| } | |
| }, | |
| "paint": { | |
| "text-halo-width": 0, | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| 13 | |
| ], | |
| [ | |
| 20, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "@halo", | |
| "text-color": "@label-water-dark", | |
| "text-halo-blur": 1.5 | |
| } | |
| }, | |
| { | |
| "id": "rail-label", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 12, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "type", | |
| "Rail Station" | |
| ] | |
| ], | |
| "layout": { | |
| "symbol-min-distance": 250, | |
| "icon-image": "{network}-11", | |
| "symbol-avoid-edges": true, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13, | |
| 6 | |
| ], | |
| [ | |
| 14, | |
| 11 | |
| ], | |
| [ | |
| 16, | |
| 11 | |
| ], | |
| [ | |
| 20, | |
| 13 | |
| ] | |
| ] | |
| }, | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "icon-allow-overlap": false, | |
| "symbol-placement": "point", | |
| "text-justify": "center", | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 0, | |
| "" | |
| ], | |
| [ | |
| 13, | |
| "{name_en}" | |
| ] | |
| ] | |
| }, | |
| "text-letter-spacing": 0.02, | |
| "icon-padding": 0, | |
| "text-max-width": 7 | |
| }, | |
| "paint": { | |
| "text-color": "@label-poi", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1.5, | |
| "text-size": "@poi-scalerank3", | |
| "icon-halo-width": 4, | |
| "icon-halo-color": "#fff", | |
| "text-opacity": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13.99, | |
| 0 | |
| ], | |
| [ | |
| 14, | |
| 1 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "poi-parks-scalerank2", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 13, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "maki", | |
| "park", | |
| "golf", | |
| "cemetery", | |
| "zoo", | |
| "campsite", | |
| "swimming", | |
| "dog-park" | |
| ], | |
| [ | |
| "in", | |
| "scalerank", | |
| 2 | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "icon-image": { | |
| "stops": [ | |
| [ | |
| 14, | |
| "{maki}-11" | |
| ], | |
| [ | |
| 15, | |
| "{maki}-15" | |
| ] | |
| ] | |
| }, | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": "@poi-scalerank2", | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 1.25 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 8 | |
| }, | |
| "paint": { | |
| "text-color": "@label-park", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1.25, | |
| "text-size": "@poi-scalerank2" | |
| } | |
| }, | |
| { | |
| "id": "poi-scalerank2", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 13, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "!in", | |
| "maki", | |
| "rail-light", | |
| "rail-metro", | |
| "rail", | |
| "airport", | |
| "airfield", | |
| "heliport", | |
| "rocket", | |
| "park", | |
| "golf", | |
| "cemetery", | |
| "zoo", | |
| "campsite", | |
| "swimming", | |
| "dog-park" | |
| ], | |
| [ | |
| "in", | |
| "scalerank", | |
| 2 | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "icon-image": { | |
| "stops": [ | |
| [ | |
| 14, | |
| "{maki}-11" | |
| ], | |
| [ | |
| 15, | |
| "{maki}-15" | |
| ] | |
| ] | |
| }, | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": "@poi-scalerank2", | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 1.25 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 8 | |
| }, | |
| "paint": { | |
| "text-color": "@label-poi", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1.25, | |
| "text-size": "@poi-scalerank2" | |
| } | |
| }, | |
| { | |
| "id": "interstate_motorway_shields", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "road_label", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "shield", | |
| "us-interstate", | |
| "us-interstate-business", | |
| "us-interstate-duplex" | |
| ], | |
| [ | |
| "<=", | |
| "reflen", | |
| 6 | |
| ] | |
| ], | |
| "layout": { | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 1000, | |
| "icon-image": "{shield}-{reflen}-small", | |
| "icon-rotation-alignment": "viewport", | |
| "symbol-avoid-edges": false, | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": 9, | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "symbol-placement": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| "point" | |
| ], | |
| [ | |
| 11, | |
| "line" | |
| ] | |
| ] | |
| }, | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-rotation-alignment": "viewport", | |
| "text-field": "{ref}", | |
| "text-letter-spacing": 0.05, | |
| "icon-padding": { | |
| "base": 0.7, | |
| "stops": [ | |
| [ | |
| 6, | |
| 2 | |
| ], | |
| [ | |
| 14, | |
| 20 | |
| ] | |
| ] | |
| } | |
| }, | |
| "paint": { | |
| "text-size": 9, | |
| "text-color": "#fff", | |
| "icon-halo-color": "rgba(0, 0, 0, 1)", | |
| "icon-halo-width": 1, | |
| "text-opacity": 1, | |
| "icon-color": "white", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 0 | |
| } | |
| }, | |
| { | |
| "id": "other-motorway-shields", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "road_label", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "!in", | |
| "shield", | |
| "us-interstate", | |
| "us-interstate-business", | |
| "us-interstate-duplex" | |
| ], | |
| [ | |
| "<=", | |
| "reflen", | |
| 6 | |
| ] | |
| ], | |
| "layout": { | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 1000, | |
| "icon-image": "{shield}-{reflen}-small", | |
| "icon-rotation-alignment": "viewport", | |
| "symbol-avoid-edges": false, | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": 9, | |
| "text-font": "DIN Offc Pro Bold, Arial Unicode MS Bold", | |
| "symbol-placement": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 10, | |
| "point" | |
| ], | |
| [ | |
| 11, | |
| "line" | |
| ] | |
| ] | |
| }, | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-rotation-alignment": "viewport", | |
| "text-field": "{ref}", | |
| "text-letter-spacing": 0.05, | |
| "icon-padding": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 6, | |
| 2 | |
| ], | |
| [ | |
| 14, | |
| 20 | |
| ] | |
| ] | |
| } | |
| }, | |
| "paint": { | |
| "text-size": 9, | |
| "text-color": "@label-road", | |
| "icon-halo-color": "rgba(0, 0, 0, 1)", | |
| "icon-halo-width": 1, | |
| "text-opacity": 1, | |
| "icon-color": "white", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 0 | |
| } | |
| }, | |
| { | |
| "id": "road-label-large", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "road_label", | |
| "minzoom": 0, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "main", | |
| "motorway" | |
| ] | |
| ], | |
| "layout": { | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 500, | |
| "text-ignore-placement": false, | |
| "text-max-angle": 30, | |
| "text-max-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 9, | |
| 10 | |
| ], | |
| [ | |
| 20, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular", | |
| "symbol-placement": "line", | |
| "text-padding": 1, | |
| "visibility": "visible", | |
| "text-rotation-alignment": "map", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.01 | |
| }, | |
| "paint": { | |
| "text-color": "@label-road", | |
| "text-halo-color": "rgba(255,255,255, 0.75)", | |
| "text-halo-width": 1, | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 9, | |
| 10 | |
| ], | |
| [ | |
| 20, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "road-label-medium", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "road_label", | |
| "minzoom": 11, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "street", | |
| "street_limited" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "symbol-min-distance": 500, | |
| "text-max-angle": 30, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular", | |
| "symbol-placement": "line", | |
| "text-padding": 1, | |
| "visibility": "visible", | |
| "text-rotation-alignment": "map", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.01 | |
| }, | |
| "paint": { | |
| "text-color": "@label-road", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1, | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 11, | |
| 10 | |
| ], | |
| [ | |
| 20, | |
| 14 | |
| ] | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": "road-label-small", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "road_label", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "!in", | |
| "class", | |
| "motorway", | |
| "main", | |
| "street_limited", | |
| "street" | |
| ], | |
| [ | |
| "in", | |
| "$type", | |
| "LineString" | |
| ] | |
| ], | |
| "layout": { | |
| "symbol-min-distance": 500, | |
| "text-ignore-placement": false, | |
| "text-max-angle": 30, | |
| "text-max-size": 12, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular", | |
| "symbol-placement": "line", | |
| "text-padding": 1, | |
| "visibility": "visible", | |
| "text-rotation-alignment": "map", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.01 | |
| }, | |
| "paint": { | |
| "text-color": "@label-road", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1.25, | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 15, | |
| 10 | |
| ], | |
| [ | |
| 20, | |
| 13 | |
| ] | |
| ] | |
| }, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "poi-parks-scalerank3", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "maki", | |
| "park", | |
| "cemetery", | |
| "golf", | |
| "zoo" | |
| ], | |
| [ | |
| "in", | |
| "scalerank", | |
| 3 | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "icon-image": "{maki}-11", | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": "@poi-scalerank3", | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 8 | |
| }, | |
| "paint": { | |
| "text-color": "@label-park", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1, | |
| "text-size": "@poi-scalerank3" | |
| } | |
| }, | |
| { | |
| "id": "poi-scalerank3", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "!in", | |
| "maki", | |
| "rail-light", | |
| "rail-metro", | |
| "rail", | |
| "airport", | |
| "airfield", | |
| "heliport", | |
| "rocket", | |
| "park", | |
| "golf", | |
| "cemetery", | |
| "zoo", | |
| "campsite", | |
| "swimming", | |
| "dog-park" | |
| ], | |
| [ | |
| "in", | |
| "scalerank", | |
| 3 | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "icon-image": "{maki}-11", | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": "@poi-scalerank3", | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 1, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 8 | |
| }, | |
| "paint": { | |
| "text-color": "@label-poi", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1, | |
| "text-size": "@poi-scalerank3" | |
| } | |
| }, | |
| { | |
| "id": "poi-parks_scalerank4", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 16, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "maki", | |
| "park", | |
| "cemetery", | |
| "golf", | |
| "zoo", | |
| "playground", | |
| "" | |
| ], | |
| [ | |
| "in", | |
| "scalerank", | |
| 4 | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "icon-image": "{maki}-11", | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": "@poi-scalerank4", | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 1, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 8 | |
| }, | |
| "paint": { | |
| "text-color": "@label-park", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1, | |
| "text-size": "@poi-scalerank4" | |
| } | |
| }, | |
| { | |
| "id": "poi-scalerank4-l1", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 16, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "!in", | |
| "maki", | |
| "rail-light", | |
| "rail-metro", | |
| "rail", | |
| "airport", | |
| "airfield", | |
| "heliport", | |
| "rocket", | |
| "park", | |
| "golf", | |
| "cemetery", | |
| "zoo", | |
| "campsite", | |
| "swimming", | |
| "dog-park" | |
| ], | |
| [ | |
| "in", | |
| "scalerank", | |
| 4 | |
| ], | |
| [ | |
| "<=", | |
| "localrank", | |
| 14 | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "icon-image": "{maki}-11", | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": "@poi-scalerank4", | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 1, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 8 | |
| }, | |
| "paint": { | |
| "text-color": "@label-poi", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1, | |
| "text-size": "@poi-scalerank4" | |
| } | |
| }, | |
| { | |
| "id": "poi-scalerank4-l15", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "poi_label", | |
| "minzoom": 17, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "!in", | |
| "maki", | |
| "rail-light", | |
| "rail-metro", | |
| "rail", | |
| "airport", | |
| "airfield", | |
| "heliport", | |
| "rocket", | |
| "park", | |
| "golf", | |
| "cemetery", | |
| "zoo", | |
| "campsite", | |
| "swimming", | |
| "dog-park" | |
| ], | |
| [ | |
| "in", | |
| "scalerank", | |
| 4 | |
| ], | |
| [ | |
| ">=", | |
| "localrank", | |
| 15 | |
| ] | |
| ], | |
| "layout": { | |
| "text-line-height": 1.2, | |
| "text-allow-overlap": false, | |
| "symbol-min-distance": 250, | |
| "icon-image": "{maki}-11", | |
| "text-ignore-placement": false, | |
| "text-max-angle": 38, | |
| "text-max-size": "@poi-scalerank4", | |
| "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-padding": 2, | |
| "visibility": "visible", | |
| "text-offset": [ | |
| 0, | |
| 1 | |
| ], | |
| "icon-optional": false, | |
| "text-rotation-alignment": "viewport", | |
| "text-anchor": "top", | |
| "text-field": "{name_en}", | |
| "text-letter-spacing": 0.02, | |
| "text-max-width": 8 | |
| }, | |
| "paint": { | |
| "text-color": "@label-poi", | |
| "text-halo-color": "@halo", | |
| "text-halo-width": 1, | |
| "text-size": "@poi-scalerank4" | |
| } | |
| }, | |
| { | |
| "id": "waterway-label", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "waterway_label", | |
| "minzoom": 12, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "class", | |
| "river" | |
| ] | |
| ], | |
| "layout": { | |
| "text-field": "{name_en}", | |
| "visibility": "visible", | |
| "text-font": "DIN Offc Pro Italic, Arial Unicode MS Regular", | |
| "symbol-placement": "line", | |
| "text-max-angle": 30 | |
| }, | |
| "paint": { | |
| "text-halo-width": 0.5, | |
| "text-size": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 13, | |
| 12 | |
| ], | |
| [ | |
| 18, | |
| 16 | |
| ] | |
| ] | |
| }, | |
| "text-halo-color": "@halo", | |
| "text-color": "@label-water-dark", | |
| "text-halo-blur": 0.5 | |
| } | |
| }, | |
| { | |
| "id": "contour-index-label", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "contour", | |
| "minzoom": 14, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "index", | |
| 5 | |
| ] | |
| ], | |
| "layout": { | |
| "text-field": "{ele} m", | |
| "symbol-placement": "line", | |
| "text-max-size": 9.5, | |
| "text-max-angle": 25, | |
| "visibility": "visible", | |
| "text-padding": 5, | |
| "text-font": "DIN Offc Pro Regular, Arial Unicode MS Regular" | |
| }, | |
| "paint": { | |
| "text-size": 9.5, | |
| "text-color": "#a7a696", | |
| "text-halo-width": 1, | |
| "text-halo-blur": 1, | |
| "text-halo-color": "rgba(237,233,217, 0.25)" | |
| } | |
| }, | |
| { | |
| "id": "housenum-label", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "housenum_label", | |
| "minzoom": 17, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "layout": { | |
| "visibility": "visible", | |
| "text-field": "{house_num}", | |
| "text-font": "DIN Offc Pro Italic, Arial Unicode MS Regular", | |
| "symbol-placement": "point", | |
| "text-max-size": 9.5, | |
| "text-padding": 4, | |
| "text-max-width": 7 | |
| }, | |
| "paint": { | |
| "text-size": 9.5, | |
| "text-color": "#b2aca5", | |
| "text-halo-color": "@building", | |
| "text-halo-width": 1.5, | |
| "text-halo-blur": 0 | |
| } | |
| }, | |
| { | |
| "id": "bridge-oneway-arrows-white", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "oneway", | |
| 1 | |
| ], | |
| [ | |
| "any", | |
| [ | |
| "in", | |
| "class", | |
| "motorway", | |
| "motorway_link" | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "trunk" | |
| ] | |
| ] | |
| ], | |
| "layout": { | |
| "symbol-min-distance": 250, | |
| "symbol-placement": "line", | |
| "icon-image": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| "oneway-spaced-white-small" | |
| ], | |
| [ | |
| 17, | |
| "oneway-spaced-white-large" | |
| ] | |
| ] | |
| }, | |
| "icon-ignore-placement": false | |
| }, | |
| "paint": {} | |
| }, | |
| { | |
| "id": "bridge-oneway-arrows-color", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "bridge", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "oneway", | |
| 1 | |
| ], | |
| [ | |
| "in", | |
| "class", | |
| "main", | |
| "street", | |
| "street_limited" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "symbol-min-distance": 250, | |
| "symbol-placement": "line", | |
| "icon-image": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| "oneway-spaced-small" | |
| ], | |
| [ | |
| 17, | |
| "oneway-spaced-large" | |
| ] | |
| ] | |
| }, | |
| "icon-ignore-placement": false | |
| }, | |
| "paint": {} | |
| }, | |
| { | |
| "id": "road-oneway-arrows-white", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "oneway", | |
| 1 | |
| ], | |
| [ | |
| "any", | |
| [ | |
| "in", | |
| "class", | |
| "motorway", | |
| "motorway_link" | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "trunk" | |
| ] | |
| ] | |
| ], | |
| "layout": { | |
| "symbol-min-distance": 250, | |
| "symbol-placement": "line", | |
| "icon-image": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| "oneway-spaced-white-small" | |
| ], | |
| [ | |
| 17, | |
| "oneway-spaced-white-large" | |
| ] | |
| ] | |
| }, | |
| "icon-ignore-placement": false, | |
| "icon-padding": 2 | |
| }, | |
| "paint": {} | |
| }, | |
| { | |
| "id": "road-oneway-arrows-color", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "road", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "oneway", | |
| 1 | |
| ], | |
| [ | |
| "in", | |
| "class", | |
| "main", | |
| "street", | |
| "street_limited" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "symbol-min-distance": 250, | |
| "symbol-placement": "line", | |
| "icon-image": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| "oneway-spaced-small" | |
| ], | |
| [ | |
| 17, | |
| "oneway-spaced-large" | |
| ] | |
| ] | |
| }, | |
| "icon-ignore-placement": false, | |
| "icon-rotation-alignment": "map", | |
| "icon-padding": 2 | |
| }, | |
| "paint": {} | |
| }, | |
| { | |
| "id": "tunnel-oneway-arrows-white", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "oneway", | |
| 1 | |
| ], | |
| [ | |
| "any", | |
| [ | |
| "in", | |
| "class", | |
| "motorway", | |
| "motorway_link" | |
| ], | |
| [ | |
| "in", | |
| "type", | |
| "trunk" | |
| ] | |
| ] | |
| ], | |
| "layout": { | |
| "symbol-min-distance": 250, | |
| "symbol-placement": "line", | |
| "icon-image": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| "oneway-spaced-white-small" | |
| ], | |
| [ | |
| 17, | |
| "oneway-spaced-white-large" | |
| ] | |
| ] | |
| }, | |
| "icon-ignore-placement": false | |
| }, | |
| "paint": {} | |
| }, | |
| { | |
| "id": "tunnel-oneway-arrows-color", | |
| "type": "symbol", | |
| "source": "composite", | |
| "source-layer": "tunnel", | |
| "minzoom": 15, | |
| "maxzoom": 22, | |
| "interactive": true, | |
| "filter": [ | |
| "all", | |
| [ | |
| "in", | |
| "oneway", | |
| 1 | |
| ], | |
| [ | |
| "in", | |
| "class", | |
| "main", | |
| "street", | |
| "street_limited" | |
| ], | |
| [ | |
| "!=", | |
| "type", | |
| "trunk" | |
| ] | |
| ], | |
| "layout": { | |
| "symbol-min-distance": 250, | |
| "symbol-placement": "line", | |
| "icon-image": { | |
| "base": 1, | |
| "stops": [ | |
| [ | |
| 16, | |
| "oneway-spaced-small" | |
| ], | |
| [ | |
| 17, | |
| "oneway-spaced-large" | |
| ] | |
| ] | |
| }, | |
| "icon-ignore-placement": false | |
| }, | |
| "paint": {} | |
| } | |
| ], | |
| "owner": "nicki", | |
| "modified": "2015-05-07T16:43:40.332Z", | |
| "created": "2015-05-07T16:00:16.592Z", | |
| "id": "nicki.7bfc461f" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment