Last active
April 26, 2018 17:06
-
-
Save gmaclennan/cb42669c77dc07672e019208891884b0 to your computer and use it in GitHub Desktop.
Adding layers to react-mapfilter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var LayerControl = require('@digidem/mapbox-layer-control') | |
var layerControl | |
var myControl = { | |
onAdd: function (map) { | |
var style = map.getStyle() | |
var layers = getLayersFromStyle(style) | |
layerControl = new LayerControl(layers) | |
return layerControl.onAdd(map) | |
}, | |
onRemove: function () { | |
return layerConsol.onRemove() | |
} | |
} | |
<MapFilter controls=${[myControl]} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 8, | |
"name": "Mapbox Satellite Streets", | |
"metadata": { | |
"mapbox:autocomposite": true, | |
"mapbox:type": "default", | |
"mapbox:groups": { | |
"1459802862378.828": { | |
"name": "poi", | |
"collapsed": true | |
}, | |
"1459882298057.56": { | |
"name": "Roads", | |
"collapsed": true | |
}, | |
"1459802912335.5327": { | |
"name": "City labels", | |
"collapsed": true | |
}, | |
"1459803160909.4875": { | |
"name": "waterlabel", | |
"collapsed": true | |
}, | |
"1461616039439.258": { | |
"name": "POI labels (scalerank 4)", | |
"collapsed": true | |
}, | |
"1461616021709.3948": { | |
"name": "POI labels (scalerank 3)", | |
"collapsed": true | |
}, | |
"1460058190129.9705": { | |
"name": "POI labels (scalerank 2)", | |
"collapsed": true | |
}, | |
"1459882215460.736": { | |
"name": "Road labels", | |
"collapsed": true | |
}, | |
"1459803084625.6987": { | |
"name": "POI labels (scalerank 1)", | |
"collapsed": true | |
}, | |
"1460127465037.9006": { | |
"name": "Tunnels", | |
"collapsed": true | |
}, | |
"1459882330622.065": { | |
"name": "Admin bounds", | |
"collapsed": true | |
}, | |
"1459803098158.2573": { | |
"name": "some POIs", | |
"collapsed": true | |
}, | |
"1459802846628.5286": { | |
"name": "bridge", | |
"collapsed": true | |
}, | |
"1459882360129.4563": { | |
"name": "Bridges", | |
"collapsed": true | |
}, | |
"1459802883310.3264": { | |
"name": "Highway shields", | |
"collapsed": true | |
}, | |
"1461012990353.11": { | |
"name": "other roads", | |
"collapsed": true | |
}, | |
"1459802933574.639": { | |
"name": "state labels", | |
"collapsed": true | |
}, | |
"1459802922547.9956": { | |
"name": "marine labels", | |
"collapsed": true | |
}, | |
"1459802941943.712": { | |
"name": "country labels", | |
"collapsed": true | |
} | |
}, | |
"mapbox:trackposition": false | |
}, | |
"sources": { | |
"composite": { | |
"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": [ | |
-122.339973, | |
37.742214, | |
-122.150116, | |
37.856694 | |
], | |
"center": [ | |
0, | |
0, | |
0 | |
], | |
"created": 1451865600000, | |
"description": "", | |
"filesize": 0, | |
"fillzoom": 8, | |
"format": "pbf", | |
"id": "mapbox.mapbox-streets-v7", | |
"mapbox_logo": true, | |
"maxzoom": 16, | |
"minzoom": 0, | |
"name": "Mapbox Streets v7", | |
"private": false, | |
"scheme": "xyz", | |
"tilejson": "2.2.0", | |
"tiles": [ | |
"{host}/tiles/mapbox.mapbox-streets-v7/{z}/{x}/{y}.vector.pbf" | |
], | |
"vector_layers": [ | |
{ | |
"description": "", | |
"fields": { | |
"class": "One of: agriculture, cemetery, glacier, grass, hospital, industrial, park, parking, piste, pitch, rock, sand, school, scrub, wood, aboriginal_lands", | |
"type": "OSM tag, more specific than class" | |
}, | |
"id": "landuse", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"class": "One of: river, canal, stream, stream_intermittent, ditch, drain", | |
"type": "One of: river, canal, stream, ditch, drain" | |
}, | |
"id": "waterway", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": {}, | |
"id": "water", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"type": "One of: runway, taxiway, apron" | |
}, | |
"id": "aeroway", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"class": "One of: fence, hedge, cliff, gate" | |
}, | |
"id": "barrier_line", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"extrude": "String. Whether building should be extruded when rendering in 3D. One of: 'true', 'false'", | |
"height": "Number. Height of building or part of building.", | |
"min_height": "Number. Height of bottom of building or part of building, if it does not start at ground level.", | |
"type": "In most cases, values will be that of the primary key from OpenStreetMap tags.", | |
"underground": "Text. Whether building is underground. One of: 'true', 'false'" | |
}, | |
"id": "building", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"class": "One of: national_park, wetland, wetland_noveg", | |
"type": "OSM tag, more specific than class" | |
}, | |
"id": "landuse_overlay", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"class": "One of: 'motorway', 'motorway_link', 'trunk', 'primary', 'secondary', 'tertiary', 'link', 'street', 'street_limited', 'pedestrian', 'construction', 'track', 'service', 'ferry', 'path', 'golf'", | |
"layer": "Number. Specifies z-ordering in the case of overlapping road segments. Common range is -5 to 5. Available from zoom level 13+.", | |
"oneway": "Text. Whether traffic on the road is one-way. One of: 'true', 'false'.", | |
"structure": "Text. One of: 'none', 'bridge', 'tunnel', 'ford'. Available from zoom level 13+.", | |
"type": "In most cases, values will be that of the primary key from OpenStreetMap tags." | |
}, | |
"id": "road", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"admin_level": "The OSM administrative level of the boundary", | |
"disputed": "Number. Disputed boundaries are 1, all others are 0.", | |
"iso_3166_1": "The ISO 3166-1 alpha-2 code(s) of the state(s) a boundary is part of. Format: 'AA' or 'AA-BB'", | |
"maritime": "Number. Maritime boundaries are 1, all others are 0." | |
}, | |
"id": "admin", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"code": "ISO 3166-1 Alpha-2 code", | |
"name": "Local name of the country", | |
"name_ar": "Arabic 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_pt": "Portuguese name of the country", | |
"name_ru": "Russian name of the country", | |
"name_zh": "Chinese name of the country", | |
"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-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"labelrank": "Number, 1-6. Useful for styling text sizes.", | |
"name": "Local or international name of the water body", | |
"name_ar": "Arabic 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_pt": "Portuguese 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-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"abbr": "Abbreviated state name", | |
"area": "The area of the state in kilometers²", | |
"name": "Local name of the state", | |
"name_ar": "Arabic 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_pt": "Portuguese name of the state", | |
"name_ru": "Russian name of the state", | |
"name_zh": "Chinese name of the state" | |
}, | |
"id": "state_label", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"capital": "Admin level the city is a capital of, if any. One of: 2, 3, 4, 5, 6, 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_ar": "Arabic 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_pt": "Portuguese name of the place", | |
"name_ru": "Russian name of the place", | |
"name_zh": "Chinese name of the place", | |
"name_zh-Hans": "Simplified Chinese name of the place", | |
"scalerank": "Number, 0-9 or null. Useful for styling text & marker sizes.", | |
"type": "One of: city, town, village, hamlet, suburb, neighbourhood, island, islet, archipelago, residential, aboriginal_lands" | |
}, | |
"id": "place_label", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"area": "The area of the water polygon in Mercator meters²", | |
"name": "Local name of the water body", | |
"name_ar": "Arabic 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_pt": "Portuguese name of the water body", | |
"name_ru": "Russian name of the water body", | |
"name_zh": "Chinese name of the water body", | |
"name_zh-Hans": "Simplified Chinese name of the water body" | |
}, | |
"id": "water_label", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"maki": "One of: airport, airfield, heliport, rocket", | |
"name": "Local name of the airport", | |
"name_ar": "Arabic name of the airport", | |
"name_de": "German name of the airport", | |
"name_en": "English name of the airport", | |
"name_es": "Spanish name of the airport", | |
"name_fr": "French name of the airport", | |
"name_pt": "Portuguese name of the airport", | |
"name_ru": "Russian name of the airport", | |
"name_zh": "Chinese name of the airport", | |
"name_zh-Hans": "Simplified Chinese name of the airport", | |
"ref": "A 3-4 character IATA, FAA, ICAO, or other reference code", | |
"scalerank": "Number 1-4. Useful for styling icon sizes." | |
}, | |
"id": "airport_label", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"maki": "One of: rail, rail-metro, rail-light, entrance", | |
"name": "Local name of the station", | |
"name_ar": "Arabic name of the station", | |
"name_de": "German name of the station", | |
"name_en": "English name of the station", | |
"name_es": "Spanish name of the station", | |
"name_fr": "French name of the station", | |
"name_pt": "Portuguese name of the station", | |
"name_ru": "Russian name of the station", | |
"name_zh": "Chinese name of the station", | |
"name_zh-Hans": "Simplified Chinese name of the station", | |
"network": "The network(s) that the station serves. Useful for icon styling." | |
}, | |
"id": "rail_station_label", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"elevation_ft": "Integer elevation in feet", | |
"elevation_m": "Integer elevation in meters", | |
"maki": "One of: 'mountain', 'volcano'", | |
"name": "Local name of the peak", | |
"name_ar": "Arabic name of the peak", | |
"name_de": "German name of the peak", | |
"name_en": "English name of the peak", | |
"name_es": "Spanish name of the peak", | |
"name_fr": "French name of the peak", | |
"name_pt": "Portuguese name of the peak", | |
"name_ru": "Russian name of the peak", | |
"name_zh": "Chinese name of the peak", | |
"name_zh-Hans": "Simplified Chinese name of the peak" | |
}, | |
"id": "mountain_peak_label", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"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_ar": "Arabic 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_pt": "Portuguese name of the POI", | |
"name_ru": "Russian name of the POI", | |
"name_zh": "Chinese name of the POI", | |
"name_zh-Hans": "Simplified Chinese name of the POI", | |
"ref": "Short reference code, if any", | |
"scalerank": "Number. 1-5. Useful for styling icon sizes and minimum zoom levels.", | |
"type": "The original OSM tag value" | |
}, | |
"id": "poi_label", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"class": "The class of road the junction is on. Matches the classes in the road layer.", | |
"name": "A longer name", | |
"ref": "A short identifier", | |
"reflen": "The number of characters in the ref field.", | |
"type": "The type of road the junction is on. Matches the types in the road layer." | |
}, | |
"id": "motorway_junction", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"class": "One of: 'motorway', 'motorway_link', 'trunk', 'primary', 'secondary', 'tertiary', 'link', 'street', 'street_limited', 'pedestrian', 'construction', 'track', 'service', 'ferry', 'path', 'golf'", | |
"iso_3166_2": "Text. The ISO 3166-2 code of the state/province/region the road is in.", | |
"len": "Number. Approximate 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_ar": "Arabic 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_pt": "Portuguese name of the road", | |
"name_ru": "Russian name of the road", | |
"name_zh": "Chinese name of the road", | |
"name_zh-Hans": "Simplified Chinese name of the road", | |
"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-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"class": "One of: river, canal, stream, stream_intermittent", | |
"name": "Local name of the waterway", | |
"name_ar": "Arabic 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_pt": "Portuguese name of the waterway", | |
"name_ru": "Russian name of the waterway", | |
"name_zh": "Chinese name of the waterway", | |
"name_zh-Hans": "Simplified Chinese name of the waterway", | |
"type": "One of: river, canal, stream" | |
}, | |
"id": "waterway_label", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
}, | |
{ | |
"description": "", | |
"fields": { | |
"house_num": "House number" | |
}, | |
"id": "housenum_label", | |
"source": "mapbox.mapbox-streets-v7", | |
"source_name": "Mapbox Streets V7" | |
} | |
], | |
"webpage": "https://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v7/page.html?access_token=pk.eyJ1IjoiZ21hY2xlbm5hbiIsImEiOiJSaWVtd2lRIn0.ASYMZE2HhwkAw4Vt7SavEg", | |
"type": "vector" | |
}, | |
"mapbox://mapbox.satellite": { | |
"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> <a href=\"https://www.digitalglobe.com/\" target=\"_blank\">© DigitalGlobe</a>", | |
"autoscale": true, | |
"bounds": [ | |
-122.339973, | |
37.742214, | |
-122.150116, | |
37.856694 | |
], | |
"cacheControl": "max-age=43200,s-maxage=604800", | |
"center": [ | |
0, | |
0, | |
3 | |
], | |
"created": 1358310600000, | |
"description": "", | |
"id": "mapbox.satellite", | |
"mapbox_logo": true, | |
"maxzoom": 22, | |
"minzoom": 0, | |
"modified": 1446150592060, | |
"name": "Mapbox Satellite", | |
"private": false, | |
"scheme": "xyz", | |
"tilejson": "2.2.0", | |
"tiles": [ | |
"{host}/tiles/mapbox.satellite/{z}/{x}/{y}.png" | |
], | |
"webpage": "https://a.tiles.mapbox.com/v4/mapbox.satellite/page.html?access_token=pk.eyJ1IjoiZ21hY2xlbm5hbiIsImEiOiJSaWVtd2lRIn0.ASYMZE2HhwkAw4Vt7SavEg", | |
"type": "raster" | |
} | |
}, | |
"sprite": "{host}/sprites/sprite", | |
"glyphs": "{host}/fonts/{fontstack}/{range}.pbf", | |
"layers": [ | |
{ | |
"id": "background", | |
"type": "background", | |
"layout": {}, | |
"paint": { | |
"background-color": "rgb(4,7,14)" | |
} | |
}, | |
{ | |
"id": "mapbox-mapbox-satellite", | |
"type": "raster", | |
"source": "mapbox://mapbox.satellite", | |
"layout": {}, | |
"paint": {} | |
}, | |
{ | |
"id": "tunnel-secondary-tertiary case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0 | |
], | |
[ | |
13.5, | |
0.5 | |
], | |
[ | |
16, | |
0.75 | |
], | |
[ | |
18, | |
0.35 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
2 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
3, | |
3 | |
], | |
"line-blur": 0, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
12 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-street_limited case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"street_limited" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0 | |
], | |
[ | |
13.5, | |
0.5 | |
], | |
[ | |
16, | |
0.75 | |
], | |
[ | |
18, | |
0.35 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
2 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
3, | |
3 | |
], | |
"line-blur": 0, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
12 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-street case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"street" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 28%, 93%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0 | |
], | |
[ | |
13.5, | |
0.5 | |
], | |
[ | |
16, | |
0.75 | |
], | |
[ | |
18, | |
0.35 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
2 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
3, | |
3 | |
], | |
"line-blur": 0, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
32 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-primary-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"primary" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0 | |
], | |
[ | |
13.5, | |
0.5 | |
], | |
[ | |
16, | |
0.75 | |
], | |
[ | |
18, | |
0.35 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
2 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
3, | |
3 | |
], | |
"line-blur": 0, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-trunk_link-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"==", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 28%, 93%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0 | |
], | |
[ | |
13.5, | |
0.5 | |
], | |
[ | |
16, | |
0.75 | |
], | |
[ | |
18, | |
0.35 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
2 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
3, | |
3 | |
], | |
"line-blur": 0, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
32 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-motorway_link-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0 | |
], | |
[ | |
13.5, | |
0.5 | |
], | |
[ | |
16, | |
0.75 | |
], | |
[ | |
18, | |
0.35 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
3, | |
3 | |
], | |
"line-blur": 0, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-trunk-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"trunk" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.75 | |
], | |
[ | |
16, | |
0.5 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
3, | |
3 | |
], | |
"line-blur": 0, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-motorway-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.75 | |
], | |
[ | |
16, | |
0.5 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
3, | |
3 | |
], | |
"line-blur": 0, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-path", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"path" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"!=", | |
"type", | |
"steps" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 86%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.25 | |
], | |
[ | |
15, | |
0.4 | |
], | |
[ | |
16, | |
0.75 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
18, | |
2.5 | |
] | |
] | |
}, | |
"line-dasharray": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
[ | |
1, | |
0 | |
] | |
], | |
[ | |
15, | |
[ | |
1.75, | |
1 | |
] | |
], | |
[ | |
16, | |
[ | |
1, | |
0.75 | |
] | |
], | |
[ | |
17, | |
[ | |
1, | |
0.5 | |
] | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-trunk_link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"==", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 28%, 93%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.75 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.75 | |
], | |
[ | |
20, | |
2 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1, | |
0 | |
], | |
"line-blur": 0 | |
} | |
}, | |
{ | |
"id": "tunnel-motorway_link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"hsl(31, 27%, 51%)" | |
], | |
[ | |
14.5, | |
"hsl(31, 59%, 56%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.75 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
18 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1, | |
0 | |
], | |
"line-blur": 0 | |
} | |
}, | |
{ | |
"id": "tunnel-pedestrian case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"pedestrian" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(26, 33%, 97%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.75 | |
], | |
[ | |
16, | |
0.5 | |
] | |
] | |
}, | |
"line-width": 1, | |
"line-dasharray": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
[ | |
1, | |
0 | |
] | |
], | |
[ | |
15, | |
[ | |
1.5, | |
1 | |
] | |
], | |
[ | |
16, | |
[ | |
1, | |
2 | |
] | |
] | |
] | |
}, | |
"line-blur": 0, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
14, | |
0.5 | |
], | |
[ | |
18, | |
12 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-service-link-track case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"link", | |
"service", | |
"track" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"!=", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
"hsl(0, 1%, 56%)" | |
], | |
[ | |
10, | |
"hsl(0, 0%, 75%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.75 | |
], | |
[ | |
16, | |
0.5 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
12 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1, | |
0 | |
] | |
} | |
}, | |
{ | |
"id": "tunnel-street_limited", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"ref": "tunnel-street_limited case", | |
"paint": { | |
"line-color": "hsl(0, 1%, 17%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
14, | |
0.5 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
10.5, | |
0.5 | |
], | |
[ | |
12, | |
4 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1, | |
0 | |
], | |
"line-blur": 0 | |
} | |
}, | |
{ | |
"id": "tunnel-street", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"ref": "tunnel-street case", | |
"paint": { | |
"line-color": "hsl(0, 1%, 17%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
14, | |
0.5 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
10.5, | |
0.5 | |
], | |
[ | |
12, | |
4 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1, | |
0 | |
], | |
"line-blur": 0 | |
} | |
}, | |
{ | |
"id": "tunnel-secondary-tertiary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 1%, 17%)", | |
"line-opacity": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
11.5, | |
0 | |
], | |
[ | |
12.5, | |
0.65 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
16, | |
12 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1, | |
0 | |
], | |
"line-blur": 0 | |
} | |
}, | |
{ | |
"id": "tunnel-primary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"primary" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 2%, 83%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.75 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
18 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1, | |
0 | |
], | |
"line-blur": 0 | |
} | |
}, | |
{ | |
"id": "tunnel-oneway-arrows-blue-minor", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"link", | |
"path", | |
"pedestrian", | |
"service", | |
"track" | |
], | |
[ | |
"==", | |
"oneway", | |
"true" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"!=", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"icon-image": "oneway-spaced-white-large" | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "tunnel-oneway-arrows-blue-major", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"primary", | |
"secondary", | |
"street", | |
"street_limited", | |
"tertiary" | |
], | |
[ | |
"==", | |
"oneway", | |
"true" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"!=", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"icon-image": "oneway-spaced-white-large" | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "tunnel-trunk", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"trunk" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
"hsl(54, 59%, 54%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.75 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
18 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1, | |
0 | |
], | |
"line-blur": 0 | |
} | |
}, | |
{ | |
"id": "tunnel-motorway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"hsl(31, 27%, 51%)" | |
], | |
[ | |
14.5, | |
"hsl(31, 59%, 56%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.75 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
18 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1, | |
0 | |
], | |
"line-blur": 0 | |
} | |
}, | |
{ | |
"id": "tunnel-oneway-arrows-white", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1460127465037.9006" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"link", | |
"motorway", | |
"motorway_link", | |
"trunk" | |
], | |
[ | |
"==", | |
"oneway", | |
"true" | |
], | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"!in", | |
"type", | |
"primary_link", | |
"secondary_link", | |
"tertiary_link" | |
] | |
] | |
], | |
"layout": { | |
"icon-image": "oneway-spaced-white-large", | |
"symbol-placement": "line", | |
"symbol-spacing": 150, | |
"icon-padding": 2 | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "ferry", | |
"type": "line", | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"type", | |
"ferry" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#dbdbdb", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7.5, | |
0 | |
], | |
[ | |
8, | |
0.15 | |
], | |
[ | |
16, | |
0.5 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
18, | |
2.5 | |
] | |
] | |
}, | |
"line-dasharray": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
[ | |
3.5, | |
2 | |
] | |
], | |
[ | |
14, | |
[ | |
2, | |
1 | |
] | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "ferry, auto", | |
"type": "line", | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"type", | |
"ferry_auto" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#dbdbdb", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7.5, | |
0 | |
], | |
[ | |
8, | |
0.15 | |
], | |
[ | |
16, | |
0.5 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
18, | |
2.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "ferry-label", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "road_label", | |
"filter": [ | |
"==", | |
"class", | |
"ferry" | |
], | |
"layout": { | |
"text-field": "{name_en}", | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
16, | |
11 | |
], | |
[ | |
20, | |
13 | |
] | |
] | |
}, | |
"text-letter-spacing": 0.01, | |
"text-line-height": 1.1, | |
"text-max-width": 7, | |
"symbol-placement": "line" | |
}, | |
"paint": { | |
"text-color": "hsl(230, 50%, 98%)", | |
"text-opacity": 1, | |
"text-halo-color": "hsl(0, 1%, 3%)", | |
"text-halo-blur": 0.5, | |
"text-halo-width": 1.75 | |
} | |
}, | |
{ | |
"id": "road-link case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"link" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"!=", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
"hsl(0, 1%, 56%)" | |
], | |
[ | |
10, | |
"hsl(0, 0%, 75%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.75 | |
], | |
[ | |
20, | |
2 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
14, | |
0.5 | |
], | |
[ | |
18, | |
12 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-motorway_link-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
], | |
[ | |
15, | |
"hsl(0, 1%, 25%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-primary-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"maxzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"primary" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
"hsl(0, 1%, 17%)" | |
], | |
[ | |
14, | |
"hsl(54, 2%, 53%)" | |
], | |
[ | |
18, | |
"hsl(0, 1%, 13%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
0 | |
], | |
[ | |
10, | |
0.5 | |
], | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-trunk_link-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"==", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
], | |
[ | |
15, | |
"hsl(0, 1%, 25%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
0.75 | |
], | |
[ | |
12, | |
0.65 | |
], | |
[ | |
18, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.75 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-trunk-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"trunk" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"round" | |
], | |
[ | |
11, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
}, | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
0.5 | |
], | |
[ | |
18, | |
2 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-motorway-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"round" | |
], | |
[ | |
11, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
}, | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
], | |
[ | |
15, | |
"hsl(0, 1%, 25%)" | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-path", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"path" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"!in", | |
"type", | |
"crossing", | |
"piste", | |
"sidewalk", | |
"steps" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 86%)", | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
18, | |
2.5 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.25 | |
], | |
[ | |
15, | |
0.4 | |
], | |
[ | |
16, | |
0.75 | |
] | |
] | |
}, | |
"line-dasharray": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
[ | |
1, | |
0 | |
] | |
], | |
[ | |
15, | |
[ | |
1.75, | |
1 | |
] | |
], | |
[ | |
16, | |
[ | |
1, | |
0.75 | |
] | |
], | |
[ | |
17, | |
[ | |
1, | |
0.5 | |
] | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-trunk_link", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"ref": "road-trunk_link-case", | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
"hsl(54, 48%, 49%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-motorway_link", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"ref": "road-motorway_link-case", | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"hsl(31, 27%, 51%)" | |
], | |
[ | |
14.5, | |
"hsl(31, 59%, 56%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-pedestrian", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 12, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"pedestrian" | |
], | |
[ | |
"==", | |
"structure", | |
"none" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 86%)", | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
18, | |
2.5 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.25 | |
], | |
[ | |
15, | |
0.4 | |
], | |
[ | |
16, | |
0.75 | |
] | |
] | |
}, | |
"line-dasharray": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
[ | |
1, | |
0 | |
] | |
], | |
[ | |
15, | |
[ | |
1.5, | |
1 | |
] | |
], | |
[ | |
16, | |
[ | |
1, | |
2 | |
] | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"link" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"!=", | |
"type", | |
"o" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
"hsl(0, 1%, 56%)" | |
], | |
[ | |
10, | |
"hsl(0, 0%, 75%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
14, | |
0.5 | |
], | |
[ | |
18, | |
12 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-street_limited", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"street_limited" | |
], | |
[ | |
"==", | |
"structure", | |
"none" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 1%, 17%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
14, | |
0.25 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
10.5, | |
0.5 | |
], | |
[ | |
12, | |
4 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-street", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"street" | |
], | |
[ | |
"==", | |
"structure", | |
"none" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 1%, 17%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
14, | |
0.5 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
10.5, | |
0.5 | |
], | |
[ | |
12, | |
4 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-secondary-tertiary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 1%, 17%)", | |
"line-opacity": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
11.5, | |
0 | |
], | |
[ | |
12.5, | |
0.65 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-primary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"link", | |
"primary" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 0%, 96%)" | |
], | |
[ | |
10, | |
"hsl(0, 2%, 83%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
6, | |
0.25 | |
], | |
[ | |
8, | |
0.6 | |
], | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.5 | |
], | |
[ | |
12, | |
1.75 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-oneway-arrows-blue-minor", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 16, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"link", | |
"path", | |
"pedestrian", | |
"service", | |
"track" | |
], | |
[ | |
"==", | |
"oneway", | |
"true" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"!=", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
16, | |
"oneway-spaced-small" | |
], | |
[ | |
17, | |
"oneway-spaced-large" | |
] | |
] | |
}, | |
"symbol-placement": "line", | |
"symbol-spacing": 200, | |
"icon-padding": 2, | |
"icon-rotation-alignment": "map" | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "road-oneway-arrows-blue-major", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"primary", | |
"secondary", | |
"street", | |
"street_limited", | |
"tertiary" | |
], | |
[ | |
"==", | |
"oneway", | |
"true" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"!=", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
16, | |
"oneway-spaced-small" | |
], | |
[ | |
17, | |
"oneway-spaced-large" | |
] | |
] | |
}, | |
"symbol-placement": "line", | |
"symbol-spacing": 200, | |
"icon-padding": 2, | |
"icon-rotation-alignment": "map" | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "road-trunk", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 5, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"trunk" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
"hsl(54, 59%, 54%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-motorway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"hsl(31, 27%, 51%)" | |
], | |
[ | |
14.5, | |
"hsl(31, 59%, 56%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-oneway-arrows-white", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459882298057.56" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"link", | |
"motorway", | |
"motorway_link", | |
"trunk" | |
], | |
[ | |
"==", | |
"oneway", | |
"true" | |
], | |
[ | |
"!in", | |
"type", | |
"primary_link", | |
"secondary_link", | |
"tertiary_link" | |
] | |
] | |
], | |
"layout": { | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
16, | |
"oneway-spaced-small" | |
], | |
[ | |
17, | |
"oneway-spaced-large" | |
] | |
] | |
}, | |
"symbol-placement": "line", | |
"symbol-spacing": 200, | |
"icon-padding": 2 | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "bridge-primary-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"primary" | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
"hsl(0, 1%, 17%)" | |
], | |
[ | |
14, | |
"hsl(54, 2%, 53%)" | |
], | |
[ | |
18, | |
"hsl(0, 1%, 13%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
0 | |
], | |
[ | |
10, | |
0.5 | |
], | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-trunk_link-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 11, | |
"maxzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"!in", | |
"layer", | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
], | |
[ | |
15, | |
"hsl(0, 1%, 25%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
0.75 | |
], | |
[ | |
12, | |
0.65 | |
], | |
[ | |
18, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.75 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-motorway_link-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
], | |
[ | |
"!in", | |
"layer", | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
], | |
[ | |
15, | |
"hsl(0, 1%, 25%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-trunk-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"trunk" | |
], | |
[ | |
"!in", | |
"layer", | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"round" | |
], | |
[ | |
11, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
}, | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
0.5 | |
], | |
[ | |
18, | |
2 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-motorway-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway" | |
], | |
[ | |
"!in", | |
"layer", | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
}, | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
], | |
[ | |
15, | |
"hsl(0, 1%, 25%)" | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-path", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"path" | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"!=", | |
"type", | |
"steps" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 86%)", | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
18, | |
2.5 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.25 | |
], | |
[ | |
15, | |
0.4 | |
], | |
[ | |
16, | |
0.75 | |
] | |
] | |
}, | |
"line-dasharray": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
[ | |
1, | |
0 | |
] | |
], | |
[ | |
15, | |
[ | |
1.75, | |
1 | |
] | |
], | |
[ | |
16, | |
[ | |
1, | |
0.75 | |
] | |
], | |
[ | |
17, | |
[ | |
1, | |
0.5 | |
] | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-trunk_link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"!in", | |
"layer", | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
}, | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
"hsl(54, 48%, 49%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-motorway_link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
], | |
[ | |
"!in", | |
"layer", | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"hsl(31, 27%, 51%)" | |
], | |
[ | |
14.5, | |
"hsl(31, 59%, 56%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-street_limited", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"street_limited" | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 1%, 17%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
14, | |
0.25 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
10.5, | |
0.5 | |
], | |
[ | |
12, | |
4 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-street", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"street" | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 1%, 17%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
14, | |
0.5 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
10.5, | |
0.5 | |
], | |
[ | |
12, | |
4 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-secondary-tertiary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"in", | |
"type", | |
"secondary", | |
"tertiary" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 1%, 17%)", | |
"line-opacity": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
11.5, | |
0 | |
], | |
[ | |
12.5, | |
0.65 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-primary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"primary" | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 0%, 96%)" | |
], | |
[ | |
10, | |
"hsl(0, 2%, 83%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
6, | |
0.25 | |
], | |
[ | |
8, | |
0.6 | |
], | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.5 | |
], | |
[ | |
12, | |
1.75 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-oneway-arrows-blue-minor", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"link", | |
"path", | |
"pedestrian", | |
"service", | |
"track" | |
], | |
[ | |
"==", | |
"oneway", | |
"true" | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
16, | |
"oneway-spaced-small" | |
], | |
[ | |
17, | |
"oneway-spaced-large" | |
] | |
] | |
}, | |
"symbol-placement": "line", | |
"symbol-spacing": 200, | |
"icon-padding": 2, | |
"icon-rotation-alignment": "map" | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "bridge-oneway-arrows-blue-major", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"primary", | |
"secondary", | |
"street", | |
"street_limited", | |
"tertiary" | |
], | |
[ | |
"==", | |
"oneway", | |
"true" | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
16, | |
"oneway-spaced-small" | |
], | |
[ | |
17, | |
"oneway-spaced-large" | |
] | |
] | |
}, | |
"symbol-placement": "line", | |
"symbol-spacing": 200, | |
"icon-padding": 2, | |
"icon-rotation-alignment": "map" | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "bridge-trunk", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 5, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"trunk" | |
], | |
[ | |
"!in", | |
"layer", | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
"hsl(54, 59%, 54%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-motorway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway" | |
], | |
[ | |
"!in", | |
"layer", | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"hsl(31, 27%, 51%)" | |
], | |
[ | |
14.5, | |
"hsl(31, 59%, 56%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-trunk_link-2-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 11, | |
"maxzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"layer", | |
2 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
], | |
[ | |
15, | |
"hsl(0, 1%, 25%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
0.75 | |
], | |
[ | |
12, | |
0.65 | |
], | |
[ | |
18, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.75 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-motorway_link-2-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
], | |
[ | |
">=", | |
"layer", | |
2 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
], | |
[ | |
15, | |
"hsl(0, 1%, 25%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-trunk-2-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"maxzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"trunk" | |
], | |
[ | |
">=", | |
"layer", | |
2 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
18, | |
32 | |
] | |
] | |
}, | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
5, | |
0 | |
], | |
[ | |
5.5, | |
0.5 | |
], | |
[ | |
8, | |
0.85 | |
], | |
[ | |
14, | |
0.2 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-motorway-2-case", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"maxzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway" | |
], | |
[ | |
">=", | |
"layer", | |
2 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-gap-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
}, | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 1%, 26%)" | |
], | |
[ | |
12, | |
"hsl(0, 1%, 31%)" | |
], | |
[ | |
15, | |
"hsl(0, 1%, 25%)" | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
0.75 | |
], | |
[ | |
16, | |
2 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-trunk_link-2", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
">=", | |
"layer", | |
2 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"type", | |
"trunk_link" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
}, | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
"hsl(54, 48%, 49%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-motorway_link-2", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
], | |
[ | |
">=", | |
"layer", | |
2 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"hsl(31, 27%, 51%)" | |
], | |
[ | |
14.5, | |
"hsl(31, 59%, 56%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-trunk-2", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"trunk" | |
], | |
[ | |
">=", | |
"layer", | |
2 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
"hsl(54, 59%, 54%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-motorway-2", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway" | |
], | |
[ | |
">=", | |
"layer", | |
2 | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"round" | |
], | |
[ | |
12, | |
"butt" | |
] | |
] | |
}, | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
"hsl(31, 27%, 51%)" | |
], | |
[ | |
14.5, | |
"hsl(31, 59%, 56%)" | |
], | |
[ | |
18, | |
"hsl(84, 2%, 82%)" | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
2 | |
], | |
[ | |
18, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-oneway-arrows-white", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459882360129.4563" | |
}, | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 16, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"link", | |
"motorway", | |
"motorway_link", | |
"trunk" | |
], | |
[ | |
"==", | |
"oneway", | |
"true" | |
], | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"!in", | |
"type", | |
"primary_link", | |
"secondary_link", | |
"tertiary_link" | |
] | |
] | |
], | |
"layout": { | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
16, | |
"oneway-spaced-small" | |
], | |
[ | |
17, | |
"oneway-spaced-large" | |
] | |
] | |
}, | |
"symbol-placement": "line", | |
"symbol-spacing": 200, | |
"icon-padding": 2 | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "aerialway-bg", | |
"type": "line", | |
"source": "composite", | |
"source-layer": "road", | |
"minzoom": 12, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"class", | |
"aerialway" | |
], | |
[ | |
"==", | |
"type", | |
"piste" | |
] | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 1%, 45%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
14, | |
0.25 | |
], | |
[ | |
16, | |
0.75 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
0.5 | |
], | |
[ | |
18, | |
2.5 | |
] | |
] | |
}, | |
"line-blur": 1 | |
} | |
}, | |
{ | |
"id": "aerialway", | |
"ref": "aerialway-bg", | |
"paint": { | |
"line-color": "#dbdbdb", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
12.5, | |
0.25 | |
], | |
[ | |
16, | |
0.75 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
18, | |
2.5 | |
] | |
] | |
}, | |
"line-dasharray": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
[ | |
3.5, | |
2 | |
] | |
], | |
[ | |
22, | |
[ | |
2, | |
1 | |
] | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "admin-3-4-boundaries-bg", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882330622.065" | |
}, | |
"source": "composite", | |
"source-layer": "admin", | |
"filter": [ | |
"all", | |
[ | |
">=", | |
"admin_level", | |
3 | |
], | |
[ | |
"==", | |
"maritime", | |
0 | |
] | |
], | |
"layout": { | |
"line-join": "bevel" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
"hsla(93, 26%, 62%, 0.77)" | |
], | |
[ | |
6, | |
"hsla(93, 26%, 62%, 0.77)" | |
], | |
[ | |
8, | |
"hsla(93, 63%, 24%, 0.77)" | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1, | |
0 | |
], | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
0.2 | |
], | |
[ | |
8, | |
0.35 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
3, | |
2.5 | |
], | |
[ | |
10, | |
4.5 | |
] | |
] | |
}, | |
"line-blur": { | |
"base": 1, | |
"stops": [ | |
[ | |
3, | |
0 | |
], | |
[ | |
8, | |
3 | |
] | |
] | |
}, | |
"line-translate": [ | |
0, | |
0 | |
] | |
} | |
}, | |
{ | |
"id": "admin-2-boundaries-bg", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882330622.065" | |
}, | |
"source": "composite", | |
"source-layer": "admin", | |
"minzoom": 1, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"admin_level", | |
2 | |
], | |
[ | |
"==", | |
"maritime", | |
0 | |
] | |
], | |
"layout": { | |
"line-join": "miter" | |
}, | |
"paint": { | |
"line-color": "hsla(0, 0%, 95%, 0.77)", | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
3, | |
3.5 | |
], | |
[ | |
10, | |
10 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
0.1 | |
], | |
[ | |
8, | |
0.35 | |
] | |
] | |
}, | |
"line-blur": { | |
"base": 1, | |
"stops": [ | |
[ | |
3, | |
0 | |
], | |
[ | |
10, | |
2 | |
] | |
] | |
}, | |
"line-translate": [ | |
0, | |
0 | |
] | |
} | |
}, | |
{ | |
"id": "admin-3-4-boundaries", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882330622.065" | |
}, | |
"source": "composite", | |
"source-layer": "admin", | |
"filter": [ | |
"all", | |
[ | |
">=", | |
"admin_level", | |
3 | |
], | |
[ | |
"==", | |
"maritime", | |
0 | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsla(0, 0%, 0%, 0.72)", | |
"line-dasharray": [ | |
5, | |
2.5 | |
], | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
1 | |
], | |
[ | |
12, | |
0.5 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
1 | |
], | |
[ | |
9, | |
1.75 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "admin-2-boundaries", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882330622.065" | |
}, | |
"source": "composite", | |
"source-layer": "admin", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"admin_level", | |
2 | |
], | |
[ | |
"==", | |
"disputed", | |
0 | |
], | |
[ | |
"==", | |
"maritime", | |
0 | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 0%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
0.5 | |
], | |
[ | |
6, | |
0.75 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
0.75 | |
], | |
[ | |
4, | |
3 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "admin-2-boundaries offset", | |
"metadata": { | |
"mapbox:group": "1459882330622.065" | |
}, | |
"ref": "admin-2-boundaries", | |
"paint": { | |
"line-color": "hsla(0, 5%, 92%, 0.72)", | |
"line-translate": [ | |
0, | |
0 | |
], | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
0.5 | |
], | |
[ | |
4, | |
0.75 | |
], | |
[ | |
9, | |
1.5 | |
], | |
[ | |
12, | |
2 | |
] | |
] | |
}, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
0.25 | |
], | |
[ | |
4, | |
0.5 | |
], | |
[ | |
8, | |
0.75 | |
] | |
] | |
}, | |
"line-blur": 0, | |
"line-offset": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
1.5 | |
], | |
[ | |
4, | |
0.75 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "admin-2-boundaries-dispute", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1459882330622.065" | |
}, | |
"source": "composite", | |
"source-layer": "admin", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"admin_level", | |
2 | |
], | |
[ | |
"==", | |
"disputed", | |
1 | |
], | |
[ | |
"==", | |
"maritime", | |
0 | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 0%)", | |
"line-dasharray": [ | |
4, | |
8 | |
], | |
"line-width": 0.75, | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
1 | |
], | |
[ | |
12, | |
0.75 | |
], | |
[ | |
16, | |
0 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "waterway-label", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "waterway_label", | |
"minzoom": 12, | |
"filter": [ | |
"in", | |
"class", | |
"canal", | |
"river", | |
"stream" | |
], | |
"layout": { | |
"text-field": "{name_en}", | |
"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": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
14, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-color": "hsl(0, 0%, 9%)", | |
"text-color": "#75cff0", | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "poi-scalerank4-l15", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1461616039439.258" | |
}, | |
"source": "composite", | |
"source-layer": "poi_label", | |
"filter": [ | |
"all", | |
[ | |
">=", | |
"localrank", | |
15 | |
], | |
[ | |
"!in", | |
"maki", | |
"campsite", | |
"cemetery", | |
"dog-park", | |
"garden", | |
"golf", | |
"park", | |
"picnic-site", | |
"playground", | |
"zoo" | |
], | |
[ | |
"==", | |
"scalerank", | |
4 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
11 | |
], | |
[ | |
20, | |
14 | |
] | |
] | |
}, | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
"{maki}-11" | |
], | |
[ | |
14, | |
"{maki}-15" | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-offset": [ | |
0, | |
0.65 | |
], | |
"text-anchor": "top", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 92%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 3%, 16%)" | |
] | |
] | |
}, | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0 | |
} | |
}, | |
{ | |
"id": "poi-scalerank4-l1", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1461616039439.258" | |
}, | |
"source": "composite", | |
"source-layer": "poi_label", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"<", | |
"localrank", | |
14 | |
], | |
[ | |
"!in", | |
"maki", | |
"campsite", | |
"cemetery", | |
"dog-park", | |
"garden", | |
"golf", | |
"park", | |
"picnic-site", | |
"playground", | |
"zoo" | |
], | |
[ | |
"==", | |
"scalerank", | |
4 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
11 | |
], | |
[ | |
20, | |
14 | |
] | |
] | |
}, | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
"{maki}-11" | |
], | |
[ | |
14, | |
"{maki}-15" | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-offset": [ | |
0, | |
0.65 | |
], | |
"text-anchor": "top", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 92%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 3%, 16%)" | |
] | |
] | |
}, | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0 | |
} | |
}, | |
{ | |
"id": "poi-parks-scalerank4", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1461616039439.258" | |
}, | |
"source": "composite", | |
"source-layer": "poi_label", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"maki", | |
"campsite", | |
"cemetery", | |
"dog-park", | |
"garden", | |
"golf", | |
"park", | |
"picnic-site", | |
"playground", | |
"zoo" | |
], | |
[ | |
"==", | |
"scalerank", | |
4 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
11 | |
], | |
[ | |
20, | |
14 | |
] | |
] | |
}, | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
"" | |
], | |
[ | |
14, | |
"{maki}-15" | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Medium Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-offset": [ | |
0, | |
0.65 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-anchor": "top", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "hsl(100, 50%, 60%)", | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0, | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 1%, 18%)" | |
] | |
] | |
}, | |
"icon-opacity": 1 | |
} | |
}, | |
{ | |
"id": "poi-scalerank3", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1461616021709.3948" | |
}, | |
"source": "composite", | |
"source-layer": "poi_label", | |
"filter": [ | |
"all", | |
[ | |
"<=", | |
"localrank", | |
3 | |
], | |
[ | |
"!in", | |
"maki", | |
"campsite", | |
"cemetery", | |
"dog-park", | |
"garden", | |
"golf", | |
"park", | |
"picnic-site", | |
"playground", | |
"zoo" | |
], | |
[ | |
"==", | |
"scalerank", | |
3 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
11 | |
], | |
[ | |
20, | |
14 | |
] | |
] | |
}, | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
"{maki}-11" | |
], | |
[ | |
14, | |
"{maki}-15" | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-offset": [ | |
0, | |
0.65 | |
], | |
"text-anchor": "top", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 92%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 3%, 16%)" | |
] | |
] | |
}, | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0 | |
} | |
}, | |
{ | |
"id": "poi-parks-scalerank3", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1461616021709.3948" | |
}, | |
"source": "composite", | |
"source-layer": "poi_label", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"maki", | |
"campsite", | |
"cemetery", | |
"dog-park", | |
"garden", | |
"golf", | |
"park", | |
"picnic-site", | |
"playground", | |
"zoo" | |
], | |
[ | |
"==", | |
"scalerank", | |
3 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
11 | |
], | |
[ | |
20, | |
14 | |
] | |
] | |
}, | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
"" | |
], | |
[ | |
14, | |
"{maki}-15" | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Medium Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-offset": [ | |
0, | |
0.65 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-anchor": "top", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "hsl(100, 50%, 60%)", | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0, | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 1%, 18%)" | |
] | |
] | |
}, | |
"icon-opacity": 1 | |
} | |
}, | |
{ | |
"id": "road-label-small", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459882215460.736" | |
}, | |
"source": "composite", | |
"source-layer": "road_label", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"!in", | |
"class", | |
"ferry", | |
"link", | |
"motorway", | |
"pedestrian", | |
"primary", | |
"secondary", | |
"street", | |
"street_limited", | |
"tertiary", | |
"trunk" | |
] | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
15, | |
10 | |
], | |
[ | |
20, | |
13 | |
] | |
] | |
}, | |
"text-max-angle": 30, | |
"symbol-spacing": 250, | |
"text-font": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
[ | |
"DIN Offc Pro Regular", | |
"Arial Unicode MS Regular" | |
] | |
], | |
[ | |
14, | |
[ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
] | |
] | |
] | |
}, | |
"symbol-placement": "line", | |
"text-padding": 1, | |
"text-rotation-alignment": "map", | |
"text-field": "{name_en}" | |
}, | |
"paint": { | |
"text-color": "#fff", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 2%, 16%)" | |
] | |
] | |
}, | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0 | |
} | |
}, | |
{ | |
"id": "road-label-medium", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459882215460.736" | |
}, | |
"source": "composite", | |
"source-layer": "road_label", | |
"minzoom": 12, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"in", | |
"class", | |
"link", | |
"pedestrian", | |
"street", | |
"street_limited" | |
] | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
10 | |
], | |
[ | |
20, | |
14 | |
] | |
] | |
}, | |
"text-max-angle": 30, | |
"symbol-spacing": 250, | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"symbol-placement": "line", | |
"text-padding": 1, | |
"text-rotation-alignment": "map", | |
"text-field": "{name_en}" | |
}, | |
"paint": { | |
"text-color": "#fff", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 2%, 16%)" | |
] | |
] | |
}, | |
"text-halo-blur": 0, | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road-label-large", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459882215460.736" | |
}, | |
"source": "composite", | |
"source-layer": "road_label", | |
"minzoom": 12, | |
"filter": [ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
10 | |
], | |
[ | |
20, | |
16 | |
] | |
] | |
}, | |
"text-max-angle": 30, | |
"symbol-spacing": 250, | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"symbol-placement": "line", | |
"text-padding": 1, | |
"text-rotation-alignment": "map", | |
"text-field": "{name_en}" | |
}, | |
"paint": { | |
"text-color": "#fff", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 2%, 16%)" | |
] | |
] | |
}, | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0 | |
} | |
}, | |
{ | |
"id": "road-label-xlarge", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459882215460.736" | |
}, | |
"source": "composite", | |
"source-layer": "road_label", | |
"filter": [ | |
"in", | |
"class", | |
"motorway", | |
"primary", | |
"trunk" | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
10 | |
], | |
[ | |
20, | |
16 | |
] | |
] | |
}, | |
"text-max-angle": 30, | |
"symbol-spacing": 250, | |
"text-font": [ | |
"DIN Offc Pro Bold", | |
"Arial Unicode MS Regular" | |
], | |
"symbol-placement": "line", | |
"text-padding": 1, | |
"text-rotation-alignment": "map", | |
"text-field": "{name_en}" | |
}, | |
"paint": { | |
"text-color": "#fff", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 2%, 16%)" | |
] | |
] | |
}, | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0 | |
} | |
}, | |
{ | |
"id": "road-shields-black", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802883310.3264" | |
}, | |
"source": "composite", | |
"source-layer": "road_label", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"motorway", | |
"motorway_link", | |
"primary", | |
"secondary", | |
"trunk" | |
], | |
[ | |
"in", | |
"localrank", | |
1, | |
2 | |
], | |
[ | |
"<=", | |
"reflen", | |
6 | |
], | |
[ | |
"!in", | |
"shield", | |
"at-expressway", | |
"at-motorway", | |
"at-state-b", | |
"bg-motorway", | |
"bg-national", | |
"ch-main", | |
"ch-motorway", | |
"cz-expressway", | |
"cz-motorway", | |
"cz-road", | |
"de-motorway", | |
"e-road", | |
"fi-main", | |
"gr-motorway", | |
"gr-national", | |
"hr-motorway", | |
"hr-state", | |
"hu-main", | |
"hu-motorway", | |
"nz-state", | |
"pl-expressway", | |
"pl-motorway", | |
"pl-national", | |
"ro-county", | |
"ro-motorway", | |
"ro-national", | |
"rs-motorway", | |
"rs-state-1b", | |
"se-main", | |
"si-expressway", | |
"si-motorway", | |
"sk-highway", | |
"sk-road", | |
"us-interstate", | |
"us-interstate-business", | |
"us-interstate-duplex", | |
"us-interstate-truck", | |
"za-metropolitan", | |
"za-national", | |
"za-provincial", | |
"za-regional" | |
] | |
], | |
"layout": { | |
"text-size": 9, | |
"icon-image": "{shield}-{reflen}", | |
"icon-rotation-alignment": "viewport", | |
"text-max-angle": 38, | |
"symbol-spacing": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
150 | |
], | |
[ | |
14, | |
200 | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Bold", | |
"Arial Unicode MS Bold" | |
], | |
"symbol-placement": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"point" | |
], | |
[ | |
11, | |
"line" | |
] | |
] | |
}, | |
"text-padding": 2, | |
"text-rotation-alignment": "viewport", | |
"text-field": "{ref}", | |
"text-letter-spacing": 0.05, | |
"icon-padding": 2 | |
}, | |
"paint": { | |
"text-color": "#000", | |
"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": "road-shields-white", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802883310.3264" | |
}, | |
"source": "composite", | |
"source-layer": "road_label", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"motorway", | |
"motorway_link", | |
"primary", | |
"secondary", | |
"trunk" | |
], | |
[ | |
"<=", | |
"reflen", | |
6 | |
], | |
[ | |
"in", | |
"shield", | |
"at-expressway", | |
"at-motorway", | |
"at-state-b", | |
"bg-motorway", | |
"bg-national", | |
"ch-main", | |
"ch-motorway", | |
"cz-expressway", | |
"cz-motorway", | |
"cz-road", | |
"de-motorway", | |
"e-road", | |
"fi-main", | |
"gr-motorway", | |
"gr-national", | |
"hr-motorway", | |
"hr-state", | |
"hu-main", | |
"hu-motorway", | |
"nz-state", | |
"pl-expressway", | |
"pl-motorway", | |
"pl-national", | |
"ro-county", | |
"ro-motorway", | |
"ro-national", | |
"rs-motorway", | |
"rs-state-1b", | |
"se-main", | |
"si-expressway", | |
"si-motorway", | |
"sk-highway", | |
"sk-road", | |
"us-interstate", | |
"us-interstate-business", | |
"us-interstate-duplex", | |
"us-interstate-truck", | |
"za-metropolitan", | |
"za-national", | |
"za-provincial", | |
"za-regional" | |
] | |
], | |
"layout": { | |
"text-size": 9, | |
"icon-image": "{shield}-{reflen}", | |
"icon-rotation-alignment": "viewport", | |
"text-max-angle": 38, | |
"symbol-spacing": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
150 | |
], | |
[ | |
14, | |
200 | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Bold", | |
"Arial Unicode MS Bold" | |
], | |
"symbol-placement": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"point" | |
], | |
[ | |
11, | |
"line" | |
] | |
] | |
}, | |
"text-padding": 2, | |
"text-rotation-alignment": "viewport", | |
"text-field": "{ref}", | |
"text-letter-spacing": 0.05, | |
"icon-padding": 2 | |
}, | |
"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": "motorway-junction", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802883310.3264" | |
}, | |
"source": "composite", | |
"source-layer": "motorway_junction", | |
"minzoom": 14, | |
"filter": [ | |
">", | |
"reflen", | |
0 | |
], | |
"layout": { | |
"text-field": "{ref}", | |
"text-size": 9, | |
"text-font": [ | |
"DIN Offc Pro Bold", | |
"Arial Unicode MS Regular" | |
], | |
"icon-image": "motorway-exit-{reflen}" | |
}, | |
"paint": { | |
"text-color": "#fff", | |
"text-translate": [ | |
0, | |
0 | |
] | |
} | |
}, | |
{ | |
"id": "poi-scalerank2", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1460058190129.9705" | |
}, | |
"source": "composite", | |
"source-layer": "poi_label", | |
"filter": [ | |
"all", | |
[ | |
"<=", | |
"localrank", | |
3 | |
], | |
[ | |
"!in", | |
"maki", | |
"campsite", | |
"cemetery", | |
"dog-park", | |
"garden", | |
"golf", | |
"park", | |
"picnic-site", | |
"playground", | |
"zoo" | |
], | |
[ | |
"==", | |
"scalerank", | |
2 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
11 | |
], | |
[ | |
20, | |
14 | |
] | |
] | |
}, | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
"{maki}-11" | |
], | |
[ | |
14, | |
"{maki}-15" | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-offset": [ | |
0, | |
0.65 | |
], | |
"text-anchor": "top", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 92%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 3%, 16%)" | |
] | |
] | |
}, | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0 | |
} | |
}, | |
{ | |
"id": "poi-parks-scalerank2", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1460058190129.9705" | |
}, | |
"source": "composite", | |
"source-layer": "poi_label", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"maki", | |
"campsite", | |
"cemetery", | |
"dog-park", | |
"garden", | |
"golf", | |
"park", | |
"picnic-site", | |
"playground", | |
"zoo" | |
], | |
[ | |
"==", | |
"scalerank", | |
2 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
11 | |
], | |
[ | |
20, | |
14 | |
] | |
] | |
}, | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
"" | |
], | |
[ | |
14, | |
"{maki}-15" | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Medium Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0.65 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-anchor": "top", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "hsl(100, 50%, 60%)", | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0, | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 1%, 18%)" | |
] | |
] | |
}, | |
"icon-opacity": 1 | |
} | |
}, | |
{ | |
"id": "rail-label", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "rail_station_label", | |
"minzoom": 12, | |
"filter": [ | |
"!=", | |
"maki", | |
"entrance" | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
16, | |
11 | |
], | |
[ | |
20, | |
13 | |
] | |
] | |
}, | |
"icon-image": "{network}", | |
"symbol-spacing": 250, | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-offset": [ | |
0, | |
0.85 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-anchor": "top", | |
"text-field": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
"" | |
], | |
[ | |
13, | |
"{name_en}" | |
] | |
] | |
}, | |
"text-letter-spacing": 0.01, | |
"icon-padding": 0, | |
"text-max-width": 7 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 92%)", | |
"text-halo-color": "hsl(0, 0%, 25%)", | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
0.5 | |
], | |
[ | |
16, | |
1.5 | |
] | |
] | |
}, | |
"icon-halo-width": 4, | |
"icon-halo-color": "#fff", | |
"text-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13.99, | |
0 | |
], | |
[ | |
14, | |
1 | |
] | |
] | |
}, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "water-label-sm", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459803160909.4875" | |
}, | |
"source": "composite", | |
"source-layer": "water_label", | |
"minzoom": 15, | |
"filter": [ | |
"<=", | |
"area", | |
10000 | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
16, | |
13 | |
], | |
[ | |
20, | |
16 | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-max-width": 7, | |
"text-field": "{name_en}" | |
}, | |
"paint": { | |
"text-color": "#75cff0", | |
"text-halo-color": "hsl(0, 0%, 9%)", | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0.5 | |
], | |
[ | |
14, | |
1 | |
] | |
] | |
}, | |
"text-halo-blur": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
15, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "water-label", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459803160909.4875" | |
}, | |
"source": "composite", | |
"source-layer": "water_label", | |
"minzoom": 5, | |
"filter": [ | |
">", | |
"area", | |
10000 | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
13 | |
], | |
[ | |
18, | |
18 | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-max-width": 7, | |
"text-field": "{name_en}" | |
}, | |
"paint": { | |
"text-color": "#75cff0", | |
"text-halo-color": "hsl(0, 0%, 9%)", | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0.5 | |
], | |
[ | |
14, | |
1 | |
] | |
] | |
}, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "poi-parks-scalerank1", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459803084625.6987" | |
}, | |
"source": "composite", | |
"source-layer": "poi_label", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"maki", | |
"campsite", | |
"cemetery", | |
"dog-park", | |
"garden", | |
"golf", | |
"park", | |
"picnic-site", | |
"playground", | |
"zoo" | |
], | |
[ | |
"<=", | |
"scalerank", | |
1 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
11 | |
], | |
[ | |
18, | |
14 | |
] | |
] | |
}, | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
"" | |
], | |
[ | |
14, | |
"{maki}-15" | |
] | |
] | |
}, | |
"text-max-angle": 38, | |
"symbol-spacing": 250, | |
"text-font": [ | |
"DIN Offc Pro Medium Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0.65 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-anchor": "top", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "hsl(100, 50%, 60%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 1%, 18%)" | |
] | |
] | |
}, | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0, | |
"icon-opacity": 1 | |
} | |
}, | |
{ | |
"id": "poi-scalerank1", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459803084625.6987" | |
}, | |
"source": "composite", | |
"source-layer": "poi_label", | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"maki", | |
"campsite", | |
"cemetery", | |
"dog-park", | |
"garden", | |
"golf", | |
"park", | |
"picnic-site", | |
"playground", | |
"zoo" | |
], | |
[ | |
"<=", | |
"scalerank", | |
1 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
11 | |
], | |
[ | |
18, | |
14 | |
] | |
] | |
}, | |
"icon-image": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
"{maki}-11" | |
], | |
[ | |
14, | |
"{maki}-15" | |
] | |
] | |
}, | |
"text-max-angle": 38, | |
"symbol-spacing": 250, | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0.65 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-anchor": "top", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 92%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
"hsl(0, 1%, 10%)" | |
], | |
[ | |
16, | |
"hsl(0, 3%, 16%)" | |
] | |
] | |
}, | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
1.25 | |
], | |
[ | |
15, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0 | |
} | |
}, | |
{ | |
"id": "airport-label", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "airport_label", | |
"minzoom": 9, | |
"filter": [ | |
"<=", | |
"scalerank", | |
2 | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
12 | |
], | |
[ | |
18, | |
18 | |
] | |
] | |
}, | |
"icon-image": { | |
"stops": [ | |
[ | |
12, | |
"{maki}-11" | |
], | |
[ | |
13, | |
"{maki}-15" | |
] | |
] | |
}, | |
"symbol-spacing": 250, | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0.75 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-anchor": "top", | |
"text-field": { | |
"stops": [ | |
[ | |
11, | |
"{ref}" | |
], | |
[ | |
12, | |
"{name_en}" | |
] | |
] | |
}, | |
"text-letter-spacing": 0.01, | |
"text-max-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
7 | |
], | |
[ | |
12, | |
8 | |
], | |
[ | |
16, | |
10 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 92%)", | |
"text-halo-color": "hsl(0, 0%, 25%)", | |
"text-halo-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
0.5 | |
], | |
[ | |
16, | |
1.5 | |
] | |
] | |
}, | |
"text-halo-blur": 0.5, | |
"icon-opacity": 0.8 | |
} | |
}, | |
{ | |
"id": "place-islets", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "place_label", | |
"filter": [ | |
"==", | |
"type", | |
"islet" | |
], | |
"layout": { | |
"text-line-height": 1.2, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
11 | |
], | |
[ | |
18, | |
16 | |
] | |
] | |
}, | |
"text-max-angle": 38, | |
"symbol-spacing": 250, | |
"text-font": [ | |
"DIN Offc Pro Regular", | |
"Arial Unicode MS Regular" | |
], | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 100%, 100%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-width": 1, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "place-neighbourhood", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "place_label", | |
"minzoom": 10, | |
"maxzoom": 16, | |
"filter": [ | |
"==", | |
"type", | |
"neighbourhood" | |
], | |
"layout": { | |
"text-line-height": 1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
11 | |
], | |
[ | |
16, | |
16 | |
] | |
] | |
}, | |
"text-transform": "uppercase", | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-padding": 3, | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.1, | |
"text-max-width": 7 | |
}, | |
"paint": { | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-blur": 0.5, | |
"text-color": "hsl(35, 100%, 100%)", | |
"text-halo-width": 1 | |
} | |
}, | |
{ | |
"id": "place-suburb", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "place_label", | |
"minzoom": 10, | |
"maxzoom": 16, | |
"filter": [ | |
"==", | |
"type", | |
"suburb" | |
], | |
"layout": { | |
"text-line-height": 1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
11 | |
], | |
[ | |
15, | |
18 | |
] | |
] | |
}, | |
"text-transform": "uppercase", | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-padding": 3, | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.15, | |
"text-max-width": 7 | |
}, | |
"paint": { | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-blur": 0.5, | |
"text-color": "hsl(35, 100%, 100%)", | |
"text-halo-width": 1 | |
} | |
}, | |
{ | |
"id": "place-hamlet", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "place_label", | |
"minzoom": 10, | |
"maxzoom": 16, | |
"filter": [ | |
"==", | |
"type", | |
"hamlet" | |
], | |
"layout": { | |
"text-line-height": 1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
12, | |
11.5 | |
], | |
[ | |
15, | |
16 | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
], | |
"text-padding": 3, | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.1, | |
"text-max-width": 7 | |
}, | |
"paint": { | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-blur": 0.5, | |
"text-color": "hsl(35, 100%, 100%)", | |
"text-halo-width": 1 | |
} | |
}, | |
{ | |
"id": "place-village", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "place_label", | |
"minzoom": 8, | |
"maxzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"<=", | |
"localrank", | |
12 | |
], | |
[ | |
"==", | |
"type", | |
"village" | |
] | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
11.5 | |
], | |
[ | |
16, | |
18 | |
] | |
] | |
}, | |
"text-font": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
[ | |
"DIN Offc Pro Regular", | |
"Arial Unicode MS Regular" | |
] | |
], | |
[ | |
6, | |
[ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
] | |
] | |
] | |
}, | |
"text-offset": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
[ | |
0, | |
-0.15 | |
] | |
], | |
[ | |
8, | |
[ | |
0, | |
0 | |
] | |
] | |
] | |
}, | |
"icon-size": 1, | |
"text-anchor": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
"bottom" | |
], | |
[ | |
8, | |
"center" | |
] | |
] | |
}, | |
"text-field": "{name_en}", | |
"text-max-width": 7 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 100%, 100%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-width": 1, | |
"icon-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7.99, | |
0.9 | |
], | |
[ | |
8, | |
0 | |
] | |
] | |
}, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "place-town", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "place_label", | |
"minzoom": 6, | |
"maxzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"<=", | |
"localrank", | |
12 | |
], | |
[ | |
"==", | |
"type", | |
"town" | |
] | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
11.5 | |
], | |
[ | |
15, | |
20 | |
] | |
] | |
}, | |
"icon-image": "dot-9", | |
"text-font": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
[ | |
"DIN Offc Pro Regular", | |
"Arial Unicode MS Regular" | |
] | |
], | |
[ | |
6, | |
[ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
] | |
] | |
] | |
}, | |
"text-offset": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
[ | |
0, | |
-0.15 | |
] | |
], | |
[ | |
8, | |
[ | |
0, | |
0 | |
] | |
] | |
] | |
}, | |
"icon-size": 1, | |
"text-anchor": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
"bottom" | |
], | |
[ | |
8, | |
"center" | |
] | |
] | |
}, | |
"text-field": "{name_en}", | |
"text-max-width": 7 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 100%, 100%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-width": 1, | |
"icon-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7.99, | |
0.9 | |
], | |
[ | |
8, | |
0 | |
] | |
] | |
}, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "place-islands", | |
"type": "symbol", | |
"source": "composite", | |
"source-layer": "place_label", | |
"filter": [ | |
"==", | |
"type", | |
"island" | |
], | |
"layout": { | |
"text-line-height": 1.2, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
11 | |
], | |
[ | |
18, | |
16 | |
] | |
] | |
}, | |
"text-max-angle": 38, | |
"symbol-spacing": 250, | |
"text-font": [ | |
"DIN Offc Pro Regular", | |
"Arial Unicode MS Regular" | |
], | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0 | |
], | |
"text-rotation-alignment": "viewport", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.01, | |
"text-max-width": 7 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 100%, 100%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-width": 1, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "place-city-sm", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802912335.5327" | |
}, | |
"source": "composite", | |
"source-layer": "place_label", | |
"maxzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"scalerank", | |
0, | |
1, | |
2, | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"type", | |
"city" | |
] | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
6, | |
12 | |
], | |
[ | |
14, | |
22 | |
] | |
] | |
}, | |
"icon-image": "dot-9", | |
"text-font": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
[ | |
"DIN Offc Pro Regular", | |
"Arial Unicode MS Regular" | |
] | |
], | |
[ | |
6, | |
[ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
] | |
] | |
] | |
}, | |
"text-offset": { | |
"base": 1, | |
"stops": [ | |
[ | |
7.99, | |
[ | |
0, | |
-0.2 | |
] | |
], | |
[ | |
8, | |
[ | |
0, | |
0 | |
] | |
] | |
] | |
}, | |
"icon-size": 1, | |
"text-anchor": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
"bottom" | |
], | |
[ | |
8, | |
"center" | |
] | |
] | |
}, | |
"text-field": "{name_en}", | |
"text-letter-spacing": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
0.02 | |
], | |
[ | |
6, | |
0.07 | |
] | |
] | |
}, | |
"text-max-width": 7 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 100%, 100%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-width": 1.75, | |
"icon-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7.99, | |
0.9 | |
], | |
[ | |
8, | |
0 | |
] | |
] | |
}, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "place-city-md-s", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802912335.5327" | |
}, | |
"source": "composite", | |
"source-layer": "place_label", | |
"maxzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ldir", | |
"E", | |
"S", | |
"SE", | |
"SW" | |
], | |
[ | |
"in", | |
"scalerank", | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"type", | |
"city" | |
] | |
], | |
"layout": { | |
"text-field": "{name_en}", | |
"icon-image": "dot-10", | |
"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": 1 | |
}, | |
"paint": { | |
"text-halo-width": 1.5, | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-color": "hsl(0, 100%, 100%)", | |
"text-halo-blur": 0.5, | |
"icon-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7.99, | |
0.9 | |
], | |
[ | |
8, | |
0 | |
] | |
] | |
}, | |
"text-opacity": 1 | |
} | |
}, | |
{ | |
"id": "place-city-md-n", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802912335.5327" | |
}, | |
"source": "composite", | |
"source-layer": "place_label", | |
"maxzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ldir", | |
"N", | |
"NE", | |
"NW", | |
"W" | |
], | |
[ | |
"in", | |
"scalerank", | |
3, | |
4, | |
5 | |
], | |
[ | |
"==", | |
"type", | |
"city" | |
] | |
], | |
"layout": { | |
"text-size": { | |
"base": 0.9, | |
"stops": [ | |
[ | |
5, | |
12 | |
], | |
[ | |
12, | |
22 | |
] | |
] | |
}, | |
"icon-image": "dot-10", | |
"text-font": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
[ | |
"DIN Offc Pro Regular", | |
"Arial Unicode MS Regular" | |
] | |
], | |
[ | |
8, | |
[ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
] | |
] | |
] | |
}, | |
"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 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 100%, 100%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-width": 1.5, | |
"icon-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7.99, | |
0.9 | |
], | |
[ | |
8, | |
0 | |
] | |
] | |
}, | |
"text-halo-blur": 0.5, | |
"text-opacity": 1 | |
} | |
}, | |
{ | |
"id": "place-city-lg-s", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802912335.5327" | |
}, | |
"source": "composite", | |
"source-layer": "place_label", | |
"minzoom": 1, | |
"maxzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ldir", | |
"E", | |
"S", | |
"SE", | |
"SW" | |
], | |
[ | |
"<=", | |
"scalerank", | |
2 | |
], | |
[ | |
"==", | |
"type", | |
"city" | |
] | |
], | |
"layout": { | |
"text-size": { | |
"base": 0.9, | |
"stops": [ | |
[ | |
4, | |
12 | |
], | |
[ | |
10, | |
22 | |
] | |
] | |
}, | |
"icon-image": "dot-11", | |
"text-font": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
[ | |
"DIN Offc Pro Regular", | |
"Arial Unicode MS Regular" | |
] | |
], | |
[ | |
8, | |
[ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
] | |
] | |
] | |
}, | |
"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 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 100%, 100%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-width": 1.5, | |
"icon-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7.99, | |
0.9 | |
], | |
[ | |
8, | |
0 | |
] | |
] | |
}, | |
"text-halo-blur": 0.5, | |
"text-translate": [ | |
0, | |
-0.75 | |
], | |
"text-opacity": 1 | |
} | |
}, | |
{ | |
"id": "place-city-lg-n", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802912335.5327" | |
}, | |
"source": "composite", | |
"source-layer": "place_label", | |
"minzoom": 1, | |
"maxzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"ldir", | |
"N", | |
"NE", | |
"NW", | |
"W" | |
], | |
[ | |
"<=", | |
"scalerank", | |
2 | |
], | |
[ | |
"==", | |
"type", | |
"city" | |
] | |
], | |
"layout": { | |
"text-size": { | |
"base": 0.9, | |
"stops": [ | |
[ | |
4, | |
12 | |
], | |
[ | |
10, | |
22 | |
] | |
] | |
}, | |
"icon-image": "dot-11", | |
"text-font": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
[ | |
"DIN Offc Pro Regular", | |
"Arial Unicode MS Regular" | |
] | |
], | |
[ | |
8, | |
[ | |
"DIN Offc Pro Medium", | |
"Arial Unicode MS Regular" | |
] | |
] | |
] | |
}, | |
"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 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 100%, 100%)", | |
"text-opacity": 1, | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
9, | |
"hsl(0, 0%, 18%)" | |
], | |
[ | |
12, | |
"hsl(0, 2%, 14%)" | |
] | |
] | |
}, | |
"text-halo-width": 1.5, | |
"icon-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
7.99, | |
1 | |
], | |
[ | |
8, | |
0 | |
] | |
] | |
}, | |
"text-halo-blur": 0.5, | |
"text-translate": [ | |
0, | |
0 | |
] | |
} | |
}, | |
{ | |
"id": "marine-label-sm-ln", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802922547.9956" | |
}, | |
"source": "composite", | |
"source-layer": "marine_label", | |
"minzoom": 3, | |
"maxzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
">=", | |
"labelrank", | |
4 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
3, | |
12 | |
], | |
[ | |
6, | |
16 | |
] | |
] | |
}, | |
"symbol-spacing": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
100 | |
], | |
[ | |
6, | |
400 | |
] | |
] | |
}, | |
"text-font": [ | |
"DIN Offc Pro Italic", | |
"Arial Unicode MS Regular" | |
], | |
"symbol-placement": "line", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.1, | |
"text-max-width": 5 | |
}, | |
"paint": { | |
"text-color": "hsl(224, 29%, 40%)" | |
} | |
}, | |
{ | |
"id": "marine-label-sm-pt", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802922547.9956" | |
}, | |
"source": "composite", | |
"source-layer": "marine_label", | |
"minzoom": 3, | |
"maxzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
">=", | |
"labelrank", | |
4 | |
] | |
], | |
"layout": { | |
"text-field": "{name_en}", | |
"text-max-width": 5, | |
"text-letter-spacing": 0.1, | |
"text-line-height": 1.5, | |
"text-font": [ | |
"DIN Offc Pro Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
3, | |
12 | |
], | |
[ | |
6, | |
16 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "hsl(224, 29%, 40%)" | |
} | |
}, | |
{ | |
"id": "marine-label-md-ln", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802922547.9956" | |
}, | |
"source": "composite", | |
"source-layer": "marine_label", | |
"minzoom": 2, | |
"maxzoom": 8, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"in", | |
"labelrank", | |
2, | |
3 | |
] | |
], | |
"layout": { | |
"text-line-height": 1.1, | |
"text-size": { | |
"base": 1.1, | |
"stops": [ | |
[ | |
2, | |
12 | |
], | |
[ | |
5, | |
20 | |
] | |
] | |
}, | |
"symbol-spacing": 250, | |
"text-font": [ | |
"DIN Offc Pro Italic", | |
"Arial Unicode MS Regular" | |
], | |
"symbol-placement": "line", | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.15, | |
"text-max-width": 5 | |
}, | |
"paint": { | |
"text-color": "hsl(224, 29%, 40%)" | |
} | |
}, | |
{ | |
"id": "marine-label-md-pt", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802922547.9956" | |
}, | |
"source": "composite", | |
"source-layer": "marine_label", | |
"minzoom": 2, | |
"maxzoom": 8, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"in", | |
"labelrank", | |
2, | |
3 | |
] | |
], | |
"layout": { | |
"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": "hsl(224, 29%, 40%)" | |
} | |
}, | |
{ | |
"id": "marine-label-lg-ln", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802922547.9956" | |
}, | |
"source": "composite", | |
"source-layer": "marine_label", | |
"minzoom": 1, | |
"maxzoom": 4, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"labelrank", | |
1 | |
] | |
], | |
"layout": { | |
"text-field": "{name_en}", | |
"text-max-width": 4, | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
1, | |
14 | |
], | |
[ | |
4, | |
30 | |
] | |
] | |
}, | |
"text-line-height": 1.1, | |
"symbol-placement": "line", | |
"text-font": [ | |
"DIN Offc Pro Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-letter-spacing": 0.25 | |
}, | |
"paint": { | |
"text-color": "hsl(224, 29%, 40%)" | |
} | |
}, | |
{ | |
"id": "marine-label-lg-pt", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802922547.9956" | |
}, | |
"source": "composite", | |
"source-layer": "marine_label", | |
"minzoom": 1, | |
"maxzoom": 4, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"labelrank", | |
1 | |
] | |
], | |
"layout": { | |
"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": "hsl(224, 29%, 40%)" | |
} | |
}, | |
{ | |
"id": "state-label-sm", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802933574.639" | |
}, | |
"source": "composite", | |
"source-layer": "state_label", | |
"minzoom": 3, | |
"maxzoom": 9, | |
"filter": [ | |
"<", | |
"area", | |
20000 | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
6, | |
10 | |
], | |
[ | |
9, | |
14 | |
] | |
] | |
}, | |
"text-transform": "uppercase", | |
"text-font": [ | |
"DIN Offc Pro Bold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
"{abbr}" | |
], | |
[ | |
6, | |
"{name_en}" | |
] | |
] | |
}, | |
"text-letter-spacing": 0.15, | |
"text-max-width": 5 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 100%)", | |
"text-halo-color": "hsl(224, 2%, 18%)", | |
"text-halo-width": 1, | |
"text-opacity": 1 | |
} | |
}, | |
{ | |
"id": "state-label-md", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802933574.639" | |
}, | |
"source": "composite", | |
"source-layer": "state_label", | |
"minzoom": 3, | |
"maxzoom": 8, | |
"filter": [ | |
"all", | |
[ | |
"<", | |
"area", | |
80000 | |
], | |
[ | |
">=", | |
"area", | |
20000 | |
] | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
10 | |
], | |
[ | |
8, | |
16 | |
] | |
] | |
}, | |
"text-transform": "uppercase", | |
"text-font": [ | |
"DIN Offc Pro Bold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
"{abbr}" | |
], | |
[ | |
5, | |
"{name_en}" | |
] | |
] | |
}, | |
"text-letter-spacing": 0.15, | |
"text-max-width": 6 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 100%)", | |
"text-halo-color": "hsl(224, 2%, 18%)", | |
"text-halo-width": 2 | |
} | |
}, | |
{ | |
"id": "state-label-lg", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802933574.639" | |
}, | |
"source": "composite", | |
"source-layer": "state_label", | |
"minzoom": 3, | |
"maxzoom": 7, | |
"filter": [ | |
">=", | |
"area", | |
80000 | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
10 | |
], | |
[ | |
7, | |
18 | |
] | |
] | |
}, | |
"text-transform": "uppercase", | |
"text-font": [ | |
"DIN Offc Pro Bold", | |
"Arial Unicode MS Bold" | |
], | |
"text-padding": 1, | |
"text-field": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
"{abbr}" | |
], | |
[ | |
4, | |
"{name_en}" | |
] | |
] | |
}, | |
"text-letter-spacing": 0.15, | |
"text-max-width": 6 | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 100%)", | |
"text-halo-color": "hsl(224, 2%, 18%)", | |
"text-opacity": 1, | |
"text-halo-width": 2 | |
} | |
}, | |
{ | |
"id": "country-label-sm", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802941943.712" | |
}, | |
"source": "composite", | |
"source-layer": "country_label", | |
"minzoom": 1, | |
"maxzoom": 10, | |
"filter": [ | |
">=", | |
"scalerank", | |
5 | |
], | |
"layout": { | |
"text-field": "{name_en}", | |
"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": "hsl(0, 0%, 100%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
"hsl(224, 2%, 18%)" | |
], | |
[ | |
4, | |
"hsl(224, 1%, 12%)" | |
], | |
[ | |
8, | |
"hsl(224, 1%, 2%)" | |
] | |
] | |
}, | |
"text-halo-width": 1.25 | |
} | |
}, | |
{ | |
"id": "country-label-md", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802941943.712" | |
}, | |
"source": "composite", | |
"source-layer": "country_label", | |
"minzoom": 1, | |
"maxzoom": 8, | |
"filter": [ | |
"in", | |
"scalerank", | |
3, | |
4 | |
], | |
"layout": { | |
"text-field": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
"{code}" | |
], | |
[ | |
2, | |
"{name_en}" | |
] | |
] | |
}, | |
"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": "hsl(0, 0%, 100%)", | |
"text-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
"hsl(224, 2%, 18%)" | |
], | |
[ | |
4, | |
"hsl(224, 1%, 12%)" | |
], | |
[ | |
8, | |
"hsl(224, 1%, 2%)" | |
] | |
] | |
}, | |
"text-halo-width": 1.25 | |
} | |
}, | |
{ | |
"id": "country-label-lg", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1459802941943.712" | |
}, | |
"source": "composite", | |
"source-layer": "country_label", | |
"minzoom": 1, | |
"maxzoom": 7, | |
"filter": [ | |
"in", | |
"scalerank", | |
1, | |
2 | |
], | |
"layout": { | |
"text-field": "{name_en}", | |
"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-halo-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
"hsl(224, 2%, 18%)" | |
], | |
[ | |
4, | |
"hsl(224, 1%, 12%)" | |
], | |
[ | |
8, | |
"hsl(224, 1%, 2%)" | |
] | |
] | |
}, | |
"text-halo-width": 1.25, | |
"text-color": "hsl(0, 0%, 100%)" | |
} | |
} | |
], | |
"created": 0, | |
"modified": 0, | |
"owner": "mapbox", | |
"id": "satellite-streets-v9", | |
"draft": false, | |
"visibility": "public", | |
"zoom": 6, | |
"center": [ | |
-122.2450445, | |
37.799454 | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment