diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-10-02 14:20:07 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-10-02 14:57:26 +0200 |
commit | 6a78a4763d46fe5f0bde4ca72446fd4ccb0ea4bc (patch) | |
tree | 648779c42ea82c440d31f57a56da1c2b10c74e03 | |
parent | 2cbadaaaa3ee27e577a88554c392697ec081de75 (diff) | |
download | qtlocation-mapboxgl-6a78a4763d46fe5f0bde4ca72446fd4ccb0ea4bc.tar.gz |
[iOS] fix benchmarking app and update to style v8
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | ios/benchmark/MBXBenchViewController.mm | 12 | ||||
-rw-r--r-- | ios/benchmark/app-info.plist | 2 | ||||
-rwxr-xr-x | ios/benchmark/assets/glyphs/download.sh | 17 | ||||
-rw-r--r-- | ios/benchmark/assets/styles/mapbox-streets-v7.json | 3917 | ||||
-rw-r--r-- | ios/benchmark/assets/styles/streets-v8.json | 8935 | ||||
-rwxr-xr-x | ios/benchmark/assets/tiles/download.sh | 213 | ||||
-rw-r--r-- | ios/benchmark/assets/tiles/mapbox.mapbox-streets-v6.json | 1 | ||||
-rw-r--r-- | ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6.json | 1 | ||||
-rw-r--r-- | ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2.json | 1 | ||||
-rw-r--r-- | ios/benchmark/fo/MBXBenchViewController.mm | 140 | ||||
-rw-r--r-- | ios/benchmark/fo/benchmark-ios.gypi | 63 | ||||
-rw-r--r-- | src/mbgl/style/style.cpp | 2 |
13 files changed, 9027 insertions, 4280 deletions
diff --git a/.gitignore b/.gitignore index 4d0b4074c2..21a7079faa 100644 --- a/.gitignore +++ b/.gitignore @@ -33,8 +33,7 @@ /node_modules *~ -/ios/benchmark/assets/tiles/mapbox.mapbox-streets-v6/ -/ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2/ +/ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/ /ios/benchmark/assets/glyphs/DIN Offc Pro*/ /platform/node/test/actual diff --git a/ios/benchmark/MBXBenchViewController.mm b/ios/benchmark/MBXBenchViewController.mm index 0305ab853b..964a5c3de4 100644 --- a/ios/benchmark/MBXBenchViewController.mm +++ b/ios/benchmark/MBXBenchViewController.mm @@ -28,6 +28,18 @@ #pragma mark - Setup ++ (void)initialize +{ + if (self == [MBXBenchViewController class]) + { + [[NSUserDefaults standardUserDefaults] registerDefaults:@{ + @"MBXUserTrackingMode": @(MGLUserTrackingModeNone), + @"MBXShowsUserLocation": @NO, + @"MBXDebug": @NO, + }]; + } +} + - (void)viewDidLoad { [super viewDidLoad]; diff --git a/ios/benchmark/app-info.plist b/ios/benchmark/app-info.plist index fe29fce2c1..61e41c11fd 100644 --- a/ios/benchmark/app-info.plist +++ b/ios/benchmark/app-info.plist @@ -47,5 +47,7 @@ <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> + <key>MGLMapboxMetricsEnabledSettingShownInApp</key> + <true/> </dict> </plist> diff --git a/ios/benchmark/assets/glyphs/download.sh b/ios/benchmark/assets/glyphs/download.sh index 0ac1513827..01ca5c63c7 100755 --- a/ios/benchmark/assets/glyphs/download.sh +++ b/ios/benchmark/assets/glyphs/download.sh @@ -3,15 +3,14 @@ set -u LIST=( - "DIN%20Offc%20Pro%20Regular%2c%20Arial%20Unicode%20MS%20Regular/0-255.pbf" - "DIN%20Offc%20Pro%20Medium%2c%20Arial%20Unicode%20MS%20Bold/0-255.pbf" - "DIN%20Offc%20Pro%20Medium%2c%20Arial%20Unicode%20MS%20Regular/0-255.pbf" - "DIN%20Offc%20Pro%20Medium%2c%20Arial%20Unicode%20MS%20Regular/8192-8447.pbf" - "DIN%20Offc%20Pro%20Bold%2c%20Arial%20Unicode%20MS%20Regular/0-255.pbf" - "DIN%20Offc%20Pro%20Regular%2c%20Arial%20Unicode%20MS%20Regular/256-511.pbf" - "DIN%20Offc%20Pro%20Regular%2c%20Arial%20Unicode%20MS%20Regular/8192-8447.pbf" - "DIN%20Offc%20Pro%20Italic%2c%20Arial%20Unicode%20MS%20Regular/0-255.pbf" - "DIN%20Offc%20Pro%20Medium%2c%20Arial%20Unicode%20MS%20Regular/256-511.pbf" + "DIN%20Offc%20Pro%20Regular%2cArial%20Unicode%20MS%20Regular/0-255.pbf" + "DIN%20Offc%20Pro%20Medium%2cArial%20Unicode%20MS%20Regular/0-255.pbf" + "DIN%20Offc%20Pro%20Bold%2cArial%20Unicode%20MS%20Bold/0-255.pbf" + "DIN%20Offc%20Pro%20Regular%2cArial%20Unicode%20MS%20Regular/256-511.pbf" + "DIN%20Offc%20Pro%20Regular%2cArial%20Unicode%20MS%20Regular/8192-8447.pbf" + "DIN%20Offc%20Pro%20Medium%2cArial%20Unicode%20MS%20Regular/8192-8447.pbf" + "DIN%20Offc%20Pro%20Italic%2cArial%20Unicode%20MS%20Regular/0-255.pbf" + ) # from https://gist.github.com/cdown/1163649 diff --git a/ios/benchmark/assets/styles/mapbox-streets-v7.json b/ios/benchmark/assets/styles/mapbox-streets-v7.json deleted file mode 100644 index 62e0f66696..0000000000 --- a/ios/benchmark/assets/styles/mapbox-streets-v7.json +++ /dev/null @@ -1,3917 +0,0 @@ -{ - "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]] - }, - "@snow": "#fff", - "@path-opacity": { - "base": 1, - "stops": [[15, 0], [15.25, 1]] - }, - "@label-park": "#4c661f", - "@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", - "@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": { - "mapbox://mapbox.mapbox-streets-v6": { - "url": "asset://tiles/mapbox.mapbox-streets-v6.json", - "type": "vector" - }, - "mapbox://mapbox.mapbox-terrain-v2": { - "url": "asset://tiles/mapbox.mapbox-terrain-v2.json", - "type": "vector" - } - }, - "sprite": "asset://sprites/mapbox-streets", - "glyphs": "asset://glyphs/{fontstack}/{range}.pbf", - "layers": [{ - "id": "background", - "type": "background", - "minzoom": 0, - "maxzoom": 22, - "layout": { - "visibility": "visible" - }, - "paint": { - "background-color": "@land" - } - }, { - "id": "landcover_crop", - "type": "fill", - "source": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "landcover", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "crop"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landcover", - "fill-opacity": "@landcover-opacity", - "fill-antialias": false - } - }, { - "id": "landcover_grass", - "type": "fill", - "source": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "landcover", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "grass"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landcover", - "fill-opacity": "@landcover-opacity", - "fill-antialias": false - } - }, { - "id": "landcover_scrub", - "type": "fill", - "source": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "landcover", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "scrub"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landcover", - "fill-opacity": "@landcover-opacity", - "fill-antialias": false - } - }, { - "id": "landcover_wood", - "type": "fill", - "source": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "landcover", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "wood"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landcover", - "fill-opacity": "@landcover-opacity", - "fill-antialias": false - } - }, { - "id": "landcover_snow", - "type": "fill", - "source": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "landcover", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "snow"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@snow", - "fill-opacity": 0.2, - "fill-antialias": false - } - }, { - "id": "parks", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "park"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landuse-parks", - "fill-opacity": { - "base": 1, - "stops": [[5, 0], [6, 1]] - } - } - }, { - "id": "scrub", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 9, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 9, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 6, - "maxzoom": 22, - "filter": ["all", ["in", "class", "wood"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landcover", - "fill-opacity": { - "base": 1, - "stops": [[6, 0], [16, 0.5]] - } - } - }, { - "id": "hospital", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "hospital"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landuse-hospital" - } - }, { - "id": "glaciers", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 9, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "pitch"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landuse-pitch" - } - }, { - "id": "pitch-line", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 15, - "maxzoom": 22, - "filter": ["all", ["==", "class", "pitch"]], - "layout": {}, - "paint": { - "line-color": "#e1f2c6" - } - }, { - "id": "school", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "school"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landuse-school" - } - }, { - "id": "cemetery", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "cemetery"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landuse-cemetery" - } - }, { - "id": "industrial", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "industrial"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landuse-industrial" - } - }, { - "id": "sand", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "sand"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@landuse-sand" - } - }, { - "id": "hillshade_highlight_bright", - "type": "fill", - "source": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "hillshade", - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "hillshade", - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "hillshade", - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "hillshade", - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "hillshade", - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "hillshade", - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "waterway", - "minzoom": 8, - "maxzoom": 22, - "filter": ["any", ["==", "class", "river"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "waterway", - "minzoom": 13, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "water", - "minzoom": 0, - "maxzoom": 22, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@water" - } - }, { - "id": "landuse-overlay", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse_overlay", - "minzoom": 0, - "maxzoom": 22, - "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", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "landuse_overlay", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all"], - "layout": { - "visibility": "visible" - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "barrier_line", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "land"], ["==", "$type", "Polygon"]], - "layout": {}, - "paint": { - "fill-color": "@land" - } - }, { - "id": "barrier_line-land-line", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "barrier_line", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "land"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "building", - "minzoom": 15, - "maxzoom": 22, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "@building-shadow", - "fill-opacity": { - "base": 1, - "stops": [[15.5, 0], [16, 1]] - } - } - }, { - "id": "building-top", - "type": "fill", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "building", - "minzoom": 15, - "maxzoom": 22, - "layout": { - "visibility": "visible" - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "aeroway", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "aeroway", - "minzoom": 9, - "maxzoom": 22, - "filter": ["all", ["==", "type", "runway"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "aeroway", - "minzoom": 9, - "maxzoom": 22, - "filter": ["all", ["==", "type", "taxiway"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "admin", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", [">=", "admin_level", 3], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$type", "Polygon"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "#EEE8E3", - "fill-opacity": 0.75 - } - }, { - "id": "tunnel-path-bg", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 0, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 0, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["in", "class", "street"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["in", "class", "street_limited"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 15, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "main"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 0, - "maxzoom": 22, - "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", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "class", "motorway_link"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-width": "@motorway_link-width", - "line-color": "@tunnel-motorway", - "line-opacity": 1, - "line-dasharray": [1, 0] - } - }, { - "id": "tunnel-service-driveway", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 15, - "maxzoom": 22, - "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", - "line-dasharray": [1, 0] - } - }, { - "id": "tunnel-construction", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 14, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$type", "LineString"], ["==", "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", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$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": "tunnel-street", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "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": "tunnel-main", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "main"], ["!=", "type", "trunk"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-width": "@main-width", - "line-color": "@road-minor", - "line-opacity": 1, - "line-dasharray": [1, 0], - "line-blur": 0 - } - }, { - "id": "tunnel-trunk", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "main"], ["==", "type", "trunk"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-width": "@motorway-width", - "line-color": "@tunnel-trunk" - } - }, { - "id": "tunnel-motorway", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "motorway"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-width": "@motorway-width", - "line-dasharray": [1, 0], - "line-opacity": 1, - "line-color": "@tunnel-motorway", - "line-blur": 0 - } - }, { - "id": "tunnel-oneway-arrows-white", - "type": "symbol", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 15, - "maxzoom": 22, - "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": true - }, - "paint": {} - }, { - "id": "tunnel-oneway-arrows-color", - "type": "symbol", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 15, - "maxzoom": 22, - "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": true - }, - "paint": {} - }, { - "id": "tunnel-rail", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 13, - "maxzoom": 22, - "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", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "tunnel", - "minzoom": 13, - "maxzoom": 22, - "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-track-width", - "line-dasharray": [0.1, 15], - "line-opacity": { - "base": 1, - "stops": [[13.75, 0], [20, 1]] - } - } - }, { - "id": "road-path-bg", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 0, - "maxzoom": 22, - "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", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["in", "class", "path"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 12, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["in", "class", "street"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["in", "class", "street_limited"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 10, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 15, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 5, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 0, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 12, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$type", "Polygon"]], - "layout": { - "visibility": "none" - }, - "paint": { - "fill-color": "@road-street-limited", - "fill-opacity": 1 - } - }, { - "id": "road-service-driveway", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 15, - "maxzoom": 22, - "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": "road-motorway_link", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 10, - "maxzoom": 22, - "filter": ["all", ["==", "class", "motorway_link"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-width": "@motorway_link-width", - "line-color": "@road-motorway", - "line-opacity": 1 - } - }, { - "id": "road-construction", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 14, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$type", "LineString"], ["==", "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", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$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": "road-street", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "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": "road-main", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "main"], ["!=", "type", "trunk"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-width": "@main-width", - "line-color": { - "base": 1, - "stops": [[5, "@land"], [8, "@road-minor"]] - }, - "line-opacity": "@road-high-z-fadein" - } - }, { - "id": "road-trunk", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 5, - "maxzoom": 22, - "filter": ["all", ["==", "class", "main"], ["==", "type", "trunk"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-width": "@motorway-width", - "line-color": "@road-trunk" - } - }, { - "id": "road-motorway", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "motorway"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-width": "@motorway-width", - "line-color": { - "base": 1, - "stops": [[5.9, "#fff"], [6, "#ffa159"]] - }, - "line-opacity": "@road-high-z-fadein" - } - }, { - "id": "road-oneway-arrows-white", - "type": "symbol", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 15, - "maxzoom": 22, - "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": true - }, - "paint": {} - }, { - "id": "road-oneway-arrows-color", - "type": "symbol", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 15, - "maxzoom": 22, - "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": true, - "icon-rotation-alignment": "map" - }, - "paint": {} - }, { - "id": "road-rail", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 13, - "maxzoom": 22, - "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", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road", - "minzoom": 13, - "maxzoom": 22, - "filter": ["all", ["in", "class", "major_rail", "minor_rail"]], - "layout": { - "visibility": "visible", - "line-cap": "butt" - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$type", "Polygon"]], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "#EEE8E3", - "fill-opacity": 0.75 - } - }, { - "id": "bridge-path-bg", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 0, - "maxzoom": 22, - "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", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["in", "class", "path"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["in", "class", "street"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["in", "class", "street_limited"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 12, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 15, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 14, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 14, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 8, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 0, - "maxzoom": 22, - "filter": ["any", ["in", "class", "motorway"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 10, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 15, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 14, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$type", "LineString"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "class", "street_limited"], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "main"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", ["==", "class", "motorway"]], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-width": "@motorway-width", - "line-color": "@road-motorway" - } - }, { - "id": "bridge-oneway-arrows-white", - "type": "symbol", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 15, - "maxzoom": 22, - "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": true - }, - "paint": {} - }, { - "id": "bridge-oneway-arrows-color", - "type": "symbol", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 15, - "maxzoom": 22, - "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": true - }, - "paint": {} - }, { - "id": "bridge-rail", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 13, - "maxzoom": 22, - "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", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 13, - "maxzoom": 22, - "filter": ["all", ["in", "class", "major_rail", "minor_rail"]], - "layout": { - "visibility": "visible", - "line-cap": "butt" - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "bridge", - "minzoom": 13, - "maxzoom": 22, - "filter": ["all", ["in", "class", "aerialway"]], - "layout": { - "visibility": "visible", - "line-cap": "butt" - }, - "paint": { - "line-color": "@rail", - "line-width": "@rail-width" - } - }, { - "id": "hedges", - "type": "line", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "barrier_line", - "minzoom": 16, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "barrier_line", - "minzoom": 16, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "barrier_line", - "minzoom": 17, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "admin", - "minzoom": 1, - "maxzoom": 22, - "filter": ["all", ["==", "admin_level", 2], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "admin", - "minzoom": 0, - "maxzoom": 22, - "filter": ["all", [">=", "admin_level", 3], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "admin", - "minzoom": 1, - "maxzoom": 22, - "filter": ["all", ["==", "admin_level", 2], ["==", "maritime", 0], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "admin", - "minzoom": 1, - "maxzoom": 22, - "filter": ["all", ["==", "admin_level", 2], ["==", "maritime", 0], ["==", "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": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "contour", - "minzoom": 14, - "maxzoom": 22, - "filter": ["all", ["!=", "index", 5]], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-opacity": 0.07, - "line-color": "#66601a" - } - }, { - "id": "contour-index", - "type": "line", - "source": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "contour", - "minzoom": 14, - "maxzoom": 22, - "filter": ["all", ["==", "index", 5]], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-opacity": 0.12, - "line-color": "#66601a" - } - }, { - "id": "country-label-lg", - "type": "symbol", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "country_label", - "minzoom": 1, - "maxzoom": 7, - "filter": ["all", ["in", "scalerank", 1, 2]], - "layout": { - "text-field": "{name_en}", - "visibility": "visible", - "text-max-size": 24, - "text-max-width": { - "base": 1, - "stops": [[0, 5], [3, 6]] - }, - "text-font": "DIN Offc Pro Medium, Arial Unicode MS Bold" - }, - "paint": { - "text-size": { - "base": 1, - "stops": [[1, 10], [6, 24]] - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "country_label", - "minzoom": 1, - "maxzoom": 8, - "filter": ["all", ["in", "scalerank", 3, 4]], - "layout": { - "text-field": { - "base": 1, - "stops": [[0, "{code}"], [2, "{name_en}"]] - }, - "visibility": "visible", - "text-max-size": 24, - "text-max-width": 6, - "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular" - }, - "paint": { - "text-size": { - "base": 1, - "stops": [[3, 10], [8, 24]] - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "country_label", - "minzoom": 1, - "maxzoom": 10, - "filter": ["all", [">=", "scalerank", 5]], - "layout": { - "text-field": "{name_en}", - "visibility": "visible", - "text-max-size": 22, - "text-max-width": 6, - "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular" - }, - "paint": { - "text-size": { - "base": 0.9, - "stops": [[5, 14], [9, 22]] - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "state_label", - "minzoom": 3, - "maxzoom": 7, - "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 Regular", - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "state_label", - "minzoom": 3, - "maxzoom": 8, - "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 Regular", - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "state_label", - "minzoom": 3, - "maxzoom": 9, - "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 Regular", - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "marine_label", - "minzoom": 1, - "maxzoom": 4, - "filter": ["all", ["in", "labelrank", 1], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "marine_label", - "minzoom": 1, - "maxzoom": 4, - "filter": ["all", ["in", "labelrank", 1], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "marine_label", - "minzoom": 2, - "maxzoom": 8, - "filter": ["all", ["in", "labelrank", 2, 3], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "marine_label", - "minzoom": 2, - "maxzoom": 8, - "filter": ["all", ["in", "labelrank", 2, 3], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "marine_label", - "minzoom": 3, - "maxzoom": 10, - "filter": ["all", [">=", "labelrank", 4], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "marine_label", - "minzoom": 3, - "maxzoom": 10, - "filter": ["all", [">=", "labelrank", 4], ["==", "$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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "place_label", - "minzoom": 1, - "maxzoom": 14, - "filter": ["all", ["<=", "scalerank", 2], ["==", "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 Bold"]] - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "place_label", - "minzoom": 1, - "maxzoom": 14, - "filter": ["all", ["<=", "scalerank", 2], ["==", "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 Bold"]] - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "place_label", - "minzoom": 0, - "maxzoom": 14, - "filter": ["all", ["in", "scalerank", 3, 4, 5], ["==", "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 Bold"]] - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "place_label", - "minzoom": 0, - "maxzoom": 14, - "filter": ["all", ["in", "scalerank", 3, 4, 5], ["==", "type", "city"], ["in", "ldir", "S", "SE", "WW", "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 Bold"]] - } - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "place_label", - "minzoom": 0, - "maxzoom": 14, - "filter": ["all", ["!in", "scalerank", 0, 1, 2, 3, 4, 5], ["==", "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 Bold"]] - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 0, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "place_label", - "minzoom": 6, - "maxzoom": 14, - "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 Bold"]] - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "place_label", - "minzoom": 8, - "maxzoom": 15, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "place_label", - "minzoom": 10, - "maxzoom": 16, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "place_label", - "minzoom": 10, - "maxzoom": 16, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "place_label", - "minzoom": 10, - "maxzoom": 16, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 0, - "maxzoom": 22, - "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": "water-label", - "type": "symbol", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "water_label", - "minzoom": 5, - "maxzoom": 22, - "filter": ["all"], - "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": "airport-label", - "type": "symbol", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 9, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 0, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 0, - "maxzoom": 22, - "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": "rail-label", - "type": "symbol", - "source": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 12, - "maxzoom": 22, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 13, - "maxzoom": 22, - "filter": ["all", ["in", "maki", "park", "golf", "cemetery", "zoo", "campsite", "swimming", "dog-park"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 13, - "maxzoom": 22, - "filter": ["all", ["!in", "maki", "rail-light", "rail-metro", "rail", "airport", "airfield", "heliport", "rocket", "park", "golf", "cemetery", "zoo", "campsite", "swimming", "dog-park"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road_label", - "minzoom": 0, - "maxzoom": 22, - "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": { - "base": 1, - "stops": [[15, "{shield}-{reflen}-small"], [16, "{shield}-{reflen}-large"]] - }, - "icon-rotation-alignment": "viewport", - "symbol-avoid-edges": false, - "text-ignore-placement": false, - "text-max-angle": 38, - "text-max-size": 11, - "text-font": "DIN Offc Pro Medium, Arial Unicode MS Regular", - "symbol-placement": { - "base": 1, - "stops": [[10, "point"], [11, "line"]] - }, - "text-padding": 20, - "visibility": "visible", - "text-rotation-alignment": "viewport", - "text-field": "{ref}", - "text-letter-spacing": 0.05, - "icon-padding": 20 - }, - "paint": { - "text-size": { - "base": 1, - "stops": [[16, 9], [16.01, 11]] - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road_label", - "minzoom": 0, - "maxzoom": 22, - "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": { - "base": 1, - "stops": [[15, "{shield}-{reflen}-small"], [16, "{shield}-{reflen}-large"]] - }, - "icon-rotation-alignment": "viewport", - "symbol-avoid-edges": false, - "text-ignore-placement": false, - "text-max-angle": 38, - "text-max-size": 11, - "text-font": "DIN Offc Pro Bold, Arial Unicode MS Regular", - "symbol-placement": { - "base": 1, - "stops": [[10, "point"], [11, "line"]] - }, - "text-padding": 20, - "visibility": "visible", - "text-rotation-alignment": "viewport", - "text-field": "{ref}", - "text-letter-spacing": 0.05, - "icon-padding": 20 - }, - "paint": { - "text-size": { - "base": 1, - "stops": [[16, 9], [16.01, 11]] - }, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road_label", - "minzoom": 0, - "maxzoom": 22, - "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": 2, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road_label", - "minzoom": 11, - "maxzoom": 22, - "filter": ["all", ["in", "class", "street", "street_limited"], ["==", "$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": 2, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "road_label", - "minzoom": 15, - "maxzoom": 22, - "filter": ["all", ["!in", "class", "motorway", "main", "street_limited", "street"], ["==", "$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": 2, - "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 15, - "maxzoom": 22, - "filter": ["all", ["in", "maki", "park", "cemetery", "golf", "zoo"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 15, - "maxzoom": 22, - "filter": ["all", ["!in", "maki", "rail-light", "rail-metro", "rail", "airport", "airfield", "heliport", "rocket", "park", "golf", "cemetery", "zoo", "campsite", "swimming", "dog-park"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 16, - "maxzoom": 22, - "filter": ["all", ["in", "maki", "park", "cemetery", "golf", "zoo", "playground", ""], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 16, - "maxzoom": 22, - "filter": ["all", ["!in", "maki", "rail-light", "rail-metro", "rail", "airport", "airfield", "heliport", "rocket", "park", "golf", "cemetery", "zoo", "campsite", "swimming", "dog-park"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "poi_label", - "minzoom": 17, - "maxzoom": 22, - "filter": ["all", ["!in", "maki", "rail-light", "rail-metro", "rail", "airport", "airfield", "heliport", "rocket", "park", "golf", "cemetery", "zoo", "campsite", "swimming", "dog-park"], ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "waterway_label", - "minzoom": 12, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-terrain-v2", - "source-layer": "contour", - "minzoom": 14, - "maxzoom": 22, - "filter": ["all", ["==", "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": "mapbox://mapbox.mapbox-streets-v6", - "source-layer": "housenum_label", - "minzoom": 17, - "maxzoom": 22, - "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 - } - }], - "owner": "nicki", - "modified": "2015-04-22T21:56:16.821Z", - "created": "2015-04-20T17:11:47.261Z", - "id": "nicki.be444c8f" -}
\ No newline at end of file diff --git a/ios/benchmark/assets/styles/streets-v8.json b/ios/benchmark/assets/styles/streets-v8.json new file mode 100644 index 0000000000..4befdc121a --- /dev/null +++ b/ios/benchmark/assets/styles/streets-v8.json @@ -0,0 +1,8935 @@ +{ + "version": 8, + "name": "Mapbox Streets", + "sources": { + "composite": { + "url": "asset://tiles/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6.json", + "type": "vector" + } + }, + "sprite": "asset://sprites/mapbox-streets", + "glyphs": "asset://glyphs/{fontstack}/{range}.pbf", + "layers": [ + { + "id": "background", + "type": "background", + "minzoom": 0, + "maxzoom": 22, + "interactive": true, + "layout": { + "visibility": "visible" + }, + "paint": { + "background-color": "#ede9d9" + } + }, + { + "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": "#ddecb1", + "fill-opacity": { + "base": 1.5, + "stops": [ + [ + 2, + 0.3 + ], + [ + 14, + 0 + ] + ] + }, + "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": "#ddecb1", + "fill-opacity": { + "base": 1.5, + "stops": [ + [ + 2, + 0.3 + ], + [ + 14, + 0 + ] + ] + }, + "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": "#ddecb1", + "fill-opacity": { + "base": 1.5, + "stops": [ + [ + 2, + 0.3 + ], + [ + 14, + 0 + ] + ] + }, + "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": "#ddecb1", + "fill-opacity": { + "base": 1.5, + "stops": [ + [ + 2, + 0.3 + ], + [ + 14, + 0 + ] + ] + }, + "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": "#fff", + "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": "#ddecb1", + "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": "#ddecb1", + "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": "#ddecb1", + "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": "#f4dcdc" + } + }, + { + "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": "#f3ebb4" + } + }, + { + "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": "#cde8a2", + "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": "#dcedf9", + "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": "#c3e194" + } + }, + { + "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": "#dde6c2" + } + }, + { + "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": "#e0dae0" + } + }, + { + "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": "#ededcf" + } + }, + { + "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": "#fff", + "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": "#fff", + "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": "#5a5517", + "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": "#5a5517", + "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": "#5a5517", + "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": "#5a5517", + "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": "#8ccbf7", + "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": "#8ccbf7", + "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": "#8ccbf7" + } + }, + { + "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": "#9DD3D8", + "fill-opacity": { + "base": 1, + "stops": [ + [ + 10, + 0.25 + ], + [ + 10.5, + 0.15 + ] + ] + } + } + }, + { + "id": "landuse-overlay-pattern", + "ref": "landuse-overlay", + "interactive": true, + "paint": { + "fill-color": "#9DD3D8", + "fill-opacity": { + "base": 1, + "stops": [ + [ + 10, + 0 + ], + [ + 10.5, + 1 + ] + ] + }, + "fill-pattern": { + "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": "#ede9d9" + } + }, + { + "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": "#ede9d9" + } + }, + { + "id": "building-bottom", + "type": "fill", + "source": "composite", + "source-layer": "building", + "minzoom": 15, + "maxzoom": 22, + "interactive": true, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#cbc6b7", + "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, + "#ede9d9" + ], + [ + 16, + "#e8e0cc" + ] + ] + }, + "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": "#dbcedb", + "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": "#dbcedb", + "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": "#dbcedb", + "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, + "#ede9d9" + ], + [ + 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": { + "base": 1.5, + "stops": [ + [ + 15, + 2 + ], + [ + 18, + 7 + ] + ] + }, + "line-dasharray": [ + 1, + 0 + ], + "line-color": "#d9d3c9", + "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": { + "base": 1.5, + "stops": [ + [ + 15, + 1 + ], + [ + 18, + 4 + ] + ] + }, + "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": { + "base": 1, + "stops": [ + [ + 15, + 0 + ], + [ + 15.25, + 1 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#fff", + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#fff", + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#fff", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 12, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#c4beb7", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 14, + 0.5 + ], + [ + 18, + 12 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#c4beb7", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 13, + 0 + ], + [ + 14, + 2 + ], + [ + 18, + 12 + ] + ] + }, + "line-dasharray": [ + 3, + 3 + ], + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#c4beb7", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 13, + 0 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-dasharray": [ + 3, + 3 + ], + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "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": { + "base": 1.2, + "stops": [ + [ + 10, + 0.75 + ], + [ + 18, + 2 + ] + ] + }, + "line-dasharray": [ + 3, + 3 + ], + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 8.5, + 0.5 + ], + [ + 10, + 0.75 + ], + [ + 18, + 26 + ] + ] + }, + "line-color": "#c4beb7" + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 16, + 2 + ] + ] + }, + "line-color": "#fff", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 16, + 2 + ] + ] + }, + "line-color": "#fff", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + }, + "line-opacity": 1, + "line-dasharray": [ + 3, + 3 + ] + } + }, + { + "id": "tunnel-motorway_link", + "ref": "tunnel-motorway_link-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 12, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#ffbe8c", + "line-opacity": 1, + "line-dasharray": [ + 1, + 0 + ] + } + }, + { + "id": "tunnel-service-driveway", + "ref": "tunnel-service-driveway-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 14, + 0.5 + ], + [ + 18, + 12 + ] + ] + }, + "line-color": "#fff", + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 12 + ] + ] + }, + "line-color": "#d9d3c9", + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 12 + ] + ] + }, + "line-color": "#EFEDEB", + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "id": "tunnel-street", + "ref": "tunnel-street-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#fff", + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "id": "tunnel-main", + "ref": "tunnel-main-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 8.5, + 0.5 + ], + [ + 10, + 0.75 + ], + [ + 18, + 26 + ] + ] + }, + "line-color": "#fff", + "line-opacity": 1, + "line-dasharray": [ + 1, + 0 + ], + "line-blur": 0 + } + }, + { + "id": "tunnel-trunk", + "ref": "tunnel-trunk-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + }, + "line-color": "#f2de9e" + } + }, + { + "id": "tunnel-motorway", + "ref": "tunnel-motorway-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + }, + "line-dasharray": [ + 1, + 0 + ], + "line-opacity": 1, + "line-color": "#ffbe8c", + "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": { + "base": 1.5, + "stops": [ + [ + 14, + 0.5 + ], + [ + 20, + 1 + ] + ] + } + } + }, + { + "id": "tunnel-rail-tracks", + "ref": "tunnel-rail", + "interactive": true, + "paint": { + "line-color": { + "stops": [ + [ + 13, + "#d8d5c8" + ], + [ + 16, + "#c0beb2" + ] + ] + }, + "line-width": { + "base": 1.5, + "stops": [ + [ + 14, + 4 + ], + [ + 20, + 8 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 15, + 2 + ], + [ + 18, + 7 + ] + ] + }, + "line-dasharray": [ + 1, + 0 + ], + "line-color": "#d9d3c9", + "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": { + "base": 1.5, + "stops": [ + [ + 15, + 1 + ], + [ + 18, + 4 + ] + ] + }, + "line-color": "#fff", + "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": { + "base": 1, + "stops": [ + [ + 15, + 0 + ], + [ + 15.25, + 1 + ] + ] + } + } + }, + { + "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": "#d9d3c9", + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#fff", + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#fff", + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#fff", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 12, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#d9d3c9", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 14, + 0.5 + ], + [ + 18, + 12 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#d9d3c9", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 13, + 0 + ], + [ + 14, + 2 + ], + [ + 18, + 12 + ] + ] + }, + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#d9d3c9", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 13, + 0 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "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": { + "base": 1.2, + "stops": [ + [ + 10, + 0.75 + ], + [ + 18, + 2 + ] + ] + }, + "line-color": "#d9d3c9", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 8.5, + 0.5 + ], + [ + 10, + 0.75 + ], + [ + 18, + 26 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 16, + 2 + ] + ] + }, + "line-color": "#fff", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 16, + 2 + ] + ] + }, + "line-color": "#fff", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + }, + "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": "#EFEDEB", + "fill-opacity": 1 + } + }, + { + "id": "road-service-driveway", + "ref": "road-service-driveway-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 14, + 0.5 + ], + [ + 18, + 12 + ] + ] + }, + "line-color": "#fff" + } + }, + { + "id": "road-motorway_link", + "ref": "road-motorway_link-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 12, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#ffa159", + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 12 + ] + ] + }, + "line-color": "#d9d3c9", + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 12 + ] + ] + }, + "line-color": "#EFEDEB", + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "id": "road-street", + "ref": "road-street-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#fff", + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "id": "road-main", + "ref": "road-main-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 8.5, + 0.5 + ], + [ + 10, + 0.75 + ], + [ + 18, + 26 + ] + ] + }, + "line-color": { + "base": 1, + "stops": [ + [ + 5, + "#ede9d9" + ], + [ + 8, + "#fff" + ] + ] + }, + "line-opacity": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 5.5, + 1 + ] + ] + } + } + }, + { + "id": "road-trunk", + "ref": "road-trunk-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + }, + "line-color": "#f2cf60" + } + }, + { + "id": "road-motorway", + "ref": "road-motorway-case", + "interactive": true, + "paint": { + "line-width": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + }, + "line-color": { + "base": 1, + "stops": [ + [ + 5.9, + "#fff" + ], + [ + 6, + "#ffa159" + ] + ] + }, + "line-opacity": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 5.5, + 1 + ] + ] + } + } + }, + { + "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": { + "stops": [ + [ + 13, + "#d8d5c8" + ], + [ + 16, + "#b3b1a6" + ] + ] + }, + "line-width": { + "base": 1.5, + "stops": [ + [ + 14, + 0.5 + ], + [ + 20, + 1 + ] + ] + } + } + }, + { + "id": "road-rail-tracks", + "ref": "road-rail", + "interactive": true, + "paint": { + "line-color": { + "stops": [ + [ + 13, + "#d8d5c8" + ], + [ + 16, + "#b3b1a6" + ] + ] + }, + "line-width": { + "base": 1.5, + "stops": [ + [ + 14, + 4 + ], + [ + 20, + 8 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 15, + 2 + ], + [ + 18, + 7 + ] + ] + }, + "line-dasharray": [ + 1, + 0 + ], + "line-color": "#d9d3c9", + "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": { + "base": 1.5, + "stops": [ + [ + 15, + 1 + ], + [ + 18, + 4 + ] + ] + }, + "line-color": "#fff", + "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": { + "base": 1, + "stops": [ + [ + 15, + 0 + ], + [ + 15.25, + 1 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#fff", + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#fff", + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#fff", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 12, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#d9d3c9", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 14, + 0.5 + ], + [ + 18, + 12 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#d9d3c9", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 13, + 0 + ], + [ + 14, + 2 + ], + [ + 18, + 12 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.75 + ], + [ + 20, + 2 + ] + ] + }, + "line-color": "#d9d3c9", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 13, + 0 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + } + } + }, + { + "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": { + "base": 1.2, + "stops": [ + [ + 10, + 0.75 + ], + [ + 18, + 2 + ] + ] + }, + "line-color": "#d9d3c9", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 8.5, + 0.5 + ], + [ + 10, + 0.75 + ], + [ + 18, + 26 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 16, + 2 + ] + ] + }, + "line-color": "#fff", + "line-gap-width": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 12, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#ffa159" + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 14, + 0.5 + ], + [ + 18, + 12 + ] + ] + }, + "line-color": "#fff" + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 12 + ] + ] + }, + "line-color": "#d9d3c9", + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + }, + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 12 + ] + ] + }, + "line-color": "#EFEDEB", + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 12.5, + 0.5 + ], + [ + 14, + 2 + ], + [ + 18, + 18 + ] + ] + }, + "line-color": "#fff", + "line-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 8.5, + 0.5 + ], + [ + 10, + 0.75 + ], + [ + 18, + 26 + ] + ] + }, + "line-color": "#fff", + "line-opacity": { + "base": 1.2, + "stops": [ + [ + 5, + 0 + ], + [ + 5.5, + 1 + ] + ] + } + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + }, + "line-color": "#f2cf60" + } + }, + { + "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": { + "base": 1.5, + "stops": [ + [ + 5, + 0.75 + ], + [ + 18, + 32 + ] + ] + }, + "line-color": "#ffa159" + } + }, + { + "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": { + "stops": [ + [ + 13, + "#d8d5c8" + ], + [ + 16, + "#b3b1a6" + ] + ] + }, + "line-width": { + "base": 1.5, + "stops": [ + [ + 14, + 0.5 + ], + [ + 20, + 1 + ] + ] + } + } + }, + { + "id": "bridge-rail-tracks", + "ref": "bridge-rail", + "interactive": true, + "paint": { + "line-color": { + "stops": [ + [ + 13, + "#d8d5c8" + ], + [ + 16, + "#b3b1a6" + ] + ] + }, + "line-width": { + "base": 1.5, + "stops": [ + [ + 14, + 4 + ], + [ + 20, + 8 + ] + ] + }, + "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": "#b3ada6", + "line-width": { + "base": 1.5, + "stops": [ + [ + 14, + 0.5 + ], + [ + 20, + 1 + ] + ] + } + } + }, + { + "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": "#cbc6b7", + "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": "#cbc6b7", + "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, + "#ede9d9" + ], + [ + 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": "#787680", + "line-width": { + "base": 1, + "stops": [ + [ + 3, + 0.5 + ], + [ + 10, + 2 + ] + ] + } + } + }, + { + "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": "#787680", + "line-width": { + "base": 1, + "stops": [ + [ + 3, + 0.5 + ], + [ + 10, + 2 + ] + ] + } + } + }, + { + "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": "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-placement": "line", + "icon-image": { + "base": 1, + "stops": [ + [ + 16, + "oneway-spaced-small" + ], + [ + 17, + "oneway-spaced-large" + ] + ] + }, + "icon-ignore-placement": false, + "symbol-spacing": 250 + }, + "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-placement": "line", + "icon-image": { + "base": 1, + "stops": [ + [ + 16, + "oneway-spaced-white-small" + ], + [ + 17, + "oneway-spaced-white-large" + ] + ] + }, + "icon-ignore-placement": false, + "symbol-spacing": 250 + }, + "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-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, + "symbol-spacing": 250 + }, + "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-placement": "line", + "icon-image": { + "base": 1, + "stops": [ + [ + 16, + "oneway-spaced-white-small" + ], + [ + 17, + "oneway-spaced-white-large" + ] + ] + }, + "icon-ignore-placement": false, + "icon-padding": 2, + "symbol-spacing": 250 + }, + "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-placement": "line", + "icon-image": { + "base": 1, + "stops": [ + [ + 16, + "oneway-spaced-small" + ], + [ + 17, + "oneway-spaced-large" + ] + ] + }, + "icon-ignore-placement": false, + "symbol-spacing": 250 + }, + "paint": {} + }, + { + "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-placement": "line", + "icon-image": { + "base": 1, + "stops": [ + [ + 16, + "oneway-spaced-white-small" + ], + [ + 17, + "oneway-spaced-white-large" + ] + ] + }, + "icon-ignore-placement": false, + "symbol-spacing": 250 + }, + "paint": {} + }, + { + "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-padding": 4, + "text-max-width": 7, + "text-size": 9.5 + }, + "paint": { + "text-color": "#b2aca5", + "text-halo-color": "#e8e0cc", + "text-halo-width": 1.5, + "text-halo-blur": 0 + } + }, + { + "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-angle": 25, + "visibility": "visible", + "text-padding": 5, + "text-font": [ + "DIN Offc Pro Regular", + "Arial Unicode MS Regular" + ], + "text-size": 9.5 + }, + "paint": { + "text-color": "#a7a696", + "text-halo-width": 1, + "text-halo-blur": 1, + "text-halo-color": "rgba(237,233,217, 0.25)" + } + }, + { + "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, + "text-size": { + "base": 1, + "stops": [ + [ + 13, + 12 + ], + [ + 18, + 16 + ] + ] + } + }, + "paint": { + "text-halo-width": 0.5, + "text-halo-color": "#ffffff", + "text-color": "#004087", + "text-halo-blur": 0.5 + } + }, + { + "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, + "icon-image": "{maki}-11", + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 16, + 11 + ], + [ + 20, + 13 + ] + ] + } + }, + "paint": { + "text-color": "#65513d", + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "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, + "icon-image": "{maki}-11", + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 16, + 11 + ], + [ + 20, + 13 + ] + ] + } + }, + "paint": { + "text-color": "#65513d", + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "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, + "icon-image": "{maki}-11", + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 16, + 11 + ], + [ + 20, + 13 + ] + ] + } + }, + "paint": { + "text-color": "#4c661f", + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "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, + "icon-image": "{maki}-11", + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 16, + 11 + ], + [ + 20, + 13 + ] + ] + } + }, + "paint": { + "text-color": "#65513d", + "text-halo-color": "#ffffff", + "text-halo-width": 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, + "icon-image": "{maki}-11", + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 16, + 11 + ], + [ + 20, + 13 + ] + ] + } + }, + "paint": { + "text-color": "#4c661f", + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "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": { + "text-ignore-placement": false, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 15, + 10 + ], + [ + 20, + 13 + ] + ] + } + }, + "paint": { + "text-color": "#3a3836", + "text-halo-color": "#ffffff", + "text-halo-width": 1.25, + "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": { + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 11, + 10 + ], + [ + 20, + 14 + ] + ] + } + }, + "paint": { + "text-color": "#3a3836", + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "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, + "text-ignore-placement": false, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 9, + 10 + ], + [ + 20, + 16 + ] + ] + } + }, + "paint": { + "text-color": "#3a3836", + "text-halo-color": "rgba(255,255,255, 0.75)", + "text-halo-width": 1, + "text-halo-blur": 1 + } + }, + { + "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, + "icon-image": { + "base": 1, + "stops": [ + [ + 0, + "{shield}-{reflen}-small" + ], + [ + 16, + "{shield}-{reflen}-large" + ] + ] + }, + "icon-rotation-alignment": "viewport", + "symbol-avoid-edges": false, + "text-ignore-placement": false, + "text-max-angle": 38, + "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": 2, + "symbol-spacing": { + "base": 1, + "stops": [ + [ + 11, + 100 + ], + [ + 14, + 200 + ] + ] + }, + "text-size": { + "base": 1, + "stops": [ + [ + 16, + 9 + ], + [ + 16.01, + 11 + ] + ] + } + }, + "paint": { + "text-color": "#3a3836", + "icon-halo-color": "rgba(0, 0, 0, 1)", + "icon-halo-width": 1, + "text-opacity": 1, + "icon-color": "white", + "text-halo-color": "#ffffff", + "text-halo-width": 0 + } + }, + { + "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, + "icon-image": { + "base": 1, + "stops": [ + [ + 0, + "{shield}-{reflen}-small" + ], + [ + 16, + "{shield}-{reflen}-large" + ] + ] + }, + "icon-rotation-alignment": "viewport", + "symbol-avoid-edges": false, + "text-ignore-placement": false, + "text-max-angle": 38, + "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": 2, + "symbol-spacing": { + "base": 1, + "stops": [ + [ + 11, + 100 + ], + [ + 14, + 200 + ] + ] + }, + "text-size": { + "base": 1, + "stops": [ + [ + 16, + 9 + ], + [ + 16.01, + 11 + ] + ] + } + }, + "paint": { + "text-color": "#fff", + "icon-halo-color": "rgba(0, 0, 0, 1)", + "icon-halo-width": 1, + "text-opacity": 1, + "icon-color": "white", + "text-halo-color": "#ffffff", + "text-halo-width": 0 + } + }, + { + "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, + "icon-image": { + "stops": [ + [ + 14, + "{maki}-11" + ], + [ + 15, + "{maki}-15" + ] + ] + }, + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 14, + 11 + ], + [ + 20, + 14 + ] + ] + } + }, + "paint": { + "text-color": "#65513d", + "text-halo-color": "#ffffff", + "text-halo-width": 1.25 + } + }, + { + "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, + "icon-image": { + "stops": [ + [ + 14, + "{maki}-11" + ], + [ + 15, + "{maki}-15" + ] + ] + }, + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 14, + 11 + ], + [ + 20, + 14 + ] + ] + } + }, + "paint": { + "text-color": "#4c661f", + "text-halo-color": "#ffffff", + "text-halo-width": 1.25 + } + }, + { + "id": "rail-label", + "type": "symbol", + "source": "composite", + "source-layer": "poi_label", + "minzoom": 12, + "maxzoom": 22, + "interactive": true, + "filter": [ + "all", + [ + "in", + "type", + "Rail Station" + ] + ], + "layout": { + "icon-image": "{network}-11", + "symbol-avoid-edges": true, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 16, + 11 + ], + [ + 20, + 13 + ] + ] + } + }, + "paint": { + "text-color": "#65513d", + "text-halo-color": "#ffffff", + "text-halo-width": 1.5, + "icon-halo-width": 4, + "icon-halo-color": "#fff", + "text-opacity": { + "base": 1, + "stops": [ + [ + 13.99, + 0 + ], + [ + 14, + 1 + ] + ] + } + } + }, + { + "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-size": { + "base": 1, + "stops": [ + [ + 16, + 13 + ], + [ + 20, + 16 + ] + ] + } + }, + "paint": { + "text-halo-width": 0, + "text-halo-color": "#ffffff", + "text-color": "#004087", + "text-halo-blur": 1.5 + } + }, + { + "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-size": { + "base": 1, + "stops": [ + [ + 13, + 13 + ], + [ + 18, + 18 + ] + ] + } + }, + "paint": { + "text-halo-width": 0, + "text-halo-color": "#ffffff", + "text-color": "#004087", + "text-halo-blur": 1.5 + } + }, + { + "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, + "icon-image": { + "stops": [ + [ + 13, + "{maki}-11" + ], + [ + 14, + "{maki}-15" + ] + ] + }, + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 10, + 11 + ], + [ + 18, + 14 + ] + ] + } + }, + "paint": { + "text-color": "#4c661f", + "text-halo-color": "#ffffff", + "text-halo-width": 1, + "text-halo-blur": 0 + } + }, + { + "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, + "icon-image": { + "stops": [ + [ + 13, + "{maki}-11" + ], + [ + 14, + "{maki}-15" + ] + ] + }, + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 10, + 11 + ], + [ + 18, + 14 + ] + ] + } + }, + "paint": { + "text-color": "#65513d", + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "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, + "icon-image": { + "stops": [ + [ + 12, + "{maki}-11" + ], + [ + 13, + "{maki}-15" + ] + ] + }, + "text-ignore-placement": false, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 10, + 12 + ], + [ + 18, + 18 + ] + ] + } + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "#ffffff", + "text-halo-width": 1.25 + } + }, + { + "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, + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 10, + 11 + ], + [ + 14, + 16 + ] + ] + } + }, + "paint": { + "text-color": "#65513d", + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "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-transform": "uppercase", + "text-letter-spacing": 0.1, + "text-max-width": 7, + "text-font": [ + "DIN Offc Pro Regular", + "Arial Unicode MS Regular" + ], + "text-padding": 3, + "text-size": { + "base": 1, + "stops": [ + [ + 12, + 11 + ], + [ + 16, + 16 + ] + ] + } + }, + "paint": { + "text-halo-color": "rgba(255,255,255, 0.5)", + "text-halo-width": 1.75, + "text-color": "#805540", + "text-halo-blur": 0 + } + }, + { + "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-font": [ + "DIN Offc Pro Regular", + "Arial Unicode MS Regular" + ], + "text-letter-spacing": 0.15, + "text-max-width": 7, + "text-padding": 3, + "text-size": { + "base": 1, + "stops": [ + [ + 11, + 11 + ], + [ + 15, + 18 + ] + ] + } + }, + "paint": { + "text-halo-color": "rgba(255,255,255, 0.5)", + "text-halo-width": 1.75, + "text-color": "#805540" + } + }, + { + "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-font": [ + "DIN Offc Pro Regular", + "Arial Unicode MS Regular" + ], + "text-size": { + "base": 1, + "stops": [ + [ + 12, + 11.5 + ], + [ + 15, + 16 + ] + ] + } + }, + "paint": { + "text-halo-color": "#ffffff", + "text-halo-width": 1.25, + "text-color": "#000000" + } + }, + { + "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-font": [ + "DIN Offc Pro Regular", + "Arial Unicode MS Regular" + ], + "text-max-width": 7, + "text-size": { + "base": 1, + "stops": [ + [ + 10, + 11.5 + ], + [ + 16, + 18 + ] + ] + } + }, + "paint": { + "text-halo-color": "#ffffff", + "text-halo-width": 1.25, + "text-color": "#000000" + } + }, + { + "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-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, + "text-size": { + "base": 1, + "stops": [ + [ + 7, + 11.5 + ], + [ + 15, + 20 + ] + ] + }, + "icon-size": 0.3 + }, + "paint": { + "text-color": "#000000", + "icon-halo-blur": 1, + "icon-halo-color": "#ffffff", + "icon-halo-width": 1, + "icon-color": "#000000", + "text-halo-color": "#ffffff", + "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, + "text-ignore-placement": false, + "text-max-angle": 38, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1, + "stops": [ + [ + 10, + 11 + ], + [ + 18, + 16 + ] + ] + } + }, + "paint": { + "text-color": "#65513d", + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "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-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, + "text-size": { + "base": 1, + "stops": [ + [ + 6, + 12 + ], + [ + 14, + 22 + ] + ] + }, + "icon-size": 0.3 + }, + "paint": { + "text-color": "#000000", + "icon-halo-blur": 1, + "icon-halo-color": "#ffffff", + "icon-halo-width": 1, + "icon-color": "#000000", + "text-halo-color": "#ffffff", + "text-halo-width": 1.25, + "icon-opacity": { + "base": 1, + "stops": [ + [ + 7.99, + 1 + ], + [ + 8, + 0 + ] + ] + } + } + }, + { + "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 + ] + ] + ] + }, + "text-font": { + "base": 1, + "stops": [ + [ + 7, + [ + "DIN Offc Pro Regular", + "Arial Unicode MS Regular" + ] + ], + [ + 8, + [ + "DIN Offc Pro Medium", + "Arial Unicode MS Regular" + ] + ] + ] + }, + "text-size": { + "base": 0.9, + "stops": [ + [ + 5, + 12 + ], + [ + 12, + 22 + ] + ] + }, + "icon-size": 0.35 + }, + "paint": { + "text-halo-width": 1, + "text-halo-color": "#ffffff", + "text-color": "#000000", + "text-halo-blur": 1, + "icon-color": "#000000", + "icon-opacity": { + "base": 1, + "stops": [ + [ + 7.99, + 1 + ], + [ + 8, + 0 + ] + ] + } + } + }, + { + "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-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, + "text-size": { + "base": 0.9, + "stops": [ + [ + 5, + 12 + ], + [ + 12, + 22 + ] + ] + }, + "icon-size": 0.35 + }, + "paint": { + "text-color": "#000000", + "icon-halo-blur": 1, + "icon-halo-color": "#ffffff", + "icon-halo-width": 1, + "icon-color": "#000000", + "text-halo-color": "#ffffff", + "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-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, + "text-size": { + "base": 0.9, + "stops": [ + [ + 4, + 12 + ], + [ + 10, + 22 + ] + ] + }, + "icon-size": 0.4 + }, + "paint": { + "text-color": "#000000", + "icon-halo-blur": 1, + "icon-halo-color": "#ffffff", + "icon-halo-width": 1, + "icon-color": "#000000", + "text-halo-color": "#ffffff", + "text-halo-width": 1, + "icon-opacity": { + "base": 1, + "stops": [ + [ + 7.99, + 1 + ], + [ + 8, + 0 + ] + ] + }, + "text-halo-blur": 1 + } + }, + { + "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-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, + "text-size": { + "base": 0.9, + "stops": [ + [ + 4, + 12 + ], + [ + 10, + 22 + ] + ] + }, + "icon-size": 0.4 + }, + "paint": { + "text-color": "#000000", + "icon-halo-blur": 1, + "icon-halo-color": "#ffffff", + "icon-halo-width": 1, + "text-opacity": 1, + "icon-color": "#000000", + "text-halo-color": "#ffffff", + "text-halo-width": 1, + "icon-opacity": { + "base": 1, + "stops": [ + [ + 7.99, + 1 + ], + [ + 8, + 0 + ] + ] + }, + "text-halo-blur": 1 + } + }, + { + "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, + "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, + "symbol-spacing": { + "base": 1, + "stops": [ + [ + 4, + 100 + ], + [ + 6, + 400 + ] + ] + }, + "text-size": { + "base": 1, + "stops": [ + [ + 3, + 12 + ], + [ + 6, + 16 + ] + ] + } + }, + "paint": { + "text-color": "#c8e5f9" + } + }, + { + "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, + "symbol-placement": "point", + "text-font": [ + "DIN Offc Pro Italic", + "Arial Unicode MS Regular" + ], + "text-size": { + "base": 1, + "stops": [ + [ + 3, + 12 + ], + [ + 6, + 16 + ] + ] + } + }, + "paint": { + "text-color": "#c8e5f9" + } + }, + { + "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, + "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, + "symbol-spacing": 250, + "text-size": { + "base": 1.1, + "stops": [ + [ + 2, + 12 + ], + [ + 5, + 20 + ] + ] + } + }, + "paint": { + "text-color": "#c8e5f9" + } + }, + { + "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-font": [ + "DIN Offc Pro Italic", + "Arial Unicode MS Regular" + ], + "text-size": { + "base": 1.1, + "stops": [ + [ + 2, + 14 + ], + [ + 5, + 20 + ] + ] + } + }, + "paint": { + "text-color": "#c8e5f9" + } + }, + { + "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, + "symbol-placement": "line", + "text-font": [ + "DIN Offc Pro Italic", + "Arial Unicode MS Regular" + ], + "text-size": { + "base": 1, + "stops": [ + [ + 1, + 14 + ], + [ + 4, + 30 + ] + ] + } + }, + "paint": { + "text-color": "#c8e5f9" + } + }, + { + "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-font": [ + "DIN Offc Pro Italic", + "Arial Unicode MS Regular" + ], + "text-size": { + "base": 1, + "stops": [ + [ + 1, + 14 + ], + [ + 4, + 30 + ] + ] + } + }, + "paint": { + "text-color": "#c8e5f9" + } + }, + { + "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-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, + "text-size": { + "base": 1, + "stops": [ + [ + 6, + 10 + ], + [ + 9, + 14 + ] + ] + } + }, + "paint": { + "text-opacity": 1, + "text-color": "#242424", + "text-halo-color": "#ffffff", + "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-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, + "text-size": { + "base": 1, + "stops": [ + [ + 5, + 10 + ], + [ + 8, + 16 + ] + ] + } + }, + "paint": { + "text-opacity": 1, + "text-color": "#242424", + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "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-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, + "text-size": { + "base": 1, + "stops": [ + [ + 4, + 10 + ], + [ + 7, + 18 + ] + ] + } + }, + "paint": { + "text-opacity": 1, + "text-color": "#242424", + "text-halo-color": "#ffffff", + "text-halo-width": 1 + } + }, + { + "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-width": 6, + "text-font": [ + "DIN Offc Pro Medium", + "Arial Unicode MS Regular" + ], + "text-size": { + "base": 0.9, + "stops": [ + [ + 5, + 14 + ], + [ + 9, + 22 + ] + ] + } + }, + "paint": { + "text-color": "#000000", + "text-halo-color": { + "base": 1, + "stops": [ + [ + 2, + "rgba(255,255,255,0.75)" + ], + [ + 3, + "#ffffff" + ] + ] + }, + "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-width": 6, + "text-font": [ + "DIN Offc Pro Medium", + "Arial Unicode MS Regular" + ], + "text-size": { + "base": 1, + "stops": [ + [ + 3, + 10 + ], + [ + 8, + 24 + ] + ] + } + }, + "paint": { + "text-color": "#000000", + "text-halo-color": { + "base": 1, + "stops": [ + [ + 2, + "rgba(255,255,255,0.75)" + ], + [ + 3, + "#ffffff" + ] + ] + }, + "text-halo-width": 1.25 + } + }, + { + "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-width": { + "base": 1, + "stops": [ + [ + 0, + 5 + ], + [ + 3, + 6 + ] + ] + }, + "text-font": [ + "DIN Offc Pro Medium", + "Arial Unicode MS Regular" + ], + "text-size": { + "base": 1, + "stops": [ + [ + 1, + 10 + ], + [ + 6, + 24 + ] + ] + } + }, + "paint": { + "text-color": "#000000", + "text-halo-color": { + "base": 1, + "stops": [ + [ + 2, + "rgba(255,255,255,0.75)" + ], + [ + 3, + "#ffffff" + ] + ] + }, + "text-halo-width": 1.25 + } + } + ], + "owner": "nicki", + "modified": "2015-05-07T16:43:40.332Z", + "created": "2015-05-07T16:00:16.592Z", + "id": "nicki.7bfc461f" +} diff --git a/ios/benchmark/assets/tiles/download.sh b/ios/benchmark/assets/tiles/download.sh index 23b00f9241..f44dda18fd 100755 --- a/ios/benchmark/assets/tiles/download.sh +++ b/ios/benchmark/assets/tiles/download.sh @@ -4,166 +4,87 @@ set -u LIST=( # paris - "mapbox.mapbox-streets-v6/11/1037/704.vector.pbf" - "mapbox.mapbox-streets-v6/11/1037/705.vector.pbf" - "mapbox.mapbox-streets-v6/11/1038/704.vector.pbf" - "mapbox.mapbox-streets-v6/11/1038/705.vector.pbf" - "mapbox.mapbox-streets-v6/11/1036/704.vector.pbf" - "mapbox.mapbox-streets-v6/11/1037/703.vector.pbf" - "mapbox.mapbox-streets-v6/11/1036/705.vector.pbf" - "mapbox.mapbox-streets-v6/11/1038/703.vector.pbf" - "mapbox.mapbox-streets-v6/11/1036/703.vector.pbf" - "mapbox.mapbox-terrain-v2/11/1037/704.vector.pbf" - "mapbox.mapbox-terrain-v2/11/1037/705.vector.pbf" - "mapbox.mapbox-terrain-v2/11/1038/704.vector.pbf" - "mapbox.mapbox-terrain-v2/11/1038/705.vector.pbf" - "mapbox.mapbox-terrain-v2/11/1036/704.vector.pbf" - "mapbox.mapbox-terrain-v2/11/1037/703.vector.pbf" - "mapbox.mapbox-terrain-v2/11/1036/705.vector.pbf" - "mapbox.mapbox-terrain-v2/11/1038/703.vector.pbf" - "mapbox.mapbox-terrain-v2/11/1036/703.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/11/1037/704.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/11/1037/705.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/11/1038/704.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/11/1038/705.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/11/1036/704.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/11/1037/703.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/11/1036/705.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/11/1038/703.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/11/1036/703.vector.pbf" # paris2 - "mapbox.mapbox-streets-v6/13/4150/2819.vector.pbf" - "mapbox.mapbox-streets-v6/13/4149/2819.vector.pbf" - "mapbox.mapbox-streets-v6/13/4150/2818.vector.pbf" - "mapbox.mapbox-streets-v6/13/4149/2820.vector.pbf" - "mapbox.mapbox-streets-v6/13/4148/2819.vector.pbf" - "mapbox.mapbox-streets-v6/13/4149/2818.vector.pbf" - "mapbox.mapbox-streets-v6/13/4150/2817.vector.pbf" - "mapbox.mapbox-streets-v6/13/4148/2820.vector.pbf" - "mapbox.mapbox-streets-v6/13/4148/2818.vector.pbf" - "mapbox.mapbox-streets-v6/13/4149/2817.vector.pbf" - "mapbox.mapbox-terrain-v2/13/4150/2819.vector.pbf" - "mapbox.mapbox-terrain-v2/13/4149/2819.vector.pbf" - "mapbox.mapbox-terrain-v2/13/4150/2818.vector.pbf" - "mapbox.mapbox-terrain-v2/13/4149/2820.vector.pbf" - "mapbox.mapbox-terrain-v2/13/4148/2819.vector.pbf" - "mapbox.mapbox-terrain-v2/13/4149/2818.vector.pbf" - "mapbox.mapbox-terrain-v2/13/4150/2817.vector.pbf" - "mapbox.mapbox-terrain-v2/13/4148/2820.vector.pbf" - "mapbox.mapbox-terrain-v2/13/4148/2818.vector.pbf" - "mapbox.mapbox-terrain-v2/13/4149/2817.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/13/4150/2819.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/13/4149/2819.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/13/4150/2818.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/13/4148/2819.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/13/4149/2818.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/13/4148/2818.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/13/4150/2820.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/13/4149/2820.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/13/4149/2817.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/13/4148/2817.vector.pbf" # alps - "mapbox.mapbox-streets-v6/6/34/23.vector.pbf" - "mapbox.mapbox-streets-v6/6/34/22.vector.pbf" - "mapbox.mapbox-streets-v6/6/33/23.vector.pbf" - "mapbox.mapbox-streets-v6/6/33/22.vector.pbf" - "mapbox.mapbox-streets-v6/6/34/21.vector.pbf" - "mapbox.mapbox-streets-v6/6/32/23.vector.pbf" - "mapbox.mapbox-streets-v6/6/32/22.vector.pbf" - "mapbox.mapbox-streets-v6/6/33/21.vector.pbf" - "mapbox.mapbox-streets-v6/6/32/21.vector.pbf" - "mapbox.mapbox-terrain-v2/6/34/23.vector.pbf" - "mapbox.mapbox-terrain-v2/6/34/22.vector.pbf" - "mapbox.mapbox-terrain-v2/6/33/23.vector.pbf" - "mapbox.mapbox-terrain-v2/6/33/22.vector.pbf" - "mapbox.mapbox-terrain-v2/6/34/21.vector.pbf" - "mapbox.mapbox-terrain-v2/6/32/23.vector.pbf" - "mapbox.mapbox-terrain-v2/6/32/22.vector.pbf" - "mapbox.mapbox-terrain-v2/6/33/21.vector.pbf" - "mapbox.mapbox-terrain-v2/6/32/21.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/34/23.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/34/22.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/33/23.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/33/22.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/34/21.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/32/23.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/32/22.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/33/21.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/32/21.vector.pbf" # us east - "mapbox.mapbox-streets-v6/5/9/12.vector.pbf" - "mapbox.mapbox-streets-v6/5/8/12.vector.pbf" - "mapbox.mapbox-streets-v6/5/9/13.vector.pbf" - "mapbox.mapbox-streets-v6/5/8/13.vector.pbf" - "mapbox.mapbox-streets-v6/5/9/11.vector.pbf" - "mapbox.mapbox-streets-v6/5/7/12.vector.pbf" - "mapbox.mapbox-streets-v6/5/8/11.vector.pbf" - "mapbox.mapbox-streets-v6/5/7/13.vector.pbf" - "mapbox.mapbox-streets-v6/5/7/11.vector.pbf" - "mapbox.mapbox-terrain-v2/5/9/12.vector.pbf" - "mapbox.mapbox-terrain-v2/5/8/12.vector.pbf" - "mapbox.mapbox-terrain-v2/5/9/13.vector.pbf" - "mapbox.mapbox-terrain-v2/5/8/13.vector.pbf" - "mapbox.mapbox-terrain-v2/5/9/11.vector.pbf" - "mapbox.mapbox-terrain-v2/5/7/12.vector.pbf" - "mapbox.mapbox-terrain-v2/5/8/11.vector.pbf" - "mapbox.mapbox-terrain-v2/5/7/13.vector.pbf" - "mapbox.mapbox-terrain-v2/5/7/11.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/5/9/12.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/5/8/12.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/5/9/13.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/5/8/13.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/5/9/11.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/5/7/12.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/5/8/11.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/5/7/13.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/5/7/11.vector.pbf" # greater la - "mapbox.mapbox-streets-v6/9/88/204.vector.pbf" - "mapbox.mapbox-streets-v6/9/88/205.vector.pbf" - "mapbox.mapbox-streets-v6/9/89/204.vector.pbf" - "mapbox.mapbox-streets-v6/9/89/205.vector.pbf" - "mapbox.mapbox-streets-v6/9/87/204.vector.pbf" - "mapbox.mapbox-streets-v6/9/88/203.vector.pbf" - "mapbox.mapbox-streets-v6/9/87/205.vector.pbf" - "mapbox.mapbox-streets-v6/9/89/203.vector.pbf" - "mapbox.mapbox-streets-v6/9/87/203.vector.pbf" - "mapbox.mapbox-terrain-v2/9/88/204.vector.pbf" - "mapbox.mapbox-terrain-v2/9/88/205.vector.pbf" - "mapbox.mapbox-terrain-v2/9/89/204.vector.pbf" - "mapbox.mapbox-terrain-v2/9/89/205.vector.pbf" - "mapbox.mapbox-terrain-v2/9/87/204.vector.pbf" - "mapbox.mapbox-terrain-v2/9/88/203.vector.pbf" - "mapbox.mapbox-terrain-v2/9/87/205.vector.pbf" - "mapbox.mapbox-terrain-v2/9/89/203.vector.pbf" - "mapbox.mapbox-terrain-v2/9/87/203.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/9/88/204.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/9/88/205.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/9/89/204.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/9/89/205.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/9/87/204.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/9/88/203.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/9/87/205.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/9/89/203.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/9/87/203.vector.pbf" # sf - "mapbox.mapbox-streets-v6/14/2621/6333.vector.pbf" - "mapbox.mapbox-streets-v6/14/2620/6333.vector.pbf" - "mapbox.mapbox-streets-v6/14/2621/6334.vector.pbf" - "mapbox.mapbox-streets-v6/14/2620/6334.vector.pbf" - "mapbox.mapbox-streets-v6/14/2621/6332.vector.pbf" - "mapbox.mapbox-streets-v6/14/2619/6333.vector.pbf" - "mapbox.mapbox-streets-v6/14/2620/6332.vector.pbf" - "mapbox.mapbox-streets-v6/14/2619/6334.vector.pbf" - "mapbox.mapbox-streets-v6/14/2619/6332.vector.pbf" - "mapbox.mapbox-terrain-v2/14/2621/6333.vector.pbf" - "mapbox.mapbox-terrain-v2/14/2620/6333.vector.pbf" - "mapbox.mapbox-terrain-v2/14/2621/6334.vector.pbf" - "mapbox.mapbox-terrain-v2/14/2620/6334.vector.pbf" - "mapbox.mapbox-terrain-v2/14/2621/6332.vector.pbf" - "mapbox.mapbox-terrain-v2/14/2619/6333.vector.pbf" - "mapbox.mapbox-terrain-v2/14/2620/6332.vector.pbf" - "mapbox.mapbox-terrain-v2/14/2619/6334.vector.pbf" - "mapbox.mapbox-terrain-v2/14/2619/6332.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/14/2621/6333.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/14/2620/6333.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/14/2621/6334.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/14/2620/6334.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/14/2621/6332.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/14/2619/6333.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/14/2620/6332.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/14/2619/6334.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/14/2619/6332.vector.pbf" # oakland - "mapbox.mapbox-streets-v6/12/657/1582.vector.pbf" - "mapbox.mapbox-streets-v6/12/657/1583.vector.pbf" - "mapbox.mapbox-streets-v6/12/658/1582.vector.pbf" - "mapbox.mapbox-streets-v6/12/658/1583.vector.pbf" - "mapbox.mapbox-streets-v6/12/656/1582.vector.pbf" - "mapbox.mapbox-streets-v6/12/657/1581.vector.pbf" - "mapbox.mapbox-streets-v6/12/656/1583.vector.pbf" - "mapbox.mapbox-streets-v6/12/658/1581.vector.pbf" - "mapbox.mapbox-streets-v6/12/656/1581.vector.pbf" - "mapbox.mapbox-terrain-v2/12/657/1582.vector.pbf" - "mapbox.mapbox-terrain-v2/12/657/1583.vector.pbf" - "mapbox.mapbox-terrain-v2/12/658/1582.vector.pbf" - "mapbox.mapbox-terrain-v2/12/658/1583.vector.pbf" - "mapbox.mapbox-terrain-v2/12/656/1582.vector.pbf" - "mapbox.mapbox-terrain-v2/12/657/1581.vector.pbf" - "mapbox.mapbox-terrain-v2/12/656/1583.vector.pbf" - "mapbox.mapbox-terrain-v2/12/658/1581.vector.pbf" - "mapbox.mapbox-terrain-v2/12/656/1581.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/12/657/1582.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/12/657/1583.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/12/658/1582.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/12/658/1583.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/12/656/1582.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/12/657/1581.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/12/656/1583.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/12/658/1581.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/12/656/1581.vector.pbf" # germany - "mapbox.mapbox-streets-v6/6/34/21.vector.pbf" - "mapbox.mapbox-streets-v6/6/34/22.vector.pbf" - "mapbox.mapbox-streets-v6/6/33/21.vector.pbf" - "mapbox.mapbox-streets-v6/6/33/22.vector.pbf" - "mapbox.mapbox-streets-v6/6/34/20.vector.pbf" - "mapbox.mapbox-streets-v6/6/32/21.vector.pbf" - "mapbox.mapbox-streets-v6/6/33/20.vector.pbf" - "mapbox.mapbox-streets-v6/6/32/22.vector.pbf" - "mapbox.mapbox-streets-v6/6/32/20.vector.pbf" - "mapbox.mapbox-terrain-v2/6/34/21.vector.pbf" - "mapbox.mapbox-terrain-v2/6/34/22.vector.pbf" - "mapbox.mapbox-terrain-v2/6/33/21.vector.pbf" - "mapbox.mapbox-terrain-v2/6/33/22.vector.pbf" - "mapbox.mapbox-terrain-v2/6/34/20.vector.pbf" - "mapbox.mapbox-terrain-v2/6/32/21.vector.pbf" - "mapbox.mapbox-terrain-v2/6/33/20.vector.pbf" - "mapbox.mapbox-terrain-v2/6/32/22.vector.pbf" - "mapbox.mapbox-terrain-v2/6/32/20.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/34/20.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/33/20.vector.pbf" + "mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/6/32/20.vector.pbf" ) for OUTPUT in ${LIST[@]} ; do diff --git a/ios/benchmark/assets/tiles/mapbox.mapbox-streets-v6.json b/ios/benchmark/assets/tiles/mapbox.mapbox-streets-v6.json deleted file mode 100644 index 1d556bf6a9..0000000000 --- a/ios/benchmark/assets/tiles/mapbox.mapbox-streets-v6.json +++ /dev/null @@ -1 +0,0 @@ -{"attribution":"<a href=\"https://www.mapbox.com/about/maps/\" target=\"_blank\">© Mapbox © OpenStreetMap</a> <a class=\"mapbox-improve-map\" href=\"https://www.mapbox.com/map-feedback/\" target=\"_blank\">Improve this map</a>","bounds":[-180,-85.0511,180,85.0511],"center":[0,0,0],"description":"","filesize":0,"format":"pbf","id":"mapbox.mapbox-streets-v6","maskLevel":8,"maxzoom":15,"minzoom":0,"name":"Mapbox Streets V6","private":true,"scheme":"xyz","tilejson":"2.0.0","tiles":["asset://tiles/mapbox.mapbox-streets-v6/{z}/{x}/{y}.vector.pbf"],"vector_layers":[{"description":"","fields":{"class":"One of: cemetery, hospital, industrial, park, parking, pitch, sand, school, wood","osm_id":"Unique OSM ID number","type":"OSM tag, more specific than class"},"id":"landuse"},{"description":"","fields":{"class":"One of: river, canal, stream, stream_intermittent, ditch, drain","osm_id":"Unique OSM ID number","type":"One of: river, canal, stream, ditch, drain"},"id":"waterway"},{"description":"","fields":{"osm_id":"Unique OSM ID number"},"id":"water"},{"description":"","fields":{"osm_id":"Unique OSM ID number","type":"One of: runway, taxiway, apron"},"id":"aeroway"},{"description":"","fields":{"class":"One of: fence, hedge, cliff, gate","osm_id":"Unique OSM ID number"},"id":"barrier_line"},{"description":"","fields":{"osm_id":"Unique OSM ID number"},"id":"building"},{"description":"","fields":{"class":"One of: wetland, wetland_noveg","osm_id":"Unique OSM ID number"},"id":"landuse_overlay"},{"description":"","fields":{"class":"One of: motorway, motorway_link, main, street, street_limited, service, driveway, path, major_rail, minor_rail, aerialway","layer":"Number used for ordering overlapping tunnels","oneway":"Number. Oneway roads are 1, all others are 0.","osm_id":"Unique OSM ID number","type":"The value of the tunnel's highway tag"},"id":"tunnel"},{"description":"","fields":{"class":"One of: motorway, motorway_link, main, street, street_limited, service, driveway, path, major_rail, minor_rail, aerialway","oneway":"Number. Oneway roads are 1, all others are 0.","osm_id":"Unique OSM ID number","type":"The value of the road's highway tag"},"id":"road"},{"description":"","fields":{"class":"One of: motorway, motorway_link, main, street, street_limited, service, driveway, path, major_rail, minor_rail, aerialway","layer":"Number used for ordering overlapping bridges","oneway":"Number. Oneway bridges are 1, all others are 0.","osm_id":"Unique OSM ID number","type":"The value of the bridge's highway tag"},"id":"bridge"},{"description":"","fields":{"admin_level":"The OSM administrative level of the boundary","disputed":"Number. Disputed boundaries are 1, all others are 0.","maritime":"Number. Maritime boundaries are 1, all others are 0."},"id":"admin"},{"description":"","fields":{"code":"ISO 3166-1 Alpha-2 code","name":"Local name of the country","name_de":"German name of the country","name_en":"English name of the country","name_es":"Spanish name of the country","name_fr":"French name of the country","name_ru":"Russian name of the country","name_zh":"Chinese name of the country","osm_id":"Unique OSM ID number","parent":"ISO 3166-1 Alpha-2 code of the administering/parent state, if any","scalerank":"Number, 1-6. Useful for styling text sizes.","type":"One of: country, territory, disputed territory, sar"},"id":"country_label"},{"description":"","fields":{"labelrank":"Number, 1-6. Useful for styling text sizes.","name":"Local or international name of the water body","name_de":"German name of the water body","name_en":"English name of the water body","name_es":"Spanish name of the water body","name_fr":"French name of the water body","name_ru":"Russian name of the water body","name_zh":"Chinese name of the water body","placement":"One of: point, line"},"id":"marine_label"},{"description":"","fields":{"abbr":"Abbreviated state name","area":"The area of the state in kilometers²","name":"Local name of the state","name_de":"German name of the state","name_en":"English name of the state","name_es":"Spanish name of the state","name_fr":"French name of the state","name_ru":"Russian name of the state","name_zh":"Chinese name of the state","osm_id":"Unique OSM ID number"},"id":"state_label"},{"description":"","fields":{"capital":"Admin level the city is a capital of, if any. One of: 2, 3, 4, null","ldir":"A hint for label placement at low zoom levels. One of: N, E, S, W, NE, SE, SW, NW, null","localrank":"Number. Priority relative to nearby places. Useful for limiting label density.","name":"Local name of the place","name_de":"German name of the place","name_en":"English name of the place","name_es":"Spanish name of the place","name_fr":"French name of the place","name_ru":"Russian name of the place","name_zh":"Chinese name of the place","osm_id":"Unique OSM ID number","scalerank":"Number, 0-9 or null. Useful for styling text & marker sizes.","type":"One of: city, town, village, hamlet, suburb, neighbourhood"},"id":"place_label"},{"description":"","fields":{"area":"The area of the water polygon in Mercator meters²","name":"Local name of the water body","name_de":"German name of the water body","name_en":"English name of the water body","name_es":"Spanish name of the water body","name_fr":"French name of the water body","name_ru":"Russian name of the water body","name_zh":"Chinese name of the water body","osm_id":"Unique OSM ID number"},"id":"water_label"},{"description":"","fields":{"address":"Street address of the POI","localrank":"Number. Priority relative to nearby POIs. Useful for limiting label density.","maki":"The name of the Maki icon that should be used for the POI","name":"Local name of the POI","name_de":"German name of the POI","name_en":"English name of the POI","name_es":"Spanish name of the POI","name_fr":"French name of the POI","name_ru":"Russian name of the POI","name_zh":"Chinese name of the POI","network":"For rail stations, the network(s) that the station serves. Useful for icon styling.","osm_id":"Unique OSM ID number","ref":"Short reference code, if any","scalerank":"Number. 1-4. Useful for styling icon sizes and minimum zoom levels.","type":"The original OSM tag value","website":"URL of the POI"},"id":"poi_label"},{"description":"","fields":{"class":"One of: motorway, motorway_link, main, street, street_limited, service, driveway, path","len":"Number. Length of the road segment in Mercator meters.","localrank":"Number. Used for shield points only. Priority relative to nearby shields. Useful for limiting shield density.","name":"Local name of the road","name_de":"German name of the road","name_en":"English name of the road","name_es":"Spanish name of the road","name_fr":"French name of the road","name_ru":"Russian name of the road","name_zh":"Chinese name of the road","osm_id":"Unique OSM ID number","ref":"Route number of the road","reflen":"Number. How many characters long the ref tag is. Useful for shield styling.","shield":"The shield style to use. One of: default, mx-federal, mx-state, us-highway, us-highway-alternate, us-highway-business, us-highway-duplex, us-interstate, us-interstate-business, us-interstate-duplex, us-interstate-truck, us-state"},"id":"road_label"},{"description":"","fields":{"class":"One of: river, canal, stream, stream_intermittent","name":"Local name of the waterway","name_de":"German name of the waterway","name_en":"English name of the waterway","name_es":"Spanish name of the waterway","name_fr":"French name of the waterway","name_ru":"Russian name of the waterway","name_zh":"Chinese name of the waterway","osm_id":"Unique OSM ID number","type":"One of: river, canal, stream"},"id":"waterway_label"},{"description":"","fields":{"house_num":"House number","osm_id":"Unique OSM ID number"},"id":"housenum_label"}]}
\ No newline at end of file diff --git a/ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6.json b/ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6.json new file mode 100644 index 0000000000..140aa48fa7 --- /dev/null +++ b/ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6.json @@ -0,0 +1 @@ +{"attribution":"<a href=\"https://www.mapbox.com/about/maps/\" target=\"_blank\">© Mapbox</a> <a href=\"http://www.openstreetmap.org/about/\" target=\"_blank\">© OpenStreetMap</a> <a class=\"mapbox-improve-map\" href=\"https://www.mapbox.com/map-feedback/\" target=\"_blank\">Improve this map</a>","bounds":[-180,-85.0511,180,85.0511],"center":[0,0,0],"format":"pbf","maxzoom":15,"minzoom":0,"name":"Mapbox Streets V6 + Vector Terrain V2","scheme":"xyz","tilejson":"2.0.0","tiles":["asset://tiles/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6/{z}/{x}/{y}.vector.pbf"],"vector_layers":[{"description":"Generalized landcover classification","fields":{"class":"One of: wood, scrub, grass, crop, snow"},"id":"landcover","maxzoom":22,"minzoom":0,"source":"mapbox.mapbox-terrain-v2"},{"description":"","fields":{"class":"One of: shadow, highlight","level":"Brightness %. One of: 94, 90, 89, 78, 67, 56"},"id":"hillshade","maxzoom":22,"minzoom":0,"source":"mapbox.mapbox-terrain-v2"},{"description":"Elevation contour polygons","fields":{"ele":"Integer. The elevation of the contour in meters","index":"Indicator for every 2nd, 5th, or 10th contour. Coastlines are given -1. One of: 2, 5, 10, -1, null"},"id":"contour","maxzoom":22,"minzoom":0,"source":"mapbox.mapbox-terrain-v2"},{"description":"","fields":{"class":"One of: park, cemetery, hospital, school, industrial, parking, pitch, piste, agriculture, wood, scrub, grass, sand, rock, glacier","osm_id":"Unique OSM ID number","type":"OSM tag, more specific than class"},"id":"landuse","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"class":"One of: river, canal, stream, stream_intermittent, ditch, drain","osm_id":"Unique OSM ID number","type":"One of: river, canal, stream, ditch, drain"},"id":"waterway","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"osm_id":"Unique OSM ID number"},"id":"water","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"osm_id":"Unique OSM ID number","type":"One of: runway, taxiway, apron"},"id":"aeroway","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"class":"One of: fence, hedge, cliff, gate, land","osm_id":"Unique OSM ID number"},"id":"barrier_line","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"osm_id":"Unique OSM ID number"},"id":"building","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"class":"One of: wetland, wetland_noveg","osm_id":"Unique OSM ID number"},"id":"landuse_overlay","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"class":"One of: motorway, motorway_link, main, street, street_limited, service, driveway, path, major_rail, minor_rail","layer":"Number used for ordering overlapping tunnels. May be any integer, but most common values are -1 to -5","oneway":"Number. Oneway roads are 1, all others are 0","osm_id":"Unique OSM ID number","type":"The value of the tunnel's highway tag"},"id":"tunnel","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"class":"One of: motorway, motorway_link, main, street, street_limited, service, driveway, path, major_rail, minor_rail","oneway":"Number. Oneway roads are 1, all others are 0","osm_id":"Unique OSM ID number","type":"The value of the road's highway tag"},"id":"road","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"class":"One of: motorway, motorway_link, main, street, street_limited, service, driveway, path, major_rail, minor_rail, aerialway","layer":"Number used for ordering overlapping bridges. May be any integer, but most common values are 1 to 5","oneway":"Number. Oneway bridges are 1, all others are 0","osm_id":"Unique OSM ID number","type":"The value of the bridge's highway tag"},"id":"bridge","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"admin_level":"The OSM administrative level of the boundary. One of: 2, 3, 4","disputed":"Number. Disputed boundaries are 1, all others are 0","maritime":"Number. Maritime boundaries are 1, all others are 0"},"id":"admin","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"code":"ISO 3166-1 Alpha-2 code","name":"Local name of the country","name_de":"German name of the country","name_en":"English name of the country","name_es":"Spanish name of the country","name_fr":"French name of the country","name_ru":"Russian name of the country","name_zh":"Chinese name of the country","osm_id":"Unique OSM ID number","parent":"ISO 3166-1 Alpha-2 code of the administering/parent state, if any","scalerank":"Number, 1-6. Useful for styling text sizes","type":"One of: country, territory, disputed territory, sar"},"id":"country_label","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"labelrank":"Number, 1-6. Useful for styling text sizes","name":"Local or international name of the water body","name_de":"German name of the water body","name_en":"English name of the water body","name_es":"Spanish name of the water body","name_fr":"French name of the water body","name_ru":"Russian name of the water body","name_zh":"Chinese name of the water body","placement":"One of: point, line"},"id":"marine_label","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"abbr":"Abbreviated state name","area":"The area of the state in kilometers²","name":"Local name of the state","name_de":"German name of the state","name_en":"English name of the state","name_es":"Spanish name of the state","name_fr":"French name of the state","name_ru":"Russian name of the state","name_zh":"Chinese name of the state","osm_id":"Unique OSM ID number"},"id":"state_label","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"capital":"Admin level the city is a capital of, if any. One of: 2, 3, 4, null","ldir":"A hint for label placement at low zoom levels. One of: N, E, S, W, NE, SE, SW, NW, null","localrank":"Number. Priority relative to nearby places. Useful for limiting label density","name":"Local name of the place","name_de":"German name of the place","name_en":"English name of the place","name_es":"Spanish name of the place","name_fr":"French name of the place","name_ru":"Russian name of the place","name_zh":"Chinese name of the place","osm_id":"Unique OSM ID number","scalerank":"Number, 0-9 or null. Useful for styling text & marker sizes","type":"One of: city, town, village, hamlet, suburb, neighbourhood"},"id":"place_label","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"area":"The area of the water polygon in Mercator meters²","name":"Local name of the water body","name_de":"German name of the water body","name_en":"English name of the water body","name_es":"Spanish name of the water body","name_fr":"French name of the water body","name_ru":"Russian name of the water body","name_zh":"Chinese name of the water body","osm_id":"Unique OSM ID number"},"id":"water_label","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"address":"Street address of the POI","localrank":"Number. Priority relative to nearby POIs. Useful for limiting label density","maki":"The name of the Maki icon that should be used for the POI","name":"Local name of the POI","name_de":"German name of the POI","name_en":"English name of the POI","name_es":"Spanish name of the POI","name_fr":"French name of the POI","name_ru":"Russian name of the POI","name_zh":"Chinese name of the POI","network":"For rail stations, the network(s) that the station serves. Useful for icon styling","osm_id":"Unique OSM ID number","ref":"Short reference code, if any","scalerank":"Number. 1-4. Useful for styling icon sizes and minimum zoom levels","type":"The original OSM tag value","website":"URL of the POI"},"id":"poi_label","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"class":"One of: motorway, motorway_link, main, street, street_limited, service, driveway, path","len":"Number. Length of the road segment in Mercator meters","localrank":"Number. Used for shield points only. Priority relative to nearby shields. Useful for limiting shield density","name":"Local name of the road","name_de":"German name of the road","name_en":"English name of the road","name_es":"Spanish name of the road","name_fr":"French name of the road","name_ru":"Russian name of the road","name_zh":"Chinese name of the road","osm_id":"Unique OSM ID number","ref":"Route number of the road","reflen":"Number. How many characters long the ref tag is. Useful for shield styling","shield":"The shield style to use. One of: default, mx-federal, mx-state, us-highway, us-highway-alternate, us-highway-business, us-highway-duplex, us-interstate, us-interstate-business, us-interstate-duplex, us-interstate-truck, us-state"},"id":"road_label","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"class":"One of: river, canal, stream, stream_intermittent","name":"Local name of the waterway","name_de":"German name of the waterway","name_en":"English name of the waterway","name_es":"Spanish name of the waterway","name_fr":"French name of the waterway","name_ru":"Russian name of the waterway","name_zh":"Chinese name of the waterway","osm_id":"Unique OSM ID number","type":"One of: river, canal, stream"},"id":"waterway_label","source":"mapbox.mapbox-streets-v6"},{"description":"","fields":{"house_num":"House number","osm_id":"Unique OSM ID number"},"id":"housenum_label","source":"mapbox.mapbox-streets-v6"}]} diff --git a/ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2.json b/ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2.json deleted file mode 100644 index 4ee001abd1..0000000000 --- a/ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2.json +++ /dev/null @@ -1 +0,0 @@ -{"attribution":"<a href=\"https://www.mapbox.com/about/maps/\" target=\"_blank\">© Mapbox © OpenStreetMap</a> <a class=\"mapbox-improve-map\" href=\"https://www.mapbox.com/map-feedback/\" target=\"_blank\">Improve this map</a>","bounds":[-180,-85.0511,180,85.0511],"center":[0,0,3],"description":"","filesize":0,"format":"pbf","id":"mapbox.mapbox-terrain-v2","maskLevel":9,"maxzoom":14,"minzoom":0,"name":"Mapbox Terrain V2","private":true,"scheme":"xyz","tilejson":"2.0.0","tiles":["asset://tiles/mapbox.mapbox-terrain-v2/{z}/{x}/{y}.vector.pbf"],"vector_layers":[{"description":"Generalized landcover classification","fields":{"class":"One of: wood, scrub, grass, crop, snow"},"id":"landcover","maxzoom":22,"minzoom":0},{"description":"","fields":{"class":"One of: shadow, highlight","level":"Brightness %. One of: 94, 90, 89, 78, 67, 56"},"id":"hillshade","maxzoom":22,"minzoom":0},{"description":"Elevation contour polygons","fields":{"ele":"Integer. The elevation of the contour in meters.","index":"Indicator for every 2nd, 5th, or 10th contour. Coastlines are given -1. One of: 2, 5, 10, -1, null"},"id":"contour","maxzoom":22,"minzoom":0}]}
\ No newline at end of file diff --git a/ios/benchmark/fo/MBXBenchViewController.mm b/ios/benchmark/fo/MBXBenchViewController.mm deleted file mode 100644 index b4eb4ec3fa..0000000000 --- a/ios/benchmark/fo/MBXBenchViewController.mm +++ /dev/null @@ -1,140 +0,0 @@ -#import "MBXBenchViewController.h" - -#import <mbgl/ios/MGLMapView.h> -#import <mbgl/ios/MGLMapView_private.h> - -#include "locations.hpp" - -#include <chrono> - -@interface MBXBenchViewController () <MGLMapViewDelegate> - -@property (nonatomic) MGLMapView *mapView; - -@end - -@implementation MBXBenchViewController - -#pragma mark - Setup - -- (void)viewDidLoad -{ - [super viewDidLoad]; - - NSURL* url = [[NSURL alloc] initWithString:@"asset://styles/streets-v8.json"]; - self.mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds accessToken:nil styleURL:url]; - self.mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; - self.mapView.delegate = self; - self.mapView.zoomEnabled = NO; - self.mapView.scrollEnabled = NO; - self.mapView.rotateEnabled = NO; - self.mapView.userInteractionEnabled = YES; - [self.mapView setDebugActive:NO]; - - [self startBenchmarkIteration]; - - [self.view addSubview:self.mapView]; - -} - -using Clock = std::chrono::steady_clock; -using TimePoint = Clock::time_point; -template <typename Duration> -inline int64_t Microseconds(Duration d) { - return std::chrono::duration_cast<std::chrono::microseconds>(d).count(); -} - -size_t idx = 0; -enum class State { None, WaitingForAssets, WarmingUp, Benchmarking } state = State::None; -int frames = 0; -TimePoint started; -std::vector<std::pair<std::string, double>> result; - -static const int warmupDuration = 20; // frames -static const int benchmarkDuration = 200; // frames - -- (void)startBenchmarkIteration -{ - if (mbgl::bench::locations.size() > idx) { - const auto& location = mbgl::bench::locations[idx]; - [self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(location.latitude, location.longitude) zoomLevel:location.zoom animated:NO]; - self.mapView.direction = location.bearing; - state = State::WaitingForAssets; - NSLog(@"Benchmarking \"%s\"", location.name.c_str()); - NSLog(@"- Loading assets..."); - } else { - // Do nothing. The benchmark is completed. - NSLog(@"Benchmark completed."); - NSLog(@"Result:"); - size_t colWidth = 0; - for (const auto& row : result) { - colWidth = std::max(row.first.size(), colWidth); - } - for (const auto& row : result) { - NSLog(@"| %-*s | %4.1f fps |", int(colWidth), row.first.c_str(), row.second); - } - exit(0); - } -} - -- (void)mapViewDidFinishRenderingMap:(MGLMapView *)mapView fullyRendered:(BOOL)fullyRendered -{ - (void)mapView; - (void)fullyRendered; - - if (state == State::Benchmarking) - { - frames++; - if (frames >= benchmarkDuration) - { - state = State::None; - - // Report FPS - const auto duration = Microseconds(Clock::now() - started); - const auto fps = double(frames * 1e6) / duration; - result.emplace_back(mbgl::bench::locations[idx].name, fps); - NSLog(@"- FPS: %.1f", fps); - - // Start benchmarking the next location. - idx++; - [self startBenchmarkIteration]; - } else { - [mapView invalidate]; - } - return; - } - - else if (state == State::WarmingUp) - { - frames++; - if (frames >= warmupDuration) - { - frames = 0; - state = State::Benchmarking; - started = Clock::now(); - NSLog(@"- Benchmarking for %d frames...", benchmarkDuration); - } - [mapView invalidate]; - return; - } - - else if (state == State::WaitingForAssets) - { - if ([mapView isFullyLoaded]) - { - // Start the benchmarking timer. - state = State::WarmingUp; - [self.mapView emptyMemoryCache]; - NSLog(@"- Warming up for %d frames...", warmupDuration); - [mapView invalidate]; - } - return; - } -} - -- (NSUInteger)supportedInterfaceOrientations -{ - return UIInterfaceOrientationMaskLandscape; -} - -@end diff --git a/ios/benchmark/fo/benchmark-ios.gypi b/ios/benchmark/fo/benchmark-ios.gypi deleted file mode 100644 index 0a3440d5cd..0000000000 --- a/ios/benchmark/fo/benchmark-ios.gypi +++ /dev/null @@ -1,63 +0,0 @@ -{ - 'includes': [ - '../../gyp/common.gypi', - ], - 'targets': [ - { 'target_name': 'ios-bench', - 'product_name': 'Bench GL', - 'type': 'executable', - 'product_extension': 'app', - 'mac_bundle': 1, - 'mac_bundle_resources': [ - '<!@(find ../ios/benchmark/img -type f)', - 'assets/glyphs', - 'assets/sprites', - 'assets/styles', - 'assets/tiles', - ], - - 'dependencies': [ - '../mbgl.gyp:core', - '../mbgl.gyp:platform-<(platform_lib)', - '../mbgl.gyp:http-<(http_lib)', - '../mbgl.gyp:asset-<(asset_lib)', - '../mbgl.gyp:cache-<(cache_lib)', - ], - - 'sources': [ - './main.m', - './MBXBenchAppDelegate.h', - './MBXBenchAppDelegate.m', - './MBXBenchViewController.h', - './MBXBenchViewController.mm', - './locations.hpp', - './locations.cpp', - ], - - 'xcode_settings': { - 'SDKROOT': 'iphoneos', - 'SUPPORTED_PLATFORMS': 'iphoneos', - 'IPHONEOS_DEPLOYMENT_TARGET': '7.0', - 'INFOPLIST_FILE': '../ios/benchmark/app-info.plist', - 'TARGETED_DEVICE_FAMILY': '1,2', - 'COMBINE_HIDPI_IMAGES': 'NO', # don't merge @2x.png images into .tiff files - 'CLANG_ENABLE_OBJC_ARC': 'YES', - 'CLANG_ENABLE_MODULES': 'YES', - }, - - 'configurations': { - 'Debug': { - 'xcode_settings': { - 'CODE_SIGN_IDENTITY': 'iPhone Developer', - }, - }, - 'Release': { - 'xcode_settings': { - 'CODE_SIGN_IDENTITY': 'iPhone Distribution', - 'ARCHS': [ "arm64" ], - }, - }, - }, - } - ] -} diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp index 64e235ed69..5d1a9a1a6a 100644 --- a/src/mbgl/style/style.cpp +++ b/src/mbgl/style/style.cpp @@ -238,7 +238,7 @@ void Style::emitResourceLoadingFailed(std::exception_ptr error) { std::rethrow_exception(error); } } catch(const std::exception& e) { - Log::Error(Event::Style, e.what()); + Log::Error(Event::Style, "%s", e.what()); } if (observer) { |