Created
October 2, 2017 20:14
-
-
Save anonymous/576806de7dfe01be3f53ed12b096a91b to your computer and use it in GitHub Desktop.
SBB Bern
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>SBB Bern Preview</title> | |
<link rel="stylesheet" type="text/css" href="https://api.mapbox.com/mapbox-gl-js/v0.28.0/mapbox-gl.css" /> | |
<script src="https://api.mapbox.com/mapbox-gl-js/v0.28.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: 'style.json', | |
attributionControl: true, | |
hash: true | |
}); | |
map.addControl(new mapboxgl.NavigationControl()); | |
</script> | |
</body> | |
</html> |
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": "SBB Bern", | |
"metadata": { | |
"mapbox:type": "template", | |
"mapbox:groups": { | |
"1444849364238.8171": { | |
"collapsed": false, | |
"name": "Buildings" | |
}, | |
"1444849354174.1904": { | |
"collapsed": true, | |
"name": "Tunnels" | |
}, | |
"1444849388993.3071": { | |
"collapsed": false, | |
"name": "Land" | |
}, | |
"1444849242106.713": { | |
"collapsed": false, | |
"name": "Places" | |
}, | |
"1444849382550.77": { | |
"collapsed": false, | |
"name": "Water" | |
}, | |
"1444849345966.4436": { | |
"collapsed": false, | |
"name": "Roads" | |
}, | |
"1444849334699.1902": { | |
"collapsed": true, | |
"name": "Bridges" | |
} | |
}, | |
"mapbox:autocomposite": false, | |
"openmaptiles:version": "3.x", | |
"openmaptiles:mapbox:owner": "openmaptiles", | |
"openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t" | |
}, | |
"center": [ | |
8.542, | |
47.372 | |
], | |
"zoom": 11.6, | |
"bearing": 0, | |
"pitch": 0, | |
"sources": { | |
"openmaptiles": { | |
"type": "vector", | |
"url": "https://gist.githubusercontent.com/jirik/ca4e4aeb12012b152d4b4894ba05b0a2/raw/tile.json" | |
}, | |
"hillshading": { | |
"type": "raster", | |
"url": "https://klokantech.tilehosting.com/data/hillshades.json?key=tXme5cuqgrCqdPoZHqyn" | |
}, | |
"bern-buildings": { | |
"type": "geojson", | |
"data": "https://klokan.github.io/sbb-extra-data/bern-buildings.geojson" | |
}, | |
"bern-underground": { | |
"type": "geojson", | |
"data": "https://klokan.github.io/sbb-extra-data/bern-underground.geojson" | |
}, | |
"bern-baldachin": { | |
"type": "geojson", | |
"data": "https://klokan.github.io/sbb-extra-data/bern-baldachin.geojson" | |
} | |
}, | |
"sprite": "https://preview.tilehosting.com/klokan/sbb-gl-style/sprite", | |
"glyphs": "https://free.tilehosting.com/fonts/{fontstack}/{range}.pbf?key=NZLDFYl5VaViagsQRgLE", | |
"layers": [ | |
{ | |
"id": "background", | |
"type": "background", | |
"paint": { | |
"background-color": "rgba(249, 249, 249, 1)" | |
} | |
}, | |
{ | |
"id": "hillshading", | |
"type": "raster", | |
"source": "hillshading", | |
"minzoom": 5, | |
"maxzoom": 12, | |
"paint": { | |
"raster-opacity": { | |
"stops": [ | |
[ | |
6, | |
0.01 | |
], | |
[ | |
7, | |
0.05 | |
], | |
[ | |
10, | |
0.15 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "landcover-glacier", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landcover", | |
"minzoom": 0, | |
"filter": [ | |
"==", | |
"subclass", | |
"glacier" | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "#fff", | |
"fill-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
0 | |
], | |
[ | |
10, | |
0.3 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "landuse-residential", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"minzoom": 13, | |
"filter": [ | |
"==", | |
"class", | |
"residential" | |
], | |
"layout": { | |
"visibility": "none" | |
}, | |
"paint": { | |
"fill-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
"hsla(30, 19%, 90%, 0)" | |
], | |
[ | |
12, | |
"hsla(30, 19%, 90%, 0.4)" | |
], | |
[ | |
16, | |
"hsla(30, 19%, 90%, 0.2)" | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "landuse-commercial", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
[ | |
"==", | |
"class", | |
"commercial" | |
] | |
], | |
"layout": { | |
"visibility": "none" | |
}, | |
"paint": { | |
"fill-color": "rgba(214, 214, 222, 1)" | |
} | |
}, | |
{ | |
"id": "landuse-industrial", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
[ | |
"==", | |
"class", | |
"industrial" | |
] | |
], | |
"layout": { | |
"visibility": "none" | |
}, | |
"paint": { | |
"fill-color": "rgba(222, 221, 218, 1)" | |
} | |
}, | |
{ | |
"id": "park", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "park", | |
"minzoom": 9, | |
"filter": [ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
"layout": { | |
"visibility": "none" | |
}, | |
"paint": { | |
"fill-color": "rgba(229, 240, 224, 1)", | |
"fill-opacity": { | |
"base": 1.8, | |
"stops": [ | |
[ | |
9, | |
0.5 | |
], | |
[ | |
12, | |
0.2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "park-outline", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "park", | |
"minzoom": 0, | |
"filter": [ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
"layout": { | |
"visibility": "none" | |
}, | |
"paint": { | |
"line-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
6, | |
"hsla(96, 40%, 49%, 0.36)" | |
], | |
[ | |
8, | |
"hsla(96, 40%, 49%, 0.66)" | |
] | |
] | |
}, | |
"line-dasharray": [ | |
0, | |
3 | |
] | |
} | |
}, | |
{ | |
"id": "landuse-pitch", | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"minzoom": 13, | |
"filter": [ | |
"in", | |
"class", | |
"pitch", | |
"playground" | |
], | |
"paint": { | |
"fill-color": "hsl(100, 50%, 86%)" | |
} | |
}, | |
{ | |
"id": "landuse-cemetery", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"minzoom": 13, | |
"filter": [ | |
"==", | |
"class", | |
"cemetery" | |
], | |
"paint": { | |
"fill-color": "hsl(100, 50%, 86%)" | |
} | |
}, | |
{ | |
"id": "landuse-hospital", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"minzoom": 13, | |
"maxzoom": 16, | |
"filter": [ | |
"==", | |
"class", | |
"hospital" | |
], | |
"paint": { | |
"fill-color": "#ececec" | |
} | |
}, | |
{ | |
"id": "landuse-school", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"minzoom": 13, | |
"filter": [ | |
"==", | |
"class", | |
"school" | |
], | |
"layout": { | |
"visibility": "none" | |
}, | |
"paint": { | |
"fill-color": "rgba(214, 211, 211, 1)" | |
} | |
}, | |
{ | |
"id": "landuse-railway", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"minzoom": 13, | |
"filter": [ | |
"==", | |
"class", | |
"railway" | |
], | |
"paint": { | |
"fill-color": "rgba(255, 254, 254, 1)" | |
} | |
}, | |
{ | |
"id": "landcover-wood", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landcover", | |
"minzoom": 11, | |
"filter": [ | |
"==", | |
"class", | |
"wood" | |
], | |
"paint": { | |
"fill-color": "rgba(229, 240, 224, 1)", | |
"fill-opacity": 0.5, | |
"fill-outline-color": "hsla(0, 0%, 0%, 0.03)", | |
"fill-antialias": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
false | |
], | |
[ | |
9, | |
true | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "landcover-grass", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landcover", | |
"minzoom": 9, | |
"filter": [ | |
"==", | |
"class", | |
"grass" | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "hsl(100, 50%, 86%)", | |
"fill-opacity": 1 | |
} | |
}, | |
{ | |
"id": "landcover-grass-park", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849388993.3071" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "park", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"public_park" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "rgba(179, 202, 158, 1)", | |
"fill-opacity": 0.8 | |
} | |
}, | |
{ | |
"id": "waterway-other", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "waterway", | |
"filter": [ | |
"!in", | |
"class", | |
"canal", | |
"river", | |
"stream" | |
], | |
"layout": { | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "#a0c8f0", | |
"line-width": { | |
"base": 1.3, | |
"stops": [ | |
[ | |
13, | |
0.5 | |
], | |
[ | |
20, | |
2 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "waterway-stream-canal", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "waterway", | |
"filter": [ | |
"in", | |
"class", | |
"canal", | |
"stream" | |
], | |
"layout": { | |
"line-cap": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(200, 53%, 74%)", | |
"line-width": { | |
"base": 1.3, | |
"stops": [ | |
[ | |
13, | |
1 | |
], | |
[ | |
20, | |
6 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "waterway-river", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "waterway", | |
"filter": [ | |
"==", | |
"class", | |
"river" | |
], | |
"layout": { | |
"line-cap": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(154, 200, 224, 1)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
4, | |
0 | |
], | |
[ | |
10, | |
0.8 | |
], | |
[ | |
20, | |
6 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "water", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "water", | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "rgba(154, 200, 224, 1)" | |
} | |
}, | |
{ | |
"id": "landcover-ice-shelf", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849382550.77" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "landcover", | |
"filter": [ | |
"==", | |
"subclass", | |
"ice_shelf" | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "#fff", | |
"fill-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
0.9 | |
], | |
[ | |
10, | |
0.3 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "building", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849364238.8171" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "building", | |
"minzoom": 15, | |
"layout": { | |
"visibility": "none" | |
}, | |
"paint": { | |
"fill-color": { | |
"base": 1, | |
"stops": [ | |
[ | |
15.5, | |
"rgba(247, 245, 245, 1)" | |
], | |
[ | |
16, | |
"hsl(0, 0%, 92%)" | |
] | |
] | |
}, | |
"fill-antialias": true | |
} | |
}, | |
{ | |
"id": "building-top", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849364238.8171" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "building", | |
"minzoom": 15, | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-translate": { | |
"base": 1, | |
"stops": [ | |
[ | |
14, | |
[ | |
0, | |
0 | |
] | |
], | |
[ | |
16, | |
[ | |
-2, | |
-2 | |
] | |
] | |
] | |
}, | |
"fill-outline-color": "rgba(255, 255, 254, 1)", | |
"fill-color": { | |
"stops": [ | |
[ | |
6, | |
"hsl(0, 0%, 92%)" | |
], | |
[ | |
10, | |
"hsl(0, 0%, 92%)" | |
] | |
] | |
}, | |
"fill-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0 | |
], | |
[ | |
15, | |
0.3 | |
], | |
[ | |
16, | |
0.8 | |
], | |
[ | |
17, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "ferry", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"ferry" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#72A6C0", | |
"line-width": 1, | |
"line-dasharray": [ | |
4, | |
2 | |
] | |
} | |
}, | |
{ | |
"id": "tunnel-service-track-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"service", | |
"track" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#cfcdca", | |
"line-dasharray": [ | |
0.5, | |
0.25 | |
], | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1 | |
], | |
[ | |
16, | |
4 | |
], | |
[ | |
20, | |
11 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-minor-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"minor" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#cfcdca", | |
"line-opacity": { | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
12.5, | |
1 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
13, | |
1 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-secondary-tertiary-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "rgba(150, 135, 119, 0.37)", | |
"line-opacity": 1, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
8, | |
1.5 | |
], | |
[ | |
20, | |
17 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-trunk-primary-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"primary", | |
"trunk" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "rgba(195, 189, 182, 1)", | |
"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": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(185, 179, 174, 1)", | |
"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", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 16, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"path" | |
] | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(132, 128, 125, 0.4)", | |
"line-dasharray": [ | |
1.5, | |
0.5 | |
], | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1.2 | |
], | |
[ | |
20, | |
4 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-service-track", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"service", | |
"track" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "rgba(245, 242, 240, 1)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15.5, | |
0 | |
], | |
[ | |
16, | |
2 | |
], | |
[ | |
20, | |
7.5 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "tunnel-minor", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"minor_road" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-opacity": 1, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
13.5, | |
0 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-secondary-tertiary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "rgba(234, 230, 225, 0.37)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
10 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "tunnel-trunk-primary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"primary", | |
"trunk" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "rgba(218, 213, 207, 1)", | |
"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": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(228, 225, 223, 1)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "aeroway-taxiway-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "aeroway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"taxiway" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 85%)", | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
10, | |
2 | |
], | |
[ | |
17, | |
12 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "aeroway-runway-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "aeroway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"runway" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(253, 253, 251, 1)", | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
10, | |
5 | |
], | |
[ | |
17, | |
20 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "aeroway-area", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "aeroway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
[ | |
"in", | |
"class", | |
"runway", | |
"taxiway" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0 | |
], | |
[ | |
14, | |
1 | |
] | |
] | |
}, | |
"fill-color": "hsl(0, 0%, 85%)" | |
} | |
}, | |
{ | |
"id": "aeroway-taxiway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "aeroway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"taxiway" | |
], | |
[ | |
"==", | |
"$type", | |
"LineString" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 85%)", | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
10, | |
1 | |
], | |
[ | |
17, | |
10 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "aeroway-runway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "aeroway", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"runway" | |
], | |
[ | |
"==", | |
"$type", | |
"LineString" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 85%)", | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
10, | |
4 | |
], | |
[ | |
17, | |
50 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-area", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
[ | |
"!=", | |
"class", | |
"path" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "hsla(0, 0%, 89%, 0.56)", | |
"fill-outline-color": "#cfcdca", | |
"fill-opacity": 0.9, | |
"fill-antialias": false | |
} | |
}, | |
{ | |
"id": "highway-motorway-link-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 12, | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-opacity": 1, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
13, | |
3 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-link-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"primary_link", | |
"secondary_link", | |
"tertiary_link", | |
"trunk_link" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-opacity": 1, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
13, | |
3 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-minor-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"!=", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"minor", | |
"service", | |
"track" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "none" | |
}, | |
"paint": { | |
"line-color": "rgba(212, 206, 203, 1)", | |
"line-opacity": { | |
"stops": [ | |
[ | |
12, | |
0 | |
], | |
[ | |
12.5, | |
1 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
13, | |
1 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-secondary-tertiary-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(234, 230, 225, 1)", | |
"line-opacity": 1, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
8, | |
0.5 | |
], | |
[ | |
20, | |
17 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-primary-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"primary" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(234, 230, 225, 1)", | |
"line-opacity": { | |
"stops": [ | |
[ | |
7, | |
0 | |
], | |
[ | |
8, | |
1 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
7, | |
0 | |
], | |
[ | |
8, | |
0.6 | |
], | |
[ | |
9, | |
1.5 | |
], | |
[ | |
20, | |
22 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-trunk-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 10, | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"trunk" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(30, 19%, 90%)", | |
"line-opacity": { | |
"stops": [ | |
[ | |
5, | |
0 | |
], | |
[ | |
6, | |
1 | |
] | |
] | |
}, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
5, | |
0 | |
], | |
[ | |
6, | |
0 | |
], | |
[ | |
7, | |
0 | |
], | |
[ | |
13, | |
2 | |
], | |
[ | |
20, | |
22 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-motorway-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 4, | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(160, 157, 157, 1)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
4, | |
0 | |
], | |
[ | |
5, | |
0 | |
], | |
[ | |
6, | |
0 | |
], | |
[ | |
7, | |
0 | |
], | |
[ | |
20, | |
22 | |
] | |
] | |
}, | |
"line-opacity": { | |
"stops": [ | |
[ | |
4, | |
0 | |
], | |
[ | |
5, | |
0 | |
], | |
[ | |
6, | |
0 | |
], | |
[ | |
15, | |
0 | |
], | |
[ | |
16, | |
0.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-path", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 17.75, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"path" | |
] | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(234, 233, 232, 1)", | |
"line-dasharray": [ | |
1.5, | |
0.75 | |
], | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1.2 | |
], | |
[ | |
20, | |
4 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "highway-motorway-link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 12, | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "#fc8", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
13, | |
1.5 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"primary_link", | |
"secondary_link", | |
"tertiary_link", | |
"trunk_link" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "none" | |
}, | |
"paint": { | |
"line-color": "#fea", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
13, | |
1.5 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-minor", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"!=", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"minor", | |
"service", | |
"track" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(30, 19%, 90%)", | |
"line-opacity": 1, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
13.5, | |
0 | |
], | |
[ | |
14, | |
1.5 | |
], | |
[ | |
15, | |
3 | |
], | |
[ | |
17, | |
8 | |
], | |
[ | |
20, | |
20 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-secondary-tertiary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(234, 230, 225, 0.37)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
8, | |
0.3 | |
], | |
[ | |
20, | |
13 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-primary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"primary" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(234, 230, 225, 1)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
8.5, | |
0 | |
], | |
[ | |
9, | |
0.5 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-trunk", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"trunk" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(30, 19%, 90%)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
4, | |
0 | |
], | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "highway-motorway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 11, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(30, 19%, 90%)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
4, | |
0 | |
], | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0 | |
], | |
[ | |
8, | |
2 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-motorway-link-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-opacity": 1, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
13, | |
3 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-link-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"primary_link", | |
"secondary_link", | |
"tertiary_link", | |
"trunk_link" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#e9ac77", | |
"line-opacity": 1, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
13, | |
3 | |
], | |
[ | |
14, | |
4 | |
], | |
[ | |
20, | |
15 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-secondary-tertiary-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(152, 146, 138, 0.37)", | |
"line-opacity": 1, | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
8, | |
0 | |
], | |
[ | |
15, | |
6 | |
], | |
[ | |
20, | |
28 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-trunk-primary-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"primary", | |
"trunk" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(199, 192, 190, 1)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
5, | |
0.4 | |
], | |
[ | |
6, | |
0.6 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
26 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-motorway-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(202, 194, 194, 1)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
5, | |
0 | |
], | |
[ | |
6, | |
0 | |
], | |
[ | |
7, | |
0 | |
], | |
[ | |
15, | |
4 | |
], | |
[ | |
16, | |
10 | |
], | |
[ | |
20, | |
22 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-path-casing", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"path" | |
] | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(226, 221, 219, 1)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1.2 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "bridge-path", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"path" | |
] | |
] | |
], | |
"layout": { | |
"visibility": "none" | |
}, | |
"paint": { | |
"line-color": "rgba(191, 184, 176, 1)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
15, | |
1.2 | |
], | |
[ | |
20, | |
4 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
1.5, | |
75 | |
] | |
} | |
}, | |
{ | |
"id": "bridge-motorway-link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"motorway_link" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "rgba(234, 230, 225, 0.37)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
13, | |
1.5 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-link", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"primary_link", | |
"secondary_link", | |
"tertiary_link", | |
"trunk_link" | |
] | |
], | |
"layout": { | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fea", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12.5, | |
0 | |
], | |
[ | |
13, | |
1.5 | |
], | |
[ | |
14, | |
2.5 | |
], | |
[ | |
20, | |
11.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-secondary-tertiary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(30, 19%, 90%)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
0.5 | |
], | |
[ | |
20, | |
20 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-trunk-primary", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"primary", | |
"trunk" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(234, 230, 225, 1)", | |
"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": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 7, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(30, 19%, 90%)", | |
"line-width": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
6.5, | |
0 | |
], | |
[ | |
7, | |
8 | |
], | |
[ | |
15, | |
7 | |
], | |
[ | |
20, | |
18 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel-transit", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 9, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"transit" | |
], | |
[ | |
"!=", | |
"subclass", | |
"light_rail" | |
] | |
], | |
"paint": { | |
"line-color": "hsl(0, 0%, 50%)", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
14, | |
1 | |
], | |
[ | |
15, | |
3 | |
], | |
[ | |
20, | |
4 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
2, | |
2 | |
] | |
} | |
}, | |
{ | |
"id": "tunnel-railway-service", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 9, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"any", | |
[ | |
"==", | |
"class", | |
"rail" | |
], | |
[ | |
"==", | |
"subclass", | |
"light_rail" | |
] | |
], | |
[ | |
"in", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"has", | |
"service" | |
] | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 55%)", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
15, | |
1.25 | |
], | |
[ | |
19, | |
2.5 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
5, | |
3 | |
], | |
"line-opacity": 0.8 | |
} | |
}, | |
{ | |
"id": "tunnel-railway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849354174.1904" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 9, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"class", | |
"rail" | |
], | |
[ | |
"==", | |
"subclass", | |
"light_rail" | |
] | |
], | |
[ | |
"!has", | |
"service" | |
] | |
], | |
"paint": { | |
"line-color": "hsl(0, 0%, 50%)", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
7, | |
3 | |
], | |
[ | |
14, | |
3 | |
], | |
[ | |
15, | |
4 | |
], | |
[ | |
17, | |
8 | |
], | |
[ | |
20, | |
6 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
2, | |
1 | |
], | |
"line-opacity": 0.8 | |
} | |
}, | |
{ | |
"id": "railway-transit", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"==", | |
"class", | |
"transit" | |
], | |
[ | |
"!=", | |
"subclass", | |
"light_rail" | |
], | |
[ | |
"!in", | |
"brunnel", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(187, 178, 178, 1)", | |
"line-width": 1.5 | |
} | |
}, | |
{ | |
"id": "railway-service", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"any", | |
[ | |
"==", | |
"class", | |
"rail" | |
], | |
[ | |
"==", | |
"subclass", | |
"light_rail" | |
] | |
], | |
[ | |
"has", | |
"service" | |
], | |
[ | |
"!in", | |
"brunnel", | |
"tunnel" | |
] | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 55%)", | |
"line-opacity": 1, | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
15, | |
1.25 | |
], | |
[ | |
19, | |
2.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"minzoom": 7, | |
"maxzoom": 22, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"all", | |
[ | |
"!has", | |
"service" | |
], | |
[ | |
"!in", | |
"brunnel", | |
"bridge", | |
"tunnel" | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"class", | |
"rail" | |
], | |
[ | |
"==", | |
"subclass", | |
"light_rail" | |
] | |
] | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 50%)", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
7, | |
3 | |
], | |
[ | |
14, | |
3 | |
], | |
[ | |
15, | |
4 | |
], | |
[ | |
17, | |
8 | |
], | |
[ | |
20, | |
6 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge-railway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849334699.1902" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"any", | |
[ | |
"==", | |
"class", | |
"rail" | |
], | |
[ | |
"==", | |
"subclass", | |
"light_rail" | |
] | |
], | |
[ | |
"!has", | |
"service" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 55%)", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
7, | |
3 | |
], | |
[ | |
14, | |
3 | |
], | |
[ | |
15, | |
4 | |
], | |
[ | |
17, | |
8 | |
], | |
[ | |
20, | |
6 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "boundary-land-level-4", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "boundary", | |
"minzoom": 9, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"admin_level", | |
4, | |
6, | |
8 | |
], | |
[ | |
"!=", | |
"maritime", | |
1 | |
] | |
], | |
"layout": { | |
"line-join": "round", | |
"visibility": "none" | |
}, | |
"paint": { | |
"line-color": "#bfbaba", | |
"line-dasharray": [ | |
8, | |
1, | |
1, | |
1 | |
], | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
4, | |
0 | |
], | |
[ | |
5, | |
0 | |
], | |
[ | |
12, | |
5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "boundary-land-level-2", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "boundary", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"admin_level", | |
2 | |
], | |
[ | |
"!=", | |
"maritime", | |
1 | |
], | |
[ | |
"!=", | |
"disputed", | |
1 | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(191, 186, 186, 1)", | |
"line-width": { | |
"base": 1.99, | |
"stops": [ | |
[ | |
0, | |
1.59 | |
], | |
[ | |
4, | |
1.4 | |
], | |
[ | |
5, | |
2 | |
], | |
[ | |
12, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "boundary-land-disputed", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "boundary", | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"maritime", | |
1 | |
], | |
[ | |
"==", | |
"disputed", | |
1 | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(248, 7%, 70%)", | |
"line-dasharray": [ | |
1, | |
3 | |
], | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
0.6 | |
], | |
[ | |
4, | |
1.4 | |
], | |
[ | |
5, | |
2 | |
], | |
[ | |
12, | |
8 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "boundary-water", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "boundary", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"admin_level", | |
2, | |
4 | |
], | |
[ | |
"==", | |
"maritime", | |
1 | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "none" | |
}, | |
"paint": { | |
"line-color": "rgba(154, 189, 214, 1)", | |
"line-width": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
0 | |
], | |
[ | |
4, | |
0 | |
], | |
[ | |
5, | |
0 | |
], | |
[ | |
12, | |
8 | |
] | |
] | |
}, | |
"line-opacity": { | |
"stops": [ | |
[ | |
6, | |
0.6 | |
], | |
[ | |
10, | |
0 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "waterway-name", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "waterway", | |
"minzoom": 13, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"has", | |
"name" | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Italic", | |
"Klokantech Noto Sans Italic", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-size": 14, | |
"text-field": "{name}", | |
"text-max-width": 5, | |
"text-rotation-alignment": "map", | |
"symbol-placement": "line", | |
"text-letter-spacing": 0.2, | |
"symbol-spacing": 350 | |
}, | |
"paint": { | |
"text-color": "hsl(200, 55%, 31%)", | |
"text-halo-width": 1.5, | |
"text-halo-color": "rgba(255,255,255,0)" | |
} | |
}, | |
{ | |
"id": "water-name-lakeline", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "water_name", | |
"minzoom": 9, | |
"filter": [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Italic", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-size": 14, | |
"text-field": "{name}", | |
"text-max-width": 5, | |
"text-rotation-alignment": "map", | |
"symbol-placement": "line", | |
"symbol-spacing": 350, | |
"text-letter-spacing": 0.2 | |
}, | |
"paint": { | |
"text-color": "rgba(48, 105, 134, 1)", | |
"text-halo-width": 0, | |
"text-halo-color": "rgba(255,255,255,0.7)" | |
} | |
}, | |
{ | |
"id": "water-name-ocean", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "water_name", | |
"minzoom": 1, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"class", | |
"ocean" | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Regular", | |
"Klokantech Noto Sans Italic", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-size": { | |
"stops": [ | |
[ | |
2, | |
18 | |
], | |
[ | |
6, | |
18 | |
], | |
[ | |
10, | |
30 | |
] | |
] | |
}, | |
"text-field": "{name}", | |
"text-max-width": 5, | |
"text-rotation-alignment": "map", | |
"symbol-placement": "point", | |
"symbol-spacing": 350, | |
"text-letter-spacing": 0.5, | |
"text-line-height": 1.5 | |
}, | |
"paint": { | |
"text-color": "#2b6481", | |
"text-halo-width": 0, | |
"text-halo-color": "rgba(255,255,255,0.7)" | |
} | |
}, | |
{ | |
"id": "water-name-other", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "water_name", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"!in", | |
"class", | |
"ocean" | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Regular", | |
"Klokantech Noto Sans Italic", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-size": { | |
"stops": [ | |
[ | |
0, | |
10 | |
], | |
[ | |
6, | |
14 | |
] | |
] | |
}, | |
"text-field": "{name}", | |
"text-max-width": 5, | |
"text-rotation-alignment": "map", | |
"symbol-placement": "point", | |
"symbol-spacing": 350, | |
"text-letter-spacing": 0.2, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-color": "#336b88", | |
"text-halo-width": 0, | |
"text-halo-color": "rgba(255,255,255,0.7)" | |
} | |
}, | |
{ | |
"id": "poi-level-3", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"minzoom": 17, | |
"maxzoom": 22, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
">=", | |
"rank", | |
25 | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-anchor": "top", | |
"icon-image": "{class}_11", | |
"text-field": "{name}", | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-size": { | |
"stops": [ | |
[ | |
6, | |
10 | |
], | |
[ | |
17, | |
12 | |
] | |
] | |
}, | |
"text-max-width": 9, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "rgba(165, 159, 155, 1)", | |
"text-halo-width": 1, | |
"text-halo-color": "hsl(0, 0%, 100%)", | |
"icon-opacity": 0.5 | |
} | |
}, | |
{ | |
"id": "poi-level-2", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"all", | |
[ | |
"<=", | |
"rank", | |
24 | |
], | |
[ | |
">=", | |
"rank", | |
15 | |
] | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-anchor": "top", | |
"icon-image": "{class}_11", | |
"text-field": "{name}", | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-size": 11, | |
"text-max-width": 9, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "rgba(130, 107, 99, 1)", | |
"text-halo-width": 1, | |
"text-halo-color": "hsl(0, 0%, 100%)", | |
"icon-opacity": 0.7 | |
} | |
}, | |
{ | |
"id": "poi-level-1-park", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"minzoom": 15, | |
"maxzoom": 22, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"park", | |
"cemetery" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Open Sans Regular", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-anchor": "top", | |
"icon-image": "", | |
"text-field": "{name}", | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-size": 12, | |
"text-max-width": 9, | |
"text-letter-spacing": 0.15, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "hsl(100, 100%, 20%)", | |
"text-halo-width": 0.5, | |
"text-halo-color": "hsl(0, 0%, 100%)", | |
"icon-opacity": 0.8 | |
} | |
}, | |
{ | |
"id": "poi-level-1", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"minzoom": 14, | |
"filter": [ | |
"all", | |
[ | |
"<=", | |
"rank", | |
14 | |
], | |
[ | |
"has", | |
"name" | |
], | |
[ | |
"!in", | |
"class", | |
"park", | |
"cemetery" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-anchor": "top", | |
"icon-image": "{class}_11", | |
"text-field": "{name}", | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-size": { | |
"stops": [ | |
[ | |
6, | |
12 | |
], | |
[ | |
18, | |
13 | |
] | |
] | |
}, | |
"text-max-width": 9, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "rgba(109, 89, 73, 1)", | |
"text-halo-width": 1, | |
"text-halo-color": "hsl(0, 0%, 100%)", | |
"icon-opacity": 0.7, | |
"icon-color": "rgba(109, 89, 73, 1)", | |
"icon-halo-color": "hsl(0, 0%, 100%)" | |
} | |
}, | |
{ | |
"id": "highway-name-path", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "transportation_name", | |
"minzoom": 15.5, | |
"filter": [ | |
"==", | |
"class", | |
"path" | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
12 | |
], | |
[ | |
14, | |
12 | |
] | |
] | |
}, | |
"text-font": [ | |
"Open Sans Regular", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-field": "{name}", | |
"symbol-placement": "line", | |
"text-rotation-alignment": "map" | |
}, | |
"paint": { | |
"text-halo-color": "#f8f4f0", | |
"text-color": "rgba(117, 113, 107, 1)", | |
"text-halo-width": 0.5 | |
} | |
}, | |
{ | |
"id": "highway-name-minor", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "transportation_name", | |
"minzoom": 15, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"in", | |
"class", | |
"minor", | |
"service", | |
"track" | |
] | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
12 | |
], | |
[ | |
14, | |
12 | |
] | |
] | |
}, | |
"text-font": [ | |
"Open Sans Regular", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-field": "{name}", | |
"symbol-placement": "line", | |
"text-rotation-alignment": "map" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "rgba(95, 93, 93, 1)", | |
"text-halo-width": 1 | |
} | |
}, | |
{ | |
"id": "highway-name-major", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "transportation_name", | |
"minzoom": 12.2, | |
"filter": [ | |
"in", | |
"class", | |
"primary", | |
"secondary", | |
"tertiary", | |
"trunk" | |
], | |
"layout": { | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
12 | |
], | |
[ | |
14, | |
13 | |
] | |
] | |
}, | |
"text-font": [ | |
"Open Sans Regular", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-field": "{name}", | |
"symbol-placement": "line", | |
"text-rotation-alignment": "map" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "rgba(95, 93, 93, 1)", | |
"text-halo-width": 1 | |
} | |
}, | |
{ | |
"id": "highway-shield", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "transportation_name", | |
"minzoom": 8, | |
"filter": [ | |
"all", | |
[ | |
"<=", | |
"ref_length", | |
6 | |
], | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"!in", | |
"network", | |
"us-interstate", | |
"us-highway", | |
"us-state" | |
] | |
], | |
"layout": { | |
"text-size": 10, | |
"icon-image": "road_{ref_length}", | |
"icon-rotation-alignment": "viewport", | |
"symbol-spacing": 200, | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"symbol-placement": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"point" | |
], | |
[ | |
11, | |
"line" | |
] | |
] | |
}, | |
"text-rotation-alignment": "viewport", | |
"icon-size": 1, | |
"text-field": "{ref}", | |
"visibility": "none" | |
}, | |
"paint": {} | |
}, | |
{ | |
"id": "highway-shield-us-interstate", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "transportation_name", | |
"minzoom": 7, | |
"filter": [ | |
"all", | |
[ | |
"<=", | |
"ref_length", | |
6 | |
], | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"in", | |
"network", | |
"us-interstate" | |
] | |
], | |
"layout": { | |
"text-size": 10, | |
"icon-image": "{network}_{ref_length}", | |
"icon-rotation-alignment": "viewport", | |
"symbol-spacing": 200, | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"symbol-placement": { | |
"base": 1, | |
"stops": [ | |
[ | |
7, | |
"point" | |
], | |
[ | |
7, | |
"line" | |
], | |
[ | |
8, | |
"line" | |
] | |
] | |
}, | |
"text-rotation-alignment": "viewport", | |
"icon-size": 1, | |
"text-field": "{ref}", | |
"visibility": "none" | |
}, | |
"paint": { | |
"text-color": "rgba(0, 0, 0, 1)" | |
} | |
}, | |
{ | |
"id": "highway-shield-us-other", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "transportation_name", | |
"minzoom": 9, | |
"filter": [ | |
"all", | |
[ | |
"<=", | |
"ref_length", | |
6 | |
], | |
[ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"in", | |
"network", | |
"us-highway", | |
"us-state" | |
] | |
], | |
"layout": { | |
"text-size": 10, | |
"icon-image": "{network}_{ref_length}", | |
"icon-rotation-alignment": "viewport", | |
"symbol-spacing": 200, | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"symbol-placement": { | |
"base": 1, | |
"stops": [ | |
[ | |
10, | |
"point" | |
], | |
[ | |
11, | |
"line" | |
] | |
] | |
}, | |
"text-rotation-alignment": "viewport", | |
"icon-size": 1, | |
"text-field": "{ref}", | |
"visibility": "none" | |
}, | |
"paint": { | |
"text-color": "rgba(0, 0, 0, 1)" | |
} | |
}, | |
{ | |
"id": "place-other", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"filter": [ | |
"all", | |
[ | |
"!in", | |
"class", | |
"city", | |
"town", | |
"village", | |
"country" | |
] | |
], | |
"layout": { | |
"text-letter-spacing": 0.1, | |
"text-size": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
12, | |
10 | |
], | |
[ | |
15, | |
14 | |
] | |
] | |
}, | |
"text-font": [ | |
"Open Sans Regular", | |
"Klokantech Noto Sans Bold", | |
"Klokantech Noto Sans CJK Bold" | |
], | |
"text-field": "{name_en}", | |
"text-transform": "uppercase", | |
"text-max-width": 9, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-color": "#777", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-village", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"minzoom": 10, | |
"filter": [ | |
"==", | |
"class", | |
"village" | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Regular", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-size": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
10, | |
12 | |
], | |
[ | |
15, | |
22 | |
] | |
] | |
}, | |
"text-field": "{name_en}", | |
"text-max-width": 8, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-color": "#333", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-town", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"minzoom": 7, | |
"filter": [ | |
"==", | |
"class", | |
"town" | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Regular", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-size": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
10, | |
14 | |
], | |
[ | |
15, | |
24 | |
] | |
] | |
}, | |
"text-field": "{name_en}", | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "rgba(33, 33, 33, 1)", | |
"text-halo-width": 1.2, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-city", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"minzoom": 7, | |
"filter": [ | |
"all", | |
[ | |
"!=", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-size": { | |
"base": 1, | |
"stops": [ | |
[ | |
4, | |
0 | |
], | |
[ | |
7, | |
12 | |
], | |
[ | |
11, | |
20 | |
] | |
] | |
}, | |
"text-field": "{name_en}", | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "rgba(33, 33, 33, 1)", | |
"text-halo-width": 1.25, | |
"text-halo-color": "rgba(255,255,255,0.8)", | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "place-city-capital", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"minzoom": 5, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"capital", | |
2 | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-size": { | |
"base": 1.2, | |
"stops": [ | |
[ | |
4, | |
11 | |
], | |
[ | |
6, | |
18 | |
], | |
[ | |
7, | |
18 | |
], | |
[ | |
11, | |
18 | |
], | |
[ | |
12, | |
20 | |
] | |
] | |
}, | |
"text-field": "{name_en}", | |
"text-max-width": 8, | |
"icon-image": "circle_11", | |
"text-offset": [ | |
0.4, | |
0 | |
], | |
"icon-size": { | |
"stops": [ | |
[ | |
6, | |
0.8 | |
], | |
[ | |
10, | |
0.8 | |
] | |
] | |
}, | |
"text-anchor": "left" | |
}, | |
"paint": { | |
"text-color": "rgba(33, 33, 33, 1)", | |
"text-halo-width": 1.25, | |
"text-halo-color": "rgba(255,255,255,0.8)", | |
"text-halo-blur": 0.5 | |
} | |
}, | |
{ | |
"id": "place-country-3", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"country" | |
], | |
[ | |
">=", | |
"rank", | |
3 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Bold", | |
"Klokantech Noto Sans CJK Bold" | |
], | |
"text-field": "{name_en}", | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
10 | |
], | |
[ | |
7, | |
14 | |
] | |
] | |
}, | |
"text-transform": "uppercase", | |
"text-max-width": 6.25, | |
"text-letter-spacing": 0.2 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "rgba(33, 33, 33, 1)", | |
"text-halo-width": 1.25, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-country-2", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"minzoom": 0, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"country" | |
], | |
[ | |
"==", | |
"rank", | |
2 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Bold", | |
"Klokantech Noto Sans CJK Bold" | |
], | |
"text-field": "{name_en}", | |
"text-size": { | |
"stops": [ | |
[ | |
2, | |
11 | |
], | |
[ | |
5, | |
17 | |
] | |
] | |
}, | |
"text-transform": "uppercase", | |
"text-max-width": 6.25, | |
"text-letter-spacing": 0.2, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#1f1f1f", | |
"text-halo-width": 1.25, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-country-1", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"class", | |
"country" | |
], | |
[ | |
"==", | |
"rank", | |
1 | |
] | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Bold", | |
"Klokantech Noto Sans CJK Bold" | |
], | |
"text-field": "{name_en}", | |
"text-size": { | |
"stops": [ | |
[ | |
1, | |
11 | |
], | |
[ | |
4, | |
17 | |
] | |
] | |
}, | |
"text-transform": "uppercase", | |
"text-max-width": 6.25, | |
"text-letter-spacing": 0.2, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#1f1f1f", | |
"text-halo-width": 1.25, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "place-continent", | |
"type": "symbol", | |
"metadata": { | |
"mapbox:group": "1444849242106.713" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"maxzoom": 1, | |
"filter": [ | |
"==", | |
"class", | |
"continent" | |
], | |
"layout": { | |
"text-font": [ | |
"Open Sans Bold", | |
"Klokantech Noto Sans Bold", | |
"Klokantech Noto Sans CJK Bold" | |
], | |
"text-field": "{name_en}", | |
"text-size": 14, | |
"text-max-width": 6.25, | |
"text-transform": "uppercase", | |
"text-padding": 2, | |
"text-letter-spacing": 0.1 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "#1d1e1e", | |
"text-halo-width": 1, | |
"text-halo-color": "rgba(255,255,255,0.8)" | |
} | |
}, | |
{ | |
"id": "poi-level-1-bus-station", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"minzoom": 12, | |
"maxzoom": 22, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"bus" | |
], | |
[ | |
"!in", | |
"name", | |
"rail" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-anchor": "top", | |
"icon-image": "bus_station_11", | |
"text-field": "{name}", | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-size": 12, | |
"text-max-width": 9, | |
"text-letter-spacing": 0.1, | |
"visibility": "visible", | |
"icon-size": 1 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "rgba(0, 0, 0, 1)", | |
"text-halo-width": 0.5, | |
"text-halo-color": "hsl(0, 0%, 100%)", | |
"icon-opacity": 1, | |
"icon-halo-color": "hsl(0, 0%, 100%)" | |
} | |
}, | |
{ | |
"id": "poi-level-1-ferry-stop", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"ferry_terminal" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-anchor": "top", | |
"icon-image": "bus_station_11", | |
"text-field": "{name}", | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-size": 12, | |
"text-max-width": 9, | |
"text-letter-spacing": 0.1, | |
"visibility": "visible", | |
"icon-size": 1 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "rgba(0, 0, 0, 1)", | |
"text-halo-width": 0.5, | |
"text-halo-color": "hsl(0, 0%, 100%)", | |
"icon-opacity": 1, | |
"icon-halo-color": "hsl(0, 0%, 100%)" | |
} | |
}, | |
{ | |
"id": "airport-label", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "aerodrome_label", | |
"minzoom": 12, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"international", | |
"public", | |
"regional" | |
], | |
[ | |
"has", | |
"iata" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-anchor": "top", | |
"icon-image": "airport_11", | |
"text-field": "{name}", | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-size": 12, | |
"text-max-width": 9, | |
"text-letter-spacing": 0.1, | |
"visibility": "visible", | |
"icon-size": 1 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "rgba(0, 0, 0, 1)", | |
"text-halo-width": 0.5, | |
"text-halo-color": "hsl(0, 0%, 100%)", | |
"icon-opacity": 0.9, | |
"icon-halo-color": "hsl(0, 0%, 100%)" | |
} | |
}, | |
{ | |
"id": "poi-level-1-rail-station", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"minzoom": 12, | |
"maxzoom": 22, | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"class", | |
"railway" | |
] | |
], | |
"layout": { | |
"text-padding": 2, | |
"text-font": [ | |
"Open Sans Semibold", | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-anchor": "top", | |
"icon-image": "railway_station_11", | |
"text-field": "{name}", | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-size": 13, | |
"text-max-width": 9, | |
"text-letter-spacing": 0.1, | |
"visibility": "visible", | |
"icon-size": 1 | |
}, | |
"paint": { | |
"text-halo-blur": 0.5, | |
"text-color": "rgba(0, 0, 0, 1)", | |
"text-halo-width": 0.5, | |
"text-halo-color": "hsl(0, 0%, 100%)", | |
"icon-opacity": 1, | |
"icon-halo-color": "hsl(0, 0%, 100%)" | |
} | |
}, | |
{ | |
"id": "bern-baldachin-3d", | |
"type": "fill-extrusion", | |
"source": "bern-baldachin", | |
"paint": { | |
"fill-extrusion-color": "rgba(210, 210, 210, 1)", | |
"fill-extrusion-height": 3, | |
"fill-extrusion-base": 2.5, | |
"fill-extrusion-opacity": 0.5, | |
"fill-extrusion-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "bern-underground", | |
"type": "fill", | |
"source": "bern-underground", | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-opacity": 0.3, | |
"fill-color": "#849fb9" | |
} | |
}, | |
{ | |
"id": "bern-roof", | |
"type": "fill-extrusion", | |
"source": "bern-buildings", | |
"maxzoom": 22, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"Name", | |
"roof" | |
] | |
], | |
"paint": { | |
"fill-extrusion-color": "rgba(216, 216, 216, 1)", | |
"fill-extrusion-height": 10, | |
"fill-extrusion-base": 7, | |
"fill-extrusion-opacity": 0.5, | |
"fill-extrusion-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "bern-bus", | |
"type": "fill-extrusion", | |
"source": "bern-buildings", | |
"maxzoom": 22, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"Name", | |
"bus" | |
] | |
], | |
"paint": { | |
"fill-extrusion-color": "#d19f8c", | |
"fill-extrusion-height": 13, | |
"fill-extrusion-base": 10, | |
"fill-extrusion-opacity": 0.5, | |
"fill-extrusion-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "bern-welle", | |
"type": "fill-extrusion", | |
"source": "bern-buildings", | |
"maxzoom": 22, | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"Name", | |
"welle" | |
] | |
], | |
"paint": { | |
"fill-extrusion-color": "#d19f8c", | |
"fill-extrusion-height": 6, | |
"fill-extrusion-base": 5.5, | |
"fill-extrusion-opacity": 0.5, | |
"fill-extrusion-translate-anchor": "map" | |
} | |
}, | |
{ | |
"id": "bern-hb", | |
"type": "fill-extrusion", | |
"source": "bern-buildings", | |
"filter": [ | |
"all", | |
[ | |
"==", | |
"Name", | |
"hb" | |
] | |
], | |
"paint": { | |
"fill-extrusion-color": "#d19f8c", | |
"fill-extrusion-height": 20, | |
"fill-extrusion-base": 0, | |
"fill-extrusion-opacity": 0.5, | |
"fill-extrusion-translate-anchor": "map" | |
} | |
} | |
], | |
"id": "ciw6czz2n00242kmg6hw20box" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment