Built with blockbuilder.org
Created
May 23, 2018 18:44
-
-
Save jmasselink/726be8d72f07a93bfec54fbc173e5d5f to your computer and use it in GitHub Desktop.
fresh block
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
license: mit |
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": "Bright", | |
"metadata": { | |
"mapbox:autocomposite": true, | |
"mapbox:type": "template", | |
"mapbox:groups": { | |
"1444849364238.8171": { | |
"name": "Buildings", | |
"collapsed": true | |
}, | |
"1444849354174.1904": { | |
"name": "Tunnels", | |
"collapsed": true | |
}, | |
"1444849320558.5054": { | |
"name": "Water labels", | |
"collapsed": true | |
}, | |
"1444849371739.5945": { | |
"name": "Aeroways", | |
"collapsed": true | |
}, | |
"1444849258897.3083": { | |
"name": "Marine labels", | |
"collapsed": true | |
}, | |
"1444849388993.3071": { | |
"name": "Landuse", | |
"collapsed": true | |
}, | |
"1444849242106.713": { | |
"name": "Country labels", | |
"collapsed": true | |
}, | |
"1444849382550.77": { | |
"name": "Water", | |
"collapsed": true | |
}, | |
"1444849345966.4436": { | |
"name": "Roads", | |
"collapsed": true | |
}, | |
"1444849307123.581": { | |
"name": "Admin lines", | |
"collapsed": true | |
}, | |
"1456163609504.0715": { | |
"name": "Road labels", | |
"collapsed": true | |
}, | |
"1444849272561.29": { | |
"name": "Place labels", | |
"collapsed": true | |
}, | |
"1444849290021.1838": { | |
"name": "Road labels", | |
"collapsed": true | |
}, | |
"1444849334699.1902": { | |
"name": "Bridges", | |
"collapsed": true | |
}, | |
"1444849297111.495": { | |
"name": "POI labels", | |
"collapsed": true | |
} | |
} | |
}, | |
"sources": { | |
"mapbox": { | |
"url": "mapbox://mapbox.mapbox-streets-v7", | |
"type": "vector" | |
}, | |
"Park_Boundary": { | |
"type": "vector", | |
"url": "http://localhost:8082/data/Gonarezhou_Park_Boundary.json" | |
}, | |
"Patrol_Blocks": { | |
"type": "vector", | |
"url": "http://localhost:8082/data/Gonarezhou_Patrol_Blocks.json" | |
} | |
}, | |
"sprite": "mapbox://sprites/mapbox/bright-v9", | |
"glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf", | |
"layers": [ | |
{ | |
"id": "background", | |
"type": "background", | |
"paint": { | |
"background-color": "#f8f4f0" | |
} | |
}, | |
{ | |
"id": "landuse_overlay_national_park", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "mapbox", | |
"source-layer": "landuse_overlay", | |
"filter": [ | |
"==", | |
"class", | |
"national_park" | |
], | |
"paint": { | |
"fill-color": "#d8e8c8", | |
"fill-opacity": 0.75 | |
} | |
}, | |
{ | |
"id": "landuse_park", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "mapbox", | |
"source-layer": "landuse", | |
"filter": [ | |
"==", | |
"class", | |
"park" | |
], | |
"paint": { | |
"fill-color": "#d8e8c8" | |
} | |
}, | |
{ | |
"id": "landuse_cemetery", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "mapbox", | |
"source-layer": "landuse", | |
"filter": [ | |
"==", | |
"class", | |
"cemetery" | |
], | |
"paint": { | |
"fill-color": "#e0e4dd" | |
} | |
}, | |
{ | |
"id": "landuse_hospital", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "mapbox", | |
"source-layer": "landuse", | |
"filter": [ | |
"==", | |
"class", | |
"hospital" | |
], | |
"paint": { | |
"fill-color": "#fde" | |
} | |
}, | |
{ | |
"id": "landuse_school", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "mapbox", | |
"source-layer": "landuse", | |
"filter": [ | |
"==", | |
"class", | |
"school" | |
], | |
"paint": { | |
"fill-color": "#f0e8f8" | |
} | |
}, | |
{ | |
"id": "landuse_wood", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "mapbox", | |
"source-layer": "landuse", | |
"filter": [ | |
"==", | |
"class", | |
"wood" | |
], | |
"paint": { | |
"fill-color": "#6a4", | |
"fill-opacity": 0.1 | |
} | |
}, | |
{ | |
"id": "waterway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "mapbox", | |
"source-layer": "waterway", | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"class", | |
"river" | |
], | |
[ | |
"!=", | |
"class", | |
"stream" | |
], | |
[ | |
"!=", | |
"class", | |
"canal" | |
] | |
], | |
"layout": { | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#a0c8f0", | |
"line-width": { | |
"base": 1.3, | |
"stops": [ | |
[ | |
13, | |
0.5 | |
], | |
[ | |
20, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "waterway_river", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "mapbox", | |
"source-layer": "waterway", | |
"filter": [ | |
"==", | |
"class", | |
"river" | |
], | |
"layout": { | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#a0c8f0", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
11, | |
0.5 | |
], | |
[ | |
20, | |
6 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "waterway_stream_canal", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "mapbox", | |
"source-layer": "waterway", | |
"filter": [ | |
"in", | |
"class", | |
"stream", | |
"canal" | |
], | |
"layout": { | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#a0c8f0", | |
"line-width": { | |
"base": 1.3, | |
"stops": [ | |
[ | |
13, | |
0.5 | |
], | |
[ | |
20, | |
6 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "water", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "mapbox", | |
"source-layer": "water", | |
"paint": { | |
"fill-color": "#a0c8f0" | |
} | |
}, | |
{ | |
"id": "water_offset", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "mapbox", | |
"source-layer": "water", | |
"paint": { | |
"fill-color": "white", | |
"fill-opacity": 0.3, | |
"fill-translate": [ | |
0, | |
2.5 | |
] | |
} | |
}, | |
{ | |
"id": "water_pattern", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "mapbox", | |
"source-layer": "water", | |
"paint": { | |
"fill-translate": [ | |
0, | |
2.5 | |
], | |
"fill-pattern": "wave" | |
} | |
}, | |
{ | |
"id": "aeroway_fill", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849371739.5945" | |
}, | |
"source": "mapbox", | |
"source-layer": "aeroway", | |
"minzoom": 11, | |
"filter": [ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
"paint": { | |
"fill-color": "#f0ede9", | |
"fill-opacity": 0.7 | |
} | |
}, | |
{ | |
"id": "aeroway_runway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849371739.5945" | |
}, | |
"source": "mapbox", | |
"source-layer": "aeroway", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"type", | |
"runway" | |
] | |
], | |
"paint": { | |
"line-color": "#f0ede9", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
11, | |
3 | |
], | |
[ | |
20, | |
16 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "aeroway_taxiway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849371739.5945" | |
}, | |
"source": "mapbox", | |
"source-layer": "aeroway", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"type", | |
"taxiway" | |
] | |
], | |
"paint": { | |
"line-color": "#f0ede9", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
11, | |
0.5 | |
], | |
[ | |
20, | |
6 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "building", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849364238.8171" | |
}, | |
"source": "mapbox", | |
"source-layer": "building", | |
"paint": { | |
"fill-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
15.5, | |
"#f2eae2" | |
], | |
[ | |
16, | |
"#dfdbd7" | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "building_top", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849364238.8171" | |
}, | |
"source": "mapbox", | |
"source-layer": "building", | |
"paint": { | |
"fill-color": "#f2eae2", | |
"fill-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
15, | |
0 | |
], | |
[ | |
16, | |
1 | |
] | |
] | |
}, | |
"fill-translate": { | |
"stops": [ | |
[ | |
15, | |
[ | |
0, | |
0 | |
] | |
], | |
[ | |
16, | |
[ | |
-2, | |
-2 | |
] | |
] | |
], | |
"base": 1 | |
}, | |
"fill-outline-color": "#dfdbd7" | |
} | |
}, | |
{ | |
"id": "tunnel_motorway_link_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-dasharray": [ | |
0.5, | |
0.25 | |
], | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
13, | |
3 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "tunnel_service_track_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"service", | |
"track" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#cfcdca", | |
"line-dasharray": [ | |
0.5, | |
0.25 | |
], | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1 | |
], | |
[ | |
16, | |
4 | |
], | |
[ | |
20, | |
11 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_link_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"link" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
13, | |
3 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "tunnel_street_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"street", | |
"street_limited" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#cfcdca", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
13, | |
1 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
}, | |
"line-opacity": { | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
12.5, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_secondary_tertiary_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
8, | |
1.5 | |
], | |
[ | |
20, | |
17 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "tunnel_trunk_primary_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"trunk", | |
"primary" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
5, | |
0.4 | |
], | |
[ | |
6, | |
0.6 | |
], | |
[ | |
7, | |
1.5 | |
], | |
[ | |
20, | |
22 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_motorway_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-dasharray": [ | |
0.5, | |
0.25 | |
], | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
5, | |
0.4 | |
], | |
[ | |
6, | |
0.6 | |
], | |
[ | |
7, | |
1.5 | |
], | |
[ | |
20, | |
22 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_path_pedestrian", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"path", | |
"pedestrian" | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#cba", | |
"line-dasharray": [ | |
1.5, | |
0.75 | |
], | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1.2 | |
], | |
[ | |
20, | |
4 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_motorway_link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#fc8", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
13, | |
1.5 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_service_track", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"service", | |
"track" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15.5, | |
0 | |
], | |
[ | |
16, | |
2 | |
], | |
[ | |
20, | |
7.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"link" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff4c6", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
13, | |
1.5 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_street", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"street", | |
"street_limited" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
13.5, | |
0 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "tunnel_secondary_tertiary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff4c6", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
10 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_trunk_primary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"trunk", | |
"primary" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff4c6", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_motorway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#ffdaa6", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_major_rail", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"major_rail", | |
"minor_rail" | |
] | |
], | |
"paint": { | |
"line-color": "#bbb", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
14, | |
0.4 | |
], | |
[ | |
15, | |
0.75 | |
], | |
[ | |
20, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_major_rail_hatching", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"major_rail", | |
"minor_rail" | |
] | |
], | |
"paint": { | |
"line-color": "#bbb", | |
"line-dasharray": [ | |
0.2, | |
8 | |
], | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
14.5, | |
0 | |
], | |
[ | |
15, | |
3 | |
], | |
[ | |
20, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_motorway_link_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"minzoom": 12, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
13, | |
3 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "road_service_track_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"service", | |
"track" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#cfcdca", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1 | |
], | |
[ | |
16, | |
4 | |
], | |
[ | |
20, | |
11 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_link_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"link" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
13, | |
3 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "road_street_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"street", | |
"street_limited" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#cfcdca", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
13, | |
1 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
}, | |
"line-opacity": { | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
12.5, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_secondary_tertiary_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
8, | |
1.5 | |
], | |
[ | |
20, | |
17 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "road_trunk_primary_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"trunk", | |
"primary" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
5, | |
0.4 | |
], | |
[ | |
6, | |
0.6 | |
], | |
[ | |
7, | |
1.5 | |
], | |
[ | |
20, | |
22 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "road_motorway_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"minzoom": 5, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
5, | |
0.4 | |
], | |
[ | |
6, | |
0.6 | |
], | |
[ | |
7, | |
1.5 | |
], | |
[ | |
20, | |
22 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_path_pedestrian", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"path", | |
"pedestrian" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#cba", | |
"line-dasharray": [ | |
1.5, | |
0.75 | |
], | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1.2 | |
], | |
[ | |
20, | |
4 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_motorway_link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"minzoom": 12, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fc8", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
13, | |
1.5 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_service_track", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"service", | |
"track" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15.5, | |
0 | |
], | |
[ | |
16, | |
2 | |
], | |
[ | |
20, | |
7.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"link" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#fea", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
13, | |
1.5 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_street", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"in", | |
"class", | |
"street", | |
"street_limited" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
13.5, | |
0 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "road_secondary_tertiary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#fea", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
8, | |
0.5 | |
], | |
[ | |
20, | |
13 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_trunk_primary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"trunk", | |
"primary" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#fea", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_motorway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"minzoom": 5, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"motorway" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#fc8", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_major_rail", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"major_rail" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"paint": { | |
"line-color": "#bbb", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
14, | |
0.4 | |
], | |
[ | |
15, | |
0.75 | |
], | |
[ | |
20, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_major_rail_hatching", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"major_rail" | |
], | |
[ | |
"!in", | |
"structure", | |
"bridge", | |
"tunnel" | |
] | |
], | |
"paint": { | |
"line-color": "#bbb", | |
"line-dasharray": [ | |
0.2, | |
8 | |
], | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
14.5, | |
0 | |
], | |
[ | |
15, | |
3 | |
], | |
[ | |
20, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_motorway_link_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
13, | |
3 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "bridge_service_track_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"service", | |
"track" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#cfcdca", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1 | |
], | |
[ | |
16, | |
4 | |
], | |
[ | |
20, | |
11 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_link_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"link" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
13, | |
3 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "bridge_street_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"street", | |
"street_limited" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#cfcdca", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
13, | |
1 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
}, | |
"line-opacity": { | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
12.5, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_secondary_tertiary_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
8, | |
1.5 | |
], | |
[ | |
20, | |
17 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "bridge_trunk_primary_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"trunk", | |
"primary" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
5, | |
0.4 | |
], | |
[ | |
6, | |
0.6 | |
], | |
[ | |
7, | |
1.5 | |
], | |
[ | |
20, | |
22 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_motorway_casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
5, | |
0.4 | |
], | |
[ | |
6, | |
0.6 | |
], | |
[ | |
7, | |
1.5 | |
], | |
[ | |
20, | |
22 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_path_pedestrian", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"path", | |
"pedestrian" | |
] | |
] | |
], | |
"paint": { | |
"line-color": "#cba", | |
"line-dasharray": [ | |
1.5, | |
0.75 | |
], | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1.2 | |
], | |
[ | |
20, | |
4 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_motorway_link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fc8", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
13, | |
1.5 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_service_track", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"service", | |
"track" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15.5, | |
0 | |
], | |
[ | |
16, | |
2 | |
], | |
[ | |
20, | |
7.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"link" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fea", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
13, | |
1.5 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_street", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"street", | |
"street_limited" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
13.5, | |
0 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "bridge_secondary_tertiary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fea", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
10 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_trunk_primary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"trunk", | |
"primary" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fea", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_motorway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fc8", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_major_rail", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"major_rail" | |
] | |
], | |
"paint": { | |
"line-color": "#bbb", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
14, | |
0.4 | |
], | |
[ | |
15, | |
0.75 | |
], | |
[ | |
20, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_major_rail_hatching", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "mapbox", | |
"source-layer": "road", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"structure", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"major_rail" | |
] | |
], | |
"paint": { | |
"line-color": "#bbb", | |
"line-dasharray": [ | |
0.2, | |
8 | |
], | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
14.5, | |
0 | |
], | |
[ | |
15, | |
3 | |
], | |
[ | |
20, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "admin_level_3", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849307123.581" | |
}, | |
"source": "mapbox", | |
"source-layer": "admin", | |
"filter": [ | |
"all", | |
[ | |
">=", | |
"admin_level", | |
3 | |
], | |
[ | |
"==", | |
"maritime", | |
0 | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#9e9cab", | |
"line-dasharray": [ | |
3, | |
1, | |
1, | |
1 | |
], | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
0.4 | |
], | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
3 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "admin_level_2", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849307123.581" | |
}, | |
"source": "mapbox", | |
"source-layer": "admin", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"admin_level", | |
2 | |
], | |
[ | |
"==", | |
"disputed", | |
0 | |
], | |
[ | |
"==", | |
"maritime", | |
0 | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#9e9cab", | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
1.4 | |
], | |
[ | |
5, | |
2 | |
], | |
[ | |
12, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "admin_level_2_disputed", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849307123.581" | |
}, | |
"source": "mapbox", | |
"source-layer": "admin", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"admin_level", | |
2 | |
], | |
[ | |
"==", | |
"disputed", | |
1 | |
], | |
[ | |
"==", | |
"maritime", | |
0 | |
] | |
], | |
"layout": { | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#9e9cab", | |
"line-dasharray": [ | |
2, | |
2 | |
], | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
1.4 | |
], | |
[ | |
5, | |
2 | |
], | |
[ | |
12, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "admin_level_3_maritime", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849307123.581" | |
}, | |
"source": "mapbox", | |
"source-layer": "admin", | |
"filter": [ | |
"all", | |
[ | |
">=", | |
"admin_level", | |
3 | |
], | |
[ | |
"==", | |
"maritime", | |
1 | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#a0c8f0", | |
"line-opacity": 0.5, | |
"line-dasharray": [ | |
3, | |
1, | |
1, | |
1 | |
], | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
0.4 | |
], | |
[ | |
5, | |
1 | |
], | |
[ | |
12, | |
3 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "admin_level_2_maritime", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849307123.581" | |
}, | |
"source": "mapbox", | |
"source-layer": "admin", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"admin_level", | |
2 | |
], | |
[ | |
"==", | |
"maritime", | |
1 | |
] | |
], | |
"layout": { | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#a0c8f0", | |
"line-opacity": 0.5, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
1.4 | |
], | |
[ | |
5, | |
2 | |
], | |
[ | |
12, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "water_label", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849320558.5054" | |
}, | |
"source": "mapbox", | |
"source-layer": "water_label", | |
"filter": [ | |
"==", | |
"$type", | |
"Point" | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 5, | |
"text-size": 12 | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-width": 1.5, | |
"text-halo-color": "rgba(255,255,255,0.7)" | |
} | |
}, | |
{ | |
"id": "poi_label_4", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849297111.495" | |
}, | |
"source": "mapbox", | |
"source-layer": "poi_label", | |
"minzoom": 16, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"scalerank", | |
4 | |
] | |
], | |
"layout": { | |
"icon-image": "{maki}-11", | |
"text-font": [ | |
"Open Sans Semibold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 9, | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-anchor": "top", | |
"text-size": 12 | |
}, | |
"paint": { | |
"text-color": "#666", | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "poi_label_3", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849297111.495" | |
}, | |
"source": "mapbox", | |
"source-layer": "poi_label", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"scalerank", | |
3 | |
] | |
], | |
"layout": { | |
"icon-image": "{maki}-11", | |
"text-font": [ | |
"Open Sans Semibold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 9, | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-anchor": "top", | |
"text-size": 12 | |
}, | |
"paint": { | |
"text-color": "#666", | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "poi_label_2", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849297111.495" | |
}, | |
"source": "mapbox", | |
"source-layer": "poi_label", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"scalerank", | |
2 | |
] | |
], | |
"layout": { | |
"icon-image": "{maki}-11", | |
"text-font": [ | |
"Open Sans Semibold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 9, | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-anchor": "top", | |
"text-size": 12 | |
}, | |
"paint": { | |
"text-color": "#666", | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "rail_station_label", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849297111.495" | |
}, | |
"source": "mapbox", | |
"source-layer": "rail_station_label", | |
"layout": { | |
"text-size": 12, | |
"icon-image": "{maki}-11", | |
"text-font": [ | |
"Open Sans Semibold", | |
"Arial Unicode MS Bold" | |
], | |
"text-padding": 2, | |
"visibility": "visible", | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-anchor": "top", | |
"text-field": "{name_en}", | |
"text-max-width": 9 | |
}, | |
"paint": { | |
"text-color": "#666", | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "poi_label_1", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849297111.495" | |
}, | |
"source": "mapbox", | |
"source-layer": "poi_label", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"scalerank", | |
1 | |
] | |
], | |
"layout": { | |
"icon-image": "{maki}-11", | |
"text-font": [ | |
"Open Sans Semibold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 9, | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-anchor": "top", | |
"text-size": 12 | |
}, | |
"paint": { | |
"text-color": "#666", | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "airport_label", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849297111.495" | |
}, | |
"source": "mapbox", | |
"source-layer": "airport_label", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"in", | |
"scalerank", | |
1, | |
2, | |
3 | |
] | |
], | |
"layout": { | |
"icon-image": "{maki}-11", | |
"text-font": [ | |
"Open Sans Semibold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 9, | |
"text-padding": 2, | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-anchor": "top", | |
"text-size": 12 | |
}, | |
"paint": { | |
"text-color": "#666", | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "road_label", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1456163609504.0715" | |
}, | |
"source": "mapbox", | |
"source-layer": "road_label", | |
"filter": [ | |
"!=", | |
"class", | |
"ferry" | |
], | |
"layout": { | |
"text-field": "{name_en}", | |
"text-font": [ | |
"Open Sans Regular", | |
"Arial Unicode MS Regular" | |
], | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
12 | |
], | |
[ | |
14, | |
13 | |
] | |
] | |
}, | |
"symbol-placement": "line" | |
}, | |
"paint": { | |
"text-color": "#765", | |
"text-halo-width": 1, | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "road_label_highway_shield", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1456163609504.0715" | |
}, | |
"source": "mapbox", | |
"source-layer": "road_label", | |
"minzoom": 8, | |
"filter": [ | |
"<=", | |
"reflen", | |
6 | |
], | |
"layout": { | |
"text-field": "{ref}", | |
"text-font": [ | |
"Open Sans Semibold", | |
"Arial Unicode MS Bold" | |
], | |
"text-size": 11, | |
"icon-image": "motorway_{reflen}", | |
"symbol-placement": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"point" | |
], | |
[ | |
11, | |
"line" | |
] | |
] | |
}, | |
"symbol-spacing": 500, | |
"text-rotation-alignment": "viewport", | |
"icon-rotation-alignment": "viewport" | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "place_label_other", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849272561.29" | |
}, | |
"source": "mapbox", | |
"source-layer": "place_label", | |
"filter": [ | |
"in", | |
"type", | |
"hamlet", | |
"suburb", | |
"neighbourhood", | |
"island", | |
"islet" | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Bold", | |
"Arial Unicode MS Bold" | |
], | |
"text-transform": "uppercase", | |
"text-letter-spacing": 0.1, | |
"text-field": "{name_en}", | |
"text-max-width": 9, | |
"text-size": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
10 | |
], | |
[ | |
15, | |
14 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#633", | |
"text-halo-color": "rgba(255,255,255,0.8)", | |
"text-halo-width": 1.2 | |
} | |
}, | |
{ | |
"id": "place_label_village", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849272561.29" | |
}, | |
"source": "mapbox", | |
"source-layer": "place_label", | |
"filter": [ | |
"==", | |
"type", | |
"village" | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Regular", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 8, | |
"text-size": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
10, | |
12 | |
], | |
[ | |
15, | |
22 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#333", | |
"text-halo-color": "rgba(255,255,255,0.8)", | |
"text-halo-width": 1.2 | |
} | |
}, | |
{ | |
"id": "place_label_town", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849272561.29" | |
}, | |
"source": "mapbox", | |
"source-layer": "place_label", | |
"filter": [ | |
"==", | |
"type", | |
"town" | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Regular", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 8, | |
"text-size": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
10, | |
14 | |
], | |
[ | |
15, | |
24 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#333", | |
"text-halo-color": "rgba(255,255,255,0.8)", | |
"text-halo-width": 1.2 | |
} | |
}, | |
{ | |
"id": "place_label_city", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849272561.29" | |
}, | |
"source": "mapbox", | |
"source-layer": "place_label", | |
"filter": [ | |
"==", | |
"type", | |
"city" | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Semibold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 8, | |
"text-size": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
7, | |
14 | |
], | |
[ | |
11, | |
24 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#333", | |
"text-halo-color": "rgba(255,255,255,0.8)", | |
"text-halo-width": 1.2 | |
} | |
}, | |
{ | |
"id": "marine_label_line_4", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849258897.3083" | |
}, | |
"source": "mapbox", | |
"source-layer": "marine_label", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
">=", | |
"labelrank", | |
4 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.2, | |
"symbol-placement": "line", | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
11 | |
], | |
[ | |
4, | |
12 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-color": "rgba(255,255,255,0.7)", | |
"text-halo-width": 0.75, | |
"text-halo-blur": 0.75 | |
} | |
}, | |
{ | |
"id": "marine_label_4", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849258897.3083" | |
}, | |
"source": "mapbox", | |
"source-layer": "marine_label", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
">=", | |
"labelrank", | |
4 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 6, | |
"text-letter-spacing": 0.2, | |
"symbol-placement": "point", | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
11 | |
], | |
[ | |
4, | |
12 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-color": "rgba(255,255,255,0.7)", | |
"text-halo-width": 0.75, | |
"text-halo-blur": 0.75 | |
} | |
}, | |
{ | |
"id": "marine_label_line_3", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849258897.3083" | |
}, | |
"source": "mapbox", | |
"source-layer": "marine_label", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"labelrank", | |
3 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.2, | |
"symbol-placement": "line", | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
11 | |
], | |
[ | |
4, | |
14 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-color": "rgba(255,255,255,0.7)", | |
"text-halo-width": 0.75, | |
"text-halo-blur": 0.75 | |
} | |
}, | |
{ | |
"id": "marine_label_point_3", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849258897.3083" | |
}, | |
"source": "mapbox", | |
"source-layer": "marine_label", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"labelrank", | |
3 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 5, | |
"text-letter-spacing": 0.2, | |
"symbol-placement": "point", | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
11 | |
], | |
[ | |
4, | |
14 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-color": "rgba(255,255,255,0.7)", | |
"text-halo-width": 0.75, | |
"text-halo-blur": 0.75 | |
} | |
}, | |
{ | |
"id": "marine_label_line_2", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849258897.3083" | |
}, | |
"source": "mapbox", | |
"source-layer": "marine_label", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"labelrank", | |
2 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.2, | |
"symbol-placement": "line", | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
14 | |
], | |
[ | |
4, | |
16 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-color": "rgba(255,255,255,0.7)", | |
"text-halo-width": 0.75, | |
"text-halo-blur": 0.75 | |
} | |
}, | |
{ | |
"id": "marine_label_point_2", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849258897.3083" | |
}, | |
"source": "mapbox", | |
"source-layer": "marine_label", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"labelrank", | |
2 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 5, | |
"text-letter-spacing": 0.2, | |
"symbol-placement": "point", | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
14 | |
], | |
[ | |
4, | |
16 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-color": "rgba(255,255,255,0.7)", | |
"text-halo-width": 0.75, | |
"text-halo-blur": 0.75 | |
} | |
}, | |
{ | |
"id": "marine_label_line_1", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849258897.3083" | |
}, | |
"source": "mapbox", | |
"source-layer": "marine_label", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"labelrank", | |
1 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-letter-spacing": 0.2, | |
"symbol-placement": "line", | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
18 | |
], | |
[ | |
4, | |
22 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-color": "rgba(255,255,255,0.7)", | |
"text-halo-width": 0.75, | |
"text-halo-blur": 0.75 | |
} | |
}, | |
{ | |
"id": "marine_label_point_1", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849258897.3083" | |
}, | |
"source": "mapbox", | |
"source-layer": "marine_label", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"labelrank", | |
1 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Italic", | |
"Arial Unicode MS Regular" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 5, | |
"text-letter-spacing": 0.2, | |
"text-line-height": 1.6, | |
"symbol-placement": "point", | |
"text-offset": [ | |
0, | |
2.4 | |
], | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
18 | |
], | |
[ | |
4, | |
22 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#74aee9", | |
"text-halo-color": "rgba(255,255,255,0.7)", | |
"text-halo-width": 0.75, | |
"text-halo-blur": 0.75 | |
} | |
}, | |
{ | |
"id": "country_label_4", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "mapbox", | |
"source-layer": "country_label", | |
"filter": [ | |
">=", | |
"scalerank", | |
4 | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Bold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 6.25, | |
"text-transform": "uppercase", | |
"text-size": { | |
"stops": [ | |
[ | |
4, | |
11 | |
], | |
[ | |
6, | |
15 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#334", | |
"text-halo-color": "rgba(255,255,255,0.8)", | |
"text-halo-width": 2, | |
"text-halo-blur": 1 | |
} | |
}, | |
{ | |
"id": "country_label_3", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "mapbox", | |
"source-layer": "country_label", | |
"filter": [ | |
"==", | |
"scalerank", | |
3 | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Bold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 6.25, | |
"text-transform": "uppercase", | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
11 | |
], | |
[ | |
7, | |
17 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#334", | |
"text-halo-color": "rgba(255,255,255,0.8)", | |
"text-halo-width": 2, | |
"text-halo-blur": 1 | |
} | |
}, | |
{ | |
"id": "country_label_2", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "mapbox", | |
"source-layer": "country_label", | |
"filter": [ | |
"==", | |
"scalerank", | |
2 | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Bold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 6.25, | |
"text-transform": "uppercase", | |
"text-size": { | |
"stops": [ | |
[ | |
2, | |
11 | |
], | |
[ | |
5, | |
17 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#334", | |
"text-halo-color": "rgba(255,255,255,0.8)", | |
"text-halo-width": 2, | |
"text-halo-blur": 1 | |
} | |
}, | |
{ | |
"id": "country_label_1", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "mapbox", | |
"source-layer": "country_label", | |
"filter": [ | |
"==", | |
"scalerank", | |
1 | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Bold", | |
"Arial Unicode MS Bold" | |
], | |
"text-field": "{name_en}", | |
"text-max-width": 6.25, | |
"text-transform": "uppercase", | |
"text-size": { | |
"stops": [ | |
[ | |
1, | |
11 | |
], | |
[ | |
4, | |
17 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "#334", | |
"text-halo-color": "rgba(255,255,255,0.8)", | |
"text-halo-width": 2, | |
"text-halo-blur": 1 | |
} | |
}, | |
{ | |
"id": "GNP_boundary", | |
"type": "fill", | |
"source": "Park_Boundary", | |
"source-layer": "Gonarezhou_Park_Boundary", | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "rgba(182, 236, 167, 1)", | |
"fill-outline-color": "rgba(78, 136, 74, 1)", | |
"fill-opacity": { | |
"stops": [ | |
[ | |
6, | |
1 | |
], | |
[ | |
10, | |
0.2 | |
] | |
] | |
}, | |
"fill-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "GNP_patrol_blocks", | |
"type": "line", | |
"source": "Patrol_Blocks", | |
"source-layer": "Gonarezhou_Patrol_Blocks", | |
"minzoom": 8, | |
"maxzoom": 14, | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(31, 40, 21, 1)", | |
"line-opacity": { | |
"stops": [ | |
[ | |
8, | |
0.5 | |
], | |
[ | |
12, | |
0.2 | |
] | |
] | |
} | |
} | |
} | |
], | |
"id": "mkwdwsvq5" | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Klokantech Basic Preview</title> | |
<link rel="stylesheet" type="text/css" href="https://api.mapbox.com/mapbox-gl-js/v0.43.0/mapbox-gl.css" /> | |
<script src="https://api.mapbox.com/mapbox-gl-js/v0.43.0/mapbox-gl.js"></script> | |
<style> | |
body { margin:0; padding:0; } | |
#map { position:absolute; top:0; bottom:0; width:100%; } | |
</style> | |
</head> | |
<body> | |
<div id='map'></div> | |
<script> | |
var map = new mapboxgl.Map({ | |
container: 'map', | |
style: 'gonarezhou.json', | |
attributionControl: true, | |
hash: true | |
}); | |
map.addControl(new mapboxgl.NavigationControl()); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment