Skip to content

Instantly share code, notes, and snippets.

@OttyLab
Last active November 14, 2023 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OttyLab/f4526ddf444b8f4add296ad337bcc601 to your computer and use it in GitHub Desktop.
Save OttyLab/f4526ddf444b8f4add296ad337bcc601 to your computer and use it in GitHub Desktop.

HERE styles

{
"version": 8,
"name": "blue",
"metadata": {
"mapbox:type": "default",
"mapbox:origin": "streets-v12",
"mapbox:sdk-support": {
"js": "3.0.0",
"android": "11.0.0",
"ios": "11.0.0"
},
"mapbox:autocomposite": true,
"mapbox:groups": {
"Transit, transit-labels": {
"name": "Transit, transit-labels",
"collapsed": true
},
"Administrative boundaries, admin": {
"name": "Administrative boundaries, admin",
"collapsed": true
},
"Land & water, built": {
"name": "Land & water, built",
"collapsed": true
},
"Transit, bridges": {
"name": "Transit, bridges",
"collapsed": true
},
"Buildings, building-labels": {
"name": "Buildings, building-labels",
"collapsed": true
},
"Transit, surface": {
"name": "Transit, surface",
"collapsed": true
},
"Land & water, land": {
"name": "Land & water, land",
"collapsed": true
},
"Road network, bridges": {
"name": "Road network, bridges",
"collapsed": true
},
"Road network, tunnels": {
"name": "Road network, tunnels",
"collapsed": true
},
"Road network, road-labels": {
"name": "Road network, road-labels",
"collapsed": true
},
"Buildings, built": {
"name": "Buildings, built",
"collapsed": true
},
"Natural features, natural-labels": {
"name": "Natural features, natural-labels",
"collapsed": true
},
"Road network, surface": {
"name": "Road network, surface",
"collapsed": true
},
"Walking, cycling, etc., barriers-bridges": {
"name": "Walking, cycling, etc., barriers-bridges",
"collapsed": true
},
"Place labels, place-labels": {
"name": "Place labels, place-labels",
"collapsed": true
},
"Point of interest labels, poi-labels": {
"name": "Point of interest labels, poi-labels",
"collapsed": true
},
"Walking, cycling, etc., tunnels": {
"name": "Walking, cycling, etc., tunnels",
"collapsed": true
},
"Walking, cycling, etc., walking-cycling-labels": {
"name": "Walking, cycling, etc., walking-cycling-labels",
"collapsed": true
},
"Walking, cycling, etc., surface": {
"name": "Walking, cycling, etc., surface",
"collapsed": true
},
"Transit, built": {
"name": "Transit, built",
"collapsed": true
},
"Land & water, water": {
"name": "Land & water, water",
"collapsed": false
},
"Transit, ferry-aerialway-labels": {
"name": "Transit, ferry-aerialway-labels",
"collapsed": true
}
}
},
"center": [
-123.67205718097136,
6.0166254905848575
],
"zoom": 2,
"bearing": 0,
"pitch": 0,
"fog": {
"range": [
2,
20
],
"color": "hsl(0, 0%, 100%)",
"high-color": "hsl(210, 100%, 80%)",
"space-color": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
5,
"hsl(210, 40%, 30%)",
7,
"hsl(210, 100%, 80%)"
],
"horizon-blend": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
5,
0.02,
7,
0.08
],
"star-intensity": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
5,
0.1,
7,
0
]
},
"sources": {
"composite": {
"url": "mapbox://mapbox.mapbox-streets-v8,mapbox.mapbox-terrain-v2,mapbox.mapbox-bathymetry-v2",
"type": "vector"
}
},
"sprite": "mapbox://sprites/mapbox/streets-v12",
"glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
"projection": {
"name": "globe"
},
"layers": [
{
"id": "land",
"type": "background",
"layout": {},
"paint": {
"background-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
9,
"hsl(20, 20%, 95%)",
11,
"hsl(20, 18%, 91%)"
]
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
}
},
{
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
},
"maxzoom": 12,
"filter": [
"match",
[
"get",
"class"
],
[
"scrub",
"grass"
],
[
"step",
[
"zoom"
],
true,
8,
false
],
true
],
"type": "fill",
"source": "composite",
"id": "landcover",
"paint": {
"fill-color": [
"match",
[
"get",
"class"
],
"wood",
"hsla(115, 55%, 74%, 0.8)",
"snow",
"hsl(200, 70%, 90%)",
"hsl(110, 52%, 81%)"
],
"fill-opacity": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
9,
0.4,
10,
[
"match",
[
"get",
"class"
],
"crop",
0,
0.4
],
11,
[
"match",
[
"get",
"class"
],
"crop",
0,
0.4
],
12,
0
],
"fill-antialias": false
},
"source-layer": "landcover"
},
{
"minzoom": 5,
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
},
"filter": [
"==",
[
"get",
"class"
],
"national_park"
],
"type": "fill",
"source": "composite",
"id": "national-park",
"paint": {
"fill-color": "hsl(110, 41%, 78%)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
5,
0,
6,
0.6,
12,
0.2
]
},
"source-layer": "landuse_overlay"
},
{
"minzoom": 5,
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
},
"filter": [
"all",
[
">=",
[
"to-number",
[
"get",
"sizerank"
]
],
0
],
[
"match",
[
"get",
"class"
],
[
"agriculture",
"wood",
"grass",
"scrub",
"glacier",
"pitch",
"sand"
],
[
"step",
[
"zoom"
],
false,
11,
true
],
"residential",
[
"step",
[
"zoom"
],
true,
10,
false
],
[
"park",
"airport"
],
[
"step",
[
"zoom"
],
false,
8,
[
"case",
[
"==",
[
"get",
"sizerank"
],
1
],
true,
false
],
10,
true
],
[
"facility",
"industrial"
],
[
"step",
[
"zoom"
],
false,
12,
true
],
"cemetery",
[
"step",
[
"zoom"
],
false,
11,
true
],
"school",
[
"step",
[
"zoom"
],
false,
11,
true
],
"hospital",
[
"step",
[
"zoom"
],
false,
11,
true
],
"commercial_area",
[
"step",
[
"zoom"
],
false,
11,
true
],
false
],
[
"<=",
[
"-",
[
"to-number",
[
"get",
"sizerank"
]
],
[
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0,
18,
14
]
],
14
]
],
"type": "fill",
"source": "composite",
"id": "landuse",
"paint": {
"fill-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
[
"match",
[
"get",
"class"
],
"wood",
"hsla(115, 55%, 74%, 0.8)",
"scrub",
"hsla(110, 52%, 82%, 0.6)",
"agriculture",
"hsla(110, 55%, 88%, 0.6)",
"park",
"hsl(110, 60%, 80%)",
"grass",
"hsla(110, 55%, 88%, 0.6)",
"airport",
"hsl(225, 60%, 92%)",
"cemetery",
"hsl(110, 48%, 85%)",
"glacier",
"hsl(200, 70%, 90%)",
"hospital",
"hsl(0, 50%, 92%)",
"pitch",
"hsl(100, 70%, 85%)",
"sand",
"hsl(52, 65%, 86%)",
"school",
"hsl(40, 50%, 88%)",
"commercial_area",
"hsl(45, 55%, 93%)",
"residential",
"hsl(20, 7%, 97%)",
[
"facility",
"industrial"
],
"hsl(230, 20%, 90%)",
"hsl(20, 12%, 87%)"
],
16,
[
"match",
[
"get",
"class"
],
"wood",
"hsla(115, 55%, 74%, 0.8)",
"scrub",
"hsla(110, 52%, 82%, 0.6)",
"agriculture",
"hsla(110, 55%, 88%, 0.6)",
"park",
"hsl(110, 60%, 80%)",
"grass",
"hsla(110, 55%, 88%, 0.6)",
"airport",
"hsl(225, 60%, 92%)",
"cemetery",
"hsl(110, 48%, 85%)",
"glacier",
"hsl(200, 70%, 90%)",
"hospital",
"hsl(0, 50%, 92%)",
"pitch",
"hsl(100, 70%, 85%)",
"sand",
"hsl(52, 65%, 86%)",
"school",
"hsl(40, 50%, 88%)",
"commercial_area",
"hsla(45, 55%, 93%, 0.5)",
[
"facility",
"industrial"
],
"hsl(230, 20%, 90%)",
"hsl(20, 12%, 87%)"
]
],
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
[
"match",
[
"get",
"class"
],
"residential",
0.8,
0.2
],
10,
[
"match",
[
"get",
"class"
],
"residential",
0,
1
]
],
"fill-antialias": false
},
"source-layer": "landuse"
},
{
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
},
"maxzoom": 16,
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"==",
[
"get",
"class"
],
"shadow"
],
11,
true
],
[
"match",
[
"get",
"level"
],
89,
true,
78,
[
"step",
[
"zoom"
],
false,
5,
true
],
67,
[
"step",
[
"zoom"
],
false,
9,
true
],
56,
[
"step",
[
"zoom"
],
false,
6,
true
],
94,
[
"step",
[
"zoom"
],
false,
11,
true
],
90,
[
"step",
[
"zoom"
],
false,
12,
true
],
false
]
],
"type": "fill",
"source": "composite",
"id": "hillshade",
"paint": {
"fill-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
14,
[
"match",
[
"get",
"class"
],
"shadow",
"hsla(40, 41%, 21%, 0.06)",
"hsla(20, 20%, 100%, 0.12)"
],
16,
[
"match",
[
"get",
"class"
],
"shadow",
"hsla(40, 41%, 21%, 0)",
"hsla(20, 20%, 100%, 0)"
]
],
"fill-antialias": false
},
"source-layer": "hillshade"
},
{
"minzoom": 15,
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
},
"filter": [
"==",
[
"get",
"class"
],
"pitch"
],
"type": "line",
"source": "composite",
"id": "pitch-outline",
"paint": {
"line-color": "hsl(100, 65%, 75%)"
},
"source-layer": "landuse"
},
{
"id": "waterway-shadow",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"minzoom": 10,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
11,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
11,
"round"
]
},
"paint": {
"line-color": "hsl(219, 100%, 79%)",
"line-width": [
"interpolate",
[
"exponential",
1.3
],
[
"zoom"
],
9,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
0.1,
0
],
20,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
8,
3
]
],
"line-translate": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
7,
[
"literal",
[
0,
0
]
],
16,
[
"literal",
[
-1,
-1
]
]
],
"line-translate-anchor": "viewport",
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
0,
8.5,
1
]
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, water"
}
},
{
"id": "water-shadow",
"type": "fill",
"source": "composite",
"source-layer": "water",
"minzoom": 10,
"layout": {},
"paint": {
"fill-color": "hsl(219, 100%, 79%)",
"fill-translate": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
7,
[
"literal",
[
0,
0
]
],
16,
[
"literal",
[
-1,
-1
]
]
],
"fill-translate-anchor": "viewport"
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, water"
}
},
{
"id": "waterway",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"minzoom": 8,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
11,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
11,
"round"
]
},
"paint": {
"line-color": "hsl(200, 100%, 80%)",
"line-width": [
"interpolate",
[
"exponential",
1.3
],
[
"zoom"
],
9,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
0.1,
0
],
20,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
8,
3
]
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
0,
8.5,
1
]
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, water"
}
},
{
"id": "water",
"type": "fill",
"source": "composite",
"source-layer": "water",
"layout": {},
"paint": {
"fill-color": "rgb(0, 0, 255)"
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, water"
}
},
{
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, water"
},
"maxzoom": 8,
"type": "fill",
"source": "composite",
"id": "water-depth",
"paint": {
"fill-antialias": false,
"fill-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
6,
[
"interpolate",
[
"linear"
],
[
"get",
"min_depth"
],
0,
"hsla(200, 100%, 80%, 0.35)",
200,
"hsla(200, 100%, 72%, 0.35)",
7000,
"hsla(200, 100%, 64%, 0.35)"
],
8,
[
"interpolate",
[
"linear"
],
[
"get",
"min_depth"
],
0,
"hsla(200, 100%, 80%, 0)",
200,
"hsla(200, 100%, 72%, 0)",
7000,
"hsla(200, 100%, 60%, 0)"
]
]
},
"source-layer": "depth"
},
{
"minzoom": 13,
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, built"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"land"
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"type": "fill",
"source": "composite",
"id": "land-structure-polygon",
"paint": {
"fill-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
9,
"hsl(20, 20%, 95%)",
11,
"hsl(20, 18%, 91%)"
]
},
"source-layer": "structure"
},
{
"minzoom": 13,
"layout": {
"line-cap": "square"
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, built"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"land"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "land-structure-line",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.99
],
[
"zoom"
],
14,
0.75,
20,
40
],
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
9,
"hsl(20, 20%, 95%)",
11,
"hsl(20, 18%, 91%)"
]
},
"source-layer": "structure"
},
{
"id": "aeroway-polygon",
"type": "fill",
"source": "composite",
"source-layer": "aeroway",
"minzoom": 11,
"filter": [
"all",
[
"match",
[
"get",
"type"
],
[
"runway",
"taxiway",
"helipad"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"paint": {
"fill-color": "hsl(225, 52%, 87%)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
0,
11,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, built"
}
},
{
"id": "aeroway-line",
"type": "line",
"source": "composite",
"source-layer": "aeroway",
"minzoom": 9,
"filter": [
"==",
[
"geometry-type"
],
"LineString"
],
"paint": {
"line-color": "hsl(225, 52%, 87%)",
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
9,
[
"match",
[
"get",
"type"
],
"runway",
1,
0.5
],
18,
[
"match",
[
"get",
"type"
],
"runway",
80,
20
]
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
0,
11,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, built"
}
},
{
"minzoom": 15,
"layout": {},
"metadata": {
"mapbox:featureComponent": "buildings",
"mapbox:group": "Buildings, built"
},
"filter": [
"all",
[
"!=",
[
"get",
"type"
],
"building:part"
],
[
"==",
[
"get",
"underground"
],
"false"
]
],
"type": "fill",
"source": "composite",
"id": "building",
"paint": {
"fill-color": "hsl(20, 15%, 85%)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
0,
16,
1
],
"fill-outline-color": "hsla(20, 10%, 72%, 0.8)"
},
"source-layer": "building"
},
{
"minzoom": 15,
"layout": {},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., tunnels"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"path"
],
[
"!=",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "tunnel-path",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
18,
4
],
"line-color": "hsl(20, 32%, 95%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
1,
0.5
]
]
]
},
"source-layer": "road"
},
{
"id": "tunnel-steps",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
16,
1.6,
18,
6
],
"line-color": "hsl(20, 32%, 95%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
0.3,
0.3
]
]
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., tunnels"
}
},
{
"id": "tunnel-pedestrian",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
18,
12
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
2,
0.3
]
],
15,
[
"literal",
[
1,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., tunnels"
}
},
{
"id": "tunnel-minor-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 13%, 72%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-street-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 13%, 72%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "tunnel-minor-link-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
},
"source-layer": "road"
},
{
"id": "tunnel-secondary-tertiary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 11,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 13%, 72%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-primary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 10,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 13%, 72%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-major-link-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(0, 0%, 100%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-motorway-trunk-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-construction",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"construction"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
20,
22,
200
],
"line-color": "hsl(220, 20%, 85%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
0.4,
0.8
]
],
15,
[
"literal",
[
0.3,
0.6
]
],
16,
[
"literal",
[
0.2,
0.3
]
],
17,
[
"literal",
[
0.2,
0.25
]
],
18,
[
"literal",
[
0.15,
0.15
]
]
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-minor",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(20, 22%, 94%)",
"hsl(0, 0%, 100%)"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "tunnel-minor-link",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"id": "tunnel-major-link",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsl(30, 100%, 80%)",
"hsl(50, 78%, 80%)"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-street",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(20, 22%, 94%)",
"hsl(0, 0%, 100%)"
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
},
"maxzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "tunnel-street-low",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"id": "tunnel-secondary-tertiary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-color": "hsl(0, 0%, 100%)"
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-primary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-color": "hsl(0, 0%, 100%)"
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-motorway-trunk",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway",
"hsl(30, 100%, 80%)",
"hsl(50, 78%, 80%)"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": [
"step",
[
"zoom"
],
"oneway-small",
18,
"oneway-large"
],
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"street",
"street_limited",
"tertiary"
],
true,
false
],
16,
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"street",
"street_limited",
"primary_link",
"secondary_link",
"tertiary_link",
"service",
"track"
],
true,
false
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "tunnel-oneway-arrow-blue",
"paint": {},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": [
"step",
[
"zoom"
],
"oneway-white-small",
18,
"oneway-white-large"
],
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"motorway_link",
"trunk",
"trunk_link"
],
true,
false
],
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "tunnel-oneway-arrow-white",
"paint": {},
"source-layer": "road"
},
{
"id": "road-pedestrian-polygon-fill",
"type": "fill",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"paint": {
"fill-color": "hsl(20, 20%, 94%)"
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
}
},
{
"id": "road-pedestrian-polygon-pattern",
"type": "fill",
"source": "composite",
"source-layer": "road",
"minzoom": 16,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"paint": {
"fill-pattern": "pedestrian-polygon",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
16,
0,
17,
1
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
}
},
{
"minzoom": 12,
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"path"
],
[
"step",
[
"zoom"
],
[
"!",
[
"match",
[
"get",
"type"
],
[
"steps",
"sidewalk",
"crossing"
],
true,
false
]
],
16,
[
"!=",
[
"get",
"type"
],
"steps"
]
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-path-bg",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
18,
7
],
"line-color": "hsl(220, 11%, 79%)"
},
"source-layer": "road"
},
{
"minzoom": 14,
"layout": {
"line-join": "round"
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-steps-bg",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
17,
4.6,
18,
7
],
"line-color": "hsl(220, 11%, 79%)",
"line-opacity": 0.75
},
"source-layer": "road"
},
{
"minzoom": 14,
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-pedestrian-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
14.5
],
"line-color": "hsl(220, 20%, 85%)"
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"path"
],
[
"step",
[
"zoom"
],
[
"!",
[
"match",
[
"get",
"type"
],
[
"steps",
"sidewalk",
"crossing"
],
true,
false
]
],
16,
[
"!=",
[
"get",
"type"
],
"steps"
]
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-path",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
13,
0.5,
14,
1,
15,
1,
18,
4
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
4,
0.3
]
],
15,
[
"literal",
[
1.75,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
},
"source-layer": "road"
},
{
"minzoom": 14,
"layout": {
"line-join": "round"
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-steps",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
16,
1.6,
18,
6
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
0.3,
0.3
]
]
]
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-pedestrian",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
18,
12
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
2,
0.3
]
],
15,
[
"literal",
[
1,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
},
"source-layer": "road"
},
{
"id": "golf-hole-line",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 16,
"filter": [
"==",
[
"get",
"class"
],
"golf"
],
"paint": {
"line-color": "hsl(110, 29%, 70%)"
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
}
},
{
"id": "road-polygon",
"type": "fill",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"primary_link",
"secondary_link",
"tertiary_link",
"trunk",
"trunk_link",
"street",
"street_limited",
"track",
"service"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"paint": {
"fill-color": "hsl(0, 0%, 100%)",
"fill-outline-color": "hsl(220, 20%, 85%)"
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
}
},
{
"id": "turning-feature-outline",
"type": "circle",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"turning_circle",
"turning_loop"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"paint": {
"circle-radius": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
4.5,
16,
8,
18,
20,
22,
200
],
"circle-color": "hsl(0, 0%, 100%)",
"circle-stroke-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
0.8,
16,
1.2,
18,
2
],
"circle-stroke-color": "hsl(220, 20%, 85%)",
"circle-pitch-alignment": "map"
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-minor-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
]
},
"source-layer": "road"
},
{
"minzoom": 14,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-street-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-minor-link-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
},
"source-layer": "road"
},
{
"minzoom": 11,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-secondary-tertiary-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
]
},
"source-layer": "road"
},
{
"minzoom": 10,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"primary"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-primary-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
]
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-major-link-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
},
"source-layer": "road"
},
{
"minzoom": 3,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
5,
[
"all",
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-motorway-trunk-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
3.5,
1
]
},
"source-layer": "road"
},
{
"id": "turning-feature",
"type": "circle",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"turning_circle",
"turning_loop"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"paint": {
"circle-radius": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
4.5,
16,
8,
18,
20,
22,
200
],
"circle-color": "hsl(0, 0%, 100%)",
"circle-pitch-alignment": "map"
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
}
},
{
"id": "road-construction",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"construction"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
20,
22,
200
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
0.4,
0.8
]
],
15,
[
"literal",
[
0.3,
0.6
]
],
16,
[
"literal",
[
0.2,
0.3
]
],
17,
[
"literal",
[
0.2,
0.25
]
],
18,
[
"literal",
[
0.15,
0.15
]
]
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-minor",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-minor-link",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-major-link",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-street",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(20, 22%, 94%)",
"hsl(0, 0%, 100%)"
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
},
"source-layer": "road"
},
{
"minzoom": 11,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"maxzoom": 14,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-street-low",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 9,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-secondary-tertiary",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 6,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"primary"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-primary",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 3,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
5,
[
"all",
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-motorway-trunk",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-color": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
"motorway",
"hsl(30, 88%, 64%)",
"trunk",
"hsl(50, 81%, 54%)",
"hsl(20, 18%, 100%)"
],
9,
[
"match",
[
"get",
"class"
],
"motorway",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
3.5,
1
]
},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"icon-image": "level-crossing",
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"level_crossing"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "level-crossing",
"paint": {},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": [
"step",
[
"zoom"
],
"oneway-small",
18,
"oneway-large"
],
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"street",
"street_limited"
],
true,
false
],
16,
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"street",
"street_limited",
"primary_link",
"secondary_link",
"tertiary_link",
"service",
"track"
],
true,
false
]
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-oneway-arrow-blue",
"paint": {},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": [
"step",
[
"zoom"
],
"oneway-white-small",
18,
"oneway-white-large"
],
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"motorway_link",
"trunk_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-oneway-arrow-white",
"paint": {},
"source-layer": "road"
},
{
"minzoom": 17,
"layout": {
"icon-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
16,
0.1,
18,
0.2,
19,
0.5,
22,
1.5
],
"icon-image": [
"step",
[
"zoom"
],
"crosswalk-small",
18,
"crosswalk-large"
],
"icon-rotate": [
"get",
"direction"
],
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"crosswalk"
],
[
"==",
[
"geometry-type"
],
"Point"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "crosswalks",
"paint": {},
"source-layer": "structure"
},
{
"id": "ferry",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"==",
[
"get",
"type"
],
"ferry"
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
"hsl(209, 93%, 73%)",
17,
"hsl(234, 93%, 73%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
],
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
13,
[
"literal",
[
12,
4
]
]
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, surface"
}
},
{
"id": "ferry-auto",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"==",
[
"get",
"type"
],
"ferry_auto"
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
"hsl(209, 93%, 73%)",
17,
"hsl(234, 93%, 73%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, surface"
}
},
{
"id": "road-rail",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(35, 25%, 82%)",
16,
"hsl(220, 4%, 71%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, surface"
}
},
{
"id": "road-rail-tracks",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(35, 25%, 82%)",
16,
"hsl(220, 4%, 71%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
4,
20,
8
],
"line-dasharray": [
0.1,
15
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13.75,
0,
14,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, surface"
}
},
{
"minzoom": 14,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"path"
],
[
"step",
[
"zoom"
],
[
"!",
[
"match",
[
"get",
"type"
],
[
"steps",
"sidewalk",
"crossing"
],
true,
false
]
],
16,
[
"!=",
[
"get",
"type"
],
"steps"
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-path-bg",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
18,
7
],
"line-color": "hsl(220, 11%, 79%)"
},
"source-layer": "road"
},
{
"id": "bridge-steps-bg",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
17,
4.6,
18,
7
],
"line-color": "hsl(220, 11%, 79%)",
"line-opacity": 0.75
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
}
},
{
"id": "bridge-pedestrian-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
14.5
],
"line-color": "hsl(220, 20%, 85%)"
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
}
},
{
"minzoom": 14,
"layout": {},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"path"
],
[
"!=",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-path",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
18,
4
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
4,
0.3
]
],
15,
[
"literal",
[
1.75,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
},
"source-layer": "road"
},
{
"id": "bridge-steps",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
16,
1.6,
18,
6
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
0.3,
0.3
]
]
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
}
},
{
"id": "bridge-pedestrian",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
18,
12
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
2,
0.3
]
],
15,
[
"literal",
[
1,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
}
},
{
"id": "bridge-minor-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-street-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"minzoom": 13,
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-minor-link-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
},
"source-layer": "road"
},
{
"id": "bridge-secondary-tertiary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 11,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-opacity": [
"step",
[
"zoom"
],
0,
10,
1
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-primary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 10,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-opacity": [
"step",
[
"zoom"
],
0,
10,
1
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-major-link-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-motorway-trunk-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-construction",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"construction"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
20,
22,
200
],
"line-color": "hsl(220, 20%, 85%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
0.4,
0.8
]
],
15,
[
"literal",
[
0.3,
0.6
]
],
16,
[
"literal",
[
0.2,
0.3
]
],
17,
[
"literal",
[
0.2,
0.25
]
],
18,
[
"literal",
[
0.15,
0.15
]
]
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-minor",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-minor-link",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-major-link",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-street",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(20, 22%, 94%)",
"hsl(0, 0%, 100%)"
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"maxzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-street-low",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-secondary-tertiary",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-primary",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-motorway-trunk",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
},
"source-layer": "road"
},
{
"id": "bridge-major-link-2-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-motorway-trunk-2-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"minzoom": 12,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-major-link-2",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-motorway-trunk-2",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": [
"step",
[
"zoom"
],
"oneway-small",
18,
"oneway-large"
],
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"street",
"street_limited"
],
true,
false
],
16,
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"street",
"street_limited",
"primary_link",
"secondary_link",
"tertiary_link",
"service",
"track"
],
true,
false
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "bridge-oneway-arrow-blue",
"paint": {},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": "oneway-white-small",
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "bridge-oneway-arrow-white",
"paint": {},
"source-layer": "road"
},
{
"id": "bridge-rail",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
]
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(35, 25%, 82%)",
16,
"hsl(220, 4%, 71%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, bridges"
}
},
{
"id": "bridge-rail-tracks",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
]
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(35, 25%, 82%)",
16,
"hsl(220, 4%, 71%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
4,
20,
8
],
"line-dasharray": [
0.1,
15
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13.75,
0,
14,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, bridges"
}
},
{
"id": "aerialway",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"==",
[
"get",
"class"
],
"aerialway"
],
"paint": {
"line-color": "hsl(225, 60%, 58%)",
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
20,
2
],
"line-dasharray": [
4,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, bridges"
}
},
{
"id": "admin-1-boundary-bg",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 7,
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
1
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
]
],
"paint": {
"line-color": "hsl(240, 100%, 100%)",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
3,
12,
6
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
7,
0,
8,
0.5
],
"line-dasharray": [
1,
0
],
"line-blur": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
12,
3
]
},
"metadata": {
"mapbox:featureComponent": "admin-boundaries",
"mapbox:group": "Administrative boundaries, admin"
}
},
{
"id": "admin-0-boundary-bg",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 1,
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
0
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
]
],
"paint": {
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
4,
12,
8
],
"line-color": "hsl(240, 100%, 100%)",
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
4,
0.5
],
"line-blur": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
12,
2
]
},
"metadata": {
"mapbox:featureComponent": "admin-boundaries",
"mapbox:group": "Administrative boundaries, admin"
}
},
{
"minzoom": 2,
"layout": {},
"metadata": {
"mapbox:featureComponent": "admin-boundaries",
"mapbox:group": "Administrative boundaries, admin"
},
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
1
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
]
],
"type": "line",
"source": "composite",
"id": "admin-1-boundary",
"paint": {
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
2,
0
]
],
7,
[
"literal",
[
2,
2,
6,
2
]
]
],
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0.3,
12,
1.5
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
2,
0,
3,
1
],
"line-color": "hsl(240, 50%, 65%)"
},
"source-layer": "admin"
},
{
"minzoom": 1,
"layout": {},
"metadata": {
"mapbox:featureComponent": "admin-boundaries",
"mapbox:group": "Administrative boundaries, admin"
},
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
0
],
[
"==",
[
"get",
"disputed"
],
"false"
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
]
],
"type": "line",
"source": "composite",
"id": "admin-0-boundary",
"paint": {
"line-color": "hsl(240, 50%, 60%)",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0.5,
12,
2
],
"line-dasharray": [
10,
0
]
},
"source-layer": "admin"
},
{
"id": "admin-0-boundary-disputed",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 1,
"filter": [
"all",
[
"==",
[
"get",
"disputed"
],
"true"
],
[
"==",
[
"get",
"admin_level"
],
0
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
]
],
"paint": {
"line-color": "hsl(240, 50%, 60%)",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0.5,
12,
2
],
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
3,
2,
5
]
],
7,
[
"literal",
[
2,
1.5
]
]
]
},
"metadata": {
"mapbox:featureComponent": "admin-boundaries",
"mapbox:group": "Administrative boundaries, admin"
}
},
{
"minzoom": 18,
"layout": {
"icon-image": "marker",
"text-field": [
"get",
"ref"
],
"text-size": 10,
"text-offset": [
0,
-0.5
],
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
]
},
"metadata": {
"mapbox:featureComponent": "buildings",
"mapbox:group": "Buildings, building-labels"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"entrance"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "building-entrance",
"paint": {
"text-color": "hsl(20, 8%, 52%)",
"text-halo-color": "hsl(20, 13%, 92%)",
"text-halo-width": 1,
"icon-opacity": 0.4
},
"source-layer": "structure"
},
{
"minzoom": 17,
"layout": {
"text-field": [
"get",
"house_num"
],
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
],
"text-padding": 4,
"text-max-width": 7,
"text-size": 10
},
"metadata": {
"mapbox:featureComponent": "buildings",
"mapbox:group": "Buildings, building-labels"
},
"filter": [
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
"type": "symbol",
"source": "composite",
"id": "building-number-label",
"paint": {
"text-color": "hsl(20, 8%, 52%)",
"text-halo-color": "hsl(20, 13%, 92%)",
"text-halo-width": 1
},
"source-layer": "housenum_label"
},
{
"minzoom": 16,
"layout": {
"text-field": [
"get",
"name"
],
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
],
"text-max-width": 7,
"text-size": 11
},
"metadata": {
"mapbox:featureComponent": "buildings",
"mapbox:group": "Buildings, building-labels"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"settlement_subdivision"
],
[
"==",
[
"get",
"type"
],
"block"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "block-number-label",
"paint": {
"text-color": "hsl(20, 18%, 57%)",
"text-halo-color": "hsl(20, 17%, 100%)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
},
"source-layer": "place_label"
},
{
"minzoom": 10,
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary"
],
10,
[
"motorway_link",
"trunk_link",
"primary_link",
"secondary_link",
"tertiary_link",
"street",
"street_limited"
],
9,
6.5
],
18,
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary"
],
16,
[
"motorway_link",
"trunk_link",
"primary_link",
"secondary_link",
"tertiary_link",
"street",
"street_limited"
],
14,
13
]
],
"text-max-angle": 30,
"text-font": [
"DIN Pro Regular",
"Arial Unicode MS Regular"
],
"symbol-placement": "line",
"text-padding": 5,
"text-rotation-alignment": "map",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, road-labels"
},
"filter": [
"all",
[
"has",
"name"
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary"
],
true,
false
],
12,
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary",
"street",
"street_limited"
],
true,
false
],
15,
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian",
"golf",
"ferry",
"aerialway"
],
false,
true
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
2
],
60,
[
"<",
[
"distance-from-center"
],
2.5
],
70,
[
"<",
[
"distance-from-center"
],
3
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-label",
"paint": {
"text-color": "hsl(0,0%, 0%)",
"text-halo-color": [
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
"hsla(20, 25%, 100%, 0.75)",
"hsl(20, 25%, 100%)"
],
"text-halo-width": 1,
"text-halo-blur": 1
},
"source-layer": "road"
},
{
"minzoom": 15,
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"icon-image": "intersection",
"icon-text-fit": "both",
"icon-text-fit-padding": [
1,
2,
1,
2
],
"text-size": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
15,
9,
18,
12
],
"text-font": [
"DIN Pro Bold",
"Arial Unicode MS Bold"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, road-labels"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"intersection"
],
[
"has",
"name"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-intersection",
"paint": {
"text-color": "hsl(230, 57%, 64%)"
},
"source-layer": "road"
},
{
"minzoom": 6,
"layout": {
"text-size": 9,
"icon-image": [
"case",
[
"has",
"shield_beta"
],
[
"coalesce",
[
"image",
[
"concat",
[
"get",
"shield_beta"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
[
"image",
[
"concat",
[
"get",
"shield"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
[
"image",
[
"concat",
"default-",
[
"to-string",
[
"get",
"reflen"
]
]
]
]
],
[
"concat",
[
"get",
"shield"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
"icon-rotation-alignment": "viewport",
"text-max-angle": 38,
"symbol-spacing": [
"interpolate",
[
"linear"
],
[
"zoom"
],
11,
400,
14,
600
],
"text-font": [
"DIN Pro Bold",
"Arial Unicode MS Bold"
],
"symbol-placement": [
"step",
[
"zoom"
],
"point",
11,
"line"
],
"text-rotation-alignment": "viewport",
"text-field": [
"get",
"ref"
],
"text-letter-spacing": 0.05
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, road-labels"
},
"filter": [
"all",
[
"case",
[
"has",
"reflen"
],
[
"<=",
[
"get",
"reflen"
],
6
],
[
"has",
"shield_beta"
]
],
[
"match",
[
"get",
"class"
],
[
"pedestrian",
"service"
],
false,
true
],
[
"step",
[
"zoom"
],
[
"==",
[
"geometry-type"
],
"Point"
],
11,
[
">",
[
"get",
"len"
],
5000
],
12,
[
">",
[
"get",
"len"
],
2500
],
13,
[
">",
[
"get",
"len"
],
1000
],
14,
true
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
2
],
60,
[
"<",
[
"distance-from-center"
],
2.5
],
70,
[
"<",
[
"distance-from-center"
],
3
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-number-shield",
"paint": {
"text-color": [
"case",
[
"has",
"shield_beta"
],
[
"case",
[
"all",
[
"has",
"shield_text_color_beta"
],
[
"to-boolean",
[
"coalesce",
[
"image",
[
"concat",
[
"get",
"shield_beta"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
""
]
]
],
[
"match",
[
"get",
"shield_text_color_beta"
],
"white",
"hsl(0, 0%, 100%)",
"yellow",
"hsl(50, 100%, 70%)",
"orange",
"hsl(25, 100%, 75%)",
"blue",
"hsl(230, 57%, 44%)",
"red",
"hsl(0, 87%, 59%)",
"green",
"hsl(140, 74%, 37%)",
"hsl(230, 18%, 13%)"
],
"hsl(230, 18%, 13%)"
],
[
"match",
[
"get",
"shield_text_color"
],
"white",
"hsl(0, 0%, 100%)",
"yellow",
"hsl(50, 100%, 70%)",
"orange",
"hsl(25, 100%, 75%)",
"blue",
"hsl(230, 57%, 44%)",
"red",
"hsl(0, 87%, 59%)",
"green",
"hsl(140, 74%, 37%)",
"hsl(230, 18%, 13%)"
]
]
},
"source-layer": "road"
},
{
"minzoom": 14,
"layout": {
"text-field": [
"get",
"ref"
],
"text-size": 9,
"icon-image": [
"concat",
"motorway-exit-",
[
"to-string",
[
"get",
"reflen"
]
]
],
"text-font": [
"DIN Pro Bold",
"Arial Unicode MS Bold"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, road-labels"
},
"filter": [
"all",
[
"has",
"reflen"
],
[
"<=",
[
"get",
"reflen"
],
9
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-exit-shield",
"paint": {
"text-color": "hsl(0, 0%, 100%)",
"text-translate": [
0,
0
]
},
"source-layer": "motorway_junction"
},
{
"minzoom": 12,
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
[
"match",
[
"get",
"class"
],
"pedestrian",
9,
6.5
],
18,
[
"match",
[
"get",
"class"
],
"pedestrian",
14,
13
]
],
"text-max-angle": 30,
"text-font": [
"DIN Pro Regular",
"Arial Unicode MS Regular"
],
"symbol-placement": "line",
"text-padding": 1,
"text-rotation-alignment": "map",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., walking-cycling-labels"
},
"filter": [
"all",
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"pedestrian"
],
true,
false
],
15,
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian"
],
true,
false
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "path-pedestrian-label",
"paint": {
"text-color": "hsl(0,0%, 0%)",
"text-halo-color": "hsl(20, 25%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 1
},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-size": 12
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., walking-cycling-labels"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"golf"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "golf-hole-label",
"paint": {
"text-halo-color": "hsl(110, 65%, 65%)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5,
"text-color": "hsl(110, 70%, 28%)"
},
"source-layer": "road"
},
{
"minzoom": 15,
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
6.5,
18,
13
],
"text-max-angle": 30,
"text-font": [
"DIN Pro Regular",
"Arial Unicode MS Regular"
],
"symbol-placement": "line",
"text-padding": 1,
"text-rotation-alignment": "map",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, ferry-aerialway-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
"aerialway",
true,
"ferry",
true,
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "ferry-aerialway-label",
"paint": {
"text-color": [
"match",
[
"get",
"class"
],
"ferry",
"hsl(200, 68%, 60%)",
"hsl(225, 60%, 58%)"
],
"text-halo-color": [
"match",
[
"get",
"class"
],
"ferry",
"hsl(200, 100%, 80%)",
"hsl(20, 20%, 100%)"
],
"text-halo-width": 1,
"text-halo-blur": 1
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
],
"text-max-angle": 30,
"symbol-spacing": [
"interpolate",
[
"linear",
1
],
[
"zoom"
],
15,
250,
17,
400
],
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
12,
18,
18
],
"symbol-placement": "line",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
},
"metadata": {
"mapbox:featureComponent": "natural-features",
"mapbox:group": "Natural features, natural-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"canal",
"river",
"stream",
"disputed_canal",
"disputed_river",
"disputed_stream"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "symbol",
"source": "composite",
"id": "waterway-label",
"paint": {
"text-color": "hsl(200, 68%, 57%)",
"text-halo-color": "hsla(20, 17%, 100%, 0.5)"
},
"source-layer": "natural_label"
},
{
"minzoom": 4,
"layout": {
"text-size": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
18,
5,
12
],
17,
[
"step",
[
"get",
"sizerank"
],
18,
13,
12
]
],
"text-max-angle": 30,
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"symbol-placement": "line-center",
"text-pitch-alignment": "viewport"
},
"metadata": {
"mapbox:featureComponent": "natural-features",
"mapbox:group": "Natural features, natural-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"glacier",
"landform",
"disputed_glacier",
"disputed_landform"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"<=",
[
"get",
"filterrank"
],
2
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "symbol",
"source": "composite",
"id": "natural-line-label",
"paint": {
"text-halo-width": 0.5,
"text-halo-color": "hsl(20, 17%, 100%)",
"text-halo-blur": 0.5,
"text-color": "hsl(210, 20%, 46%)"
},
"source-layer": "natural_label"
},
{
"minzoom": 4,
"layout": {
"text-size": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
18,
5,
12
],
17,
[
"step",
[
"get",
"sizerank"
],
18,
13,
12
]
],
"icon-image": [
"case",
[
"has",
"maki_beta"
],
[
"coalesce",
[
"image",
[
"get",
"maki_beta"
]
],
[
"image",
[
"get",
"maki"
]
]
],
[
"image",
[
"get",
"maki"
]
]
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-offset": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
5,
[
"literal",
[
0,
0.75
]
]
],
17,
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
13,
[
"literal",
[
0,
0.75
]
]
]
],
"text-anchor": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
"center",
5,
"top"
],
17,
[
"step",
[
"get",
"sizerank"
],
"center",
13,
"top"
]
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
},
"metadata": {
"mapbox:featureComponent": "natural-features",
"mapbox:group": "Natural features, natural-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"dock",
"glacier",
"landform",
"water_feature",
"wetland",
"disputed_dock",
"disputed_glacier",
"disputed_landform",
"disputed_water_feature",
"disputed_wetland"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"<=",
[
"get",
"filterrank"
],
2
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"type": "symbol",
"source": "composite",
"id": "natural-point-label",
"paint": {
"icon-opacity": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
0,
5,
1
],
17,
[
"step",
[
"get",
"sizerank"
],
0,
13,
1
]
],
"text-halo-color": "hsl(20, 20%, 100%)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5,
"text-color": "hsl(210, 20%, 46%)"
},
"source-layer": "natural_label"
},
{
"minzoom": 1,
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
[
"*",
[
"-",
16,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
],
22,
[
"*",
[
"-",
22,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
]
],
"text-max-angle": 30,
"text-letter-spacing": [
"match",
[
"get",
"class"
],
"ocean",
0.25,
[
"sea",
"bay"
],
0.15,
0
],
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
],
"symbol-placement": "line-center",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
},
"metadata": {
"mapbox:featureComponent": "natural-features",
"mapbox:group": "Natural features, natural-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"reservoir",
"sea",
"water",
"disputed_bay",
"disputed_ocean",
"disputed_reservoir",
"disputed_sea",
"disputed_water"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "symbol",
"source": "composite",
"id": "water-line-label",
"paint": {
"text-color": [
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"sea"
],
"hsl(200, 96%, 57%)",
"hsl(200, 68%, 57%)"
],
"text-halo-color": "hsla(20, 17%, 100%, 0.5)"
},
"source-layer": "natural_label"
},
{
"minzoom": 1,
"layout": {
"text-line-height": 1.3,
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
[
"*",
[
"-",
16,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
],
22,
[
"*",
[
"-",
22,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
]
],
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": [
"match",
[
"get",
"class"
],
"ocean",
0.25,
[
"bay",
"sea"
],
0.15,
0.01
],
"text-max-width": [
"match",
[
"get",
"class"
],
"ocean",
4,
"sea",
5,
[
"bay",
"water"
],
7,
10
]
},
"metadata": {
"mapbox:featureComponent": "natural-features",
"mapbox:group": "Natural features, natural-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"reservoir",
"sea",
"water",
"disputed_bay",
"disputed_ocean",
"disputed_reservoir",
"disputed_sea",
"disputed_water"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"type": "symbol",
"source": "composite",
"id": "water-point-label",
"paint": {
"text-color": [
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"sea"
],
"hsl(200, 96%, 57%)",
"hsl(200, 68%, 57%)"
],
"text-halo-color": "hsla(20, 17%, 100%, 0.5)"
},
"source-layer": "natural_label"
},
{
"minzoom": 6,
"layout": {
"text-size": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
18,
5,
12
],
17,
[
"step",
[
"get",
"sizerank"
],
18,
13,
12
]
],
"icon-image": [
"case",
[
"has",
"maki_beta"
],
[
"coalesce",
[
"image",
[
"get",
"maki_beta"
]
],
[
"image",
[
"get",
"maki"
]
]
],
[
"image",
[
"get",
"maki"
]
]
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-offset": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
5,
[
"literal",
[
0,
0.8
]
]
],
17,
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
13,
[
"literal",
[
0,
0.8
]
]
]
],
"text-anchor": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
"center",
5,
"top"
],
17,
[
"step",
[
"get",
"sizerank"
],
"center",
13,
"top"
]
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
},
"metadata": {
"mapbox:featureComponent": "point-of-interest-labels",
"mapbox:group": "Point of interest labels, poi-labels"
},
"filter": [
"all",
[
"<=",
[
"get",
"filterrank"
],
[
"+",
[
"step",
[
"zoom"
],
0,
16,
1,
17,
2
],
3
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
2
],
60,
[
"<",
[
"distance-from-center"
],
2.5
],
70,
[
"<",
[
"distance-from-center"
],
3
]
]
],
"type": "symbol",
"source": "composite",
"id": "poi-label",
"paint": {
"icon-opacity": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
0,
5,
1
],
17,
[
"step",
[
"get",
"sizerank"
],
0,
13,
1
]
],
"text-halo-color": "hsl(20, 20%, 100%)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5,
"text-color": [
"match",
[
"get",
"class"
],
"food_and_drink",
"hsl(40, 95%, 43%)",
"park_like",
"hsl(110, 70%, 28%)",
"education",
"hsl(30, 50%, 43%)",
"medical",
"hsl(0, 70%, 58%)",
"sport_and_leisure",
"hsl(190, 60%, 48%)",
[
"store_like",
"food_and_drink_stores"
],
"hsl(210, 70%, 58%)",
[
"commercial_services",
"motorist",
"lodging"
],
"hsl(260, 70%, 63%)",
[
"arts_and_entertainment",
"historic",
"landmark"
],
"hsl(320, 70%, 63%)",
"hsl(210, 20%, 46%)"
]
},
"source-layer": "poi_label"
},
{
"minzoom": 12,
"layout": {
"text-size": 12,
"icon-image": [
"get",
"network"
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-justify": [
"match",
[
"get",
"stop_type"
],
"entrance",
"left",
"center"
],
"text-offset": [
"match",
[
"get",
"stop_type"
],
"entrance",
[
"literal",
[
1,
0
]
],
[
"literal",
[
0,
0.8
]
]
],
"text-anchor": [
"match",
[
"get",
"stop_type"
],
"entrance",
"left",
"top"
],
"text-field": [
"step",
[
"zoom"
],
"",
13,
[
"match",
[
"get",
"mode"
],
[
"rail",
"metro_rail"
],
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
""
],
14,
[
"match",
[
"get",
"mode"
],
[
"bus",
"bicycle"
],
"",
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
18,
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
"text-letter-spacing": 0.01,
"text-max-width": [
"match",
[
"get",
"stop_type"
],
"entrance",
15,
9
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, transit-labels"
},
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"all",
[
"<=",
[
"get",
"filterrank"
],
4
],
[
"match",
[
"get",
"mode"
],
"rail",
true,
"metro_rail",
true,
false
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
14,
[
"all",
[
"match",
[
"get",
"mode"
],
"rail",
true,
"metro_rail",
true,
false
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
15,
[
"all",
[
"match",
[
"get",
"mode"
],
"rail",
true,
"metro_rail",
true,
"ferry",
true,
"light_rail",
true,
false
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
16,
[
"all",
[
"match",
[
"get",
"mode"
],
"bus",
false,
true
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
17,
[
"!=",
[
"get",
"stop_type"
],
"entrance"
],
19,
true
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "transit-label",
"paint": {
"text-halo-color": "hsl(20, 20%, 100%)",
"text-color": [
"match",
[
"get",
"network"
],
"tokyo-metro",
"hsl(180, 50%, 30%)",
"mexico-city-metro",
"hsl(25, 100%, 63%)",
[
"barcelona-metro",
"delhi-metro",
"hong-kong-mtr",
"milan-metro",
"osaka-subway"
],
"hsl(0, 90%, 47%)",
[
"boston-t",
"washington-metro"
],
"hsl(230, 18%, 20%)",
[
"chongqing-rail-transit",
"kiev-metro",
"singapore-mrt",
"taipei-metro"
],
"hsl(140, 90%, 25%)",
"hsl(225, 60%, 58%)"
],
"text-halo-blur": 0.5,
"text-halo-width": 0.5
},
"source-layer": "transit_stop_label"
},
{
"minzoom": 8,
"layout": {
"text-line-height": 1.1,
"text-size": [
"step",
[
"get",
"sizerank"
],
18,
9,
12
],
"icon-image": [
"get",
"maki"
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-offset": [
0,
0.8
],
"text-rotation-alignment": "viewport",
"text-anchor": "top",
"text-field": [
"step",
[
"get",
"sizerank"
],
[
"case",
[
"has",
"ref"
],
[
"concat",
[
"get",
"ref"
],
" -\n",
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
15,
[
"get",
"ref"
]
],
"text-letter-spacing": 0.01,
"text-max-width": 9
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, transit-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"military",
"civil",
"disputed_military",
"disputed_civil"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "airport-label",
"paint": {
"text-color": "hsl(225, 60%, 58%)",
"text-halo-color": "hsl(20, 20%, 100%)",
"text-halo-width": 1
},
"source-layer": "airport_label"
},
{
"minzoom": 10,
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-transform": "uppercase",
"text-font": [
"DIN Pro Regular",
"Arial Unicode MS Regular"
],
"text-letter-spacing": [
"match",
[
"get",
"type"
],
"suburb",
0.15,
0.05
],
"text-max-width": 7,
"text-padding": 3,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.5,
0,
1,
1
],
[
"zoom"
],
11,
[
"match",
[
"get",
"type"
],
"suburb",
11,
10.5
],
15,
[
"match",
[
"get",
"type"
],
"suburb",
15,
14
]
]
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 15,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"settlement_subdivision",
"disputed_settlement_subdivision"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"<=",
[
"get",
"filterrank"
],
3
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "settlement-subdivision-label",
"paint": {
"text-halo-color": "hsla(20, 25%, 100%, 0.75)",
"text-halo-width": 1,
"text-color": "hsl(220, 30%, 40%)",
"text-halo-blur": 0.5
},
"source-layer": "place_label"
},
{
"minzoom": 2,
"layout": {
"text-line-height": 1.1,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.9,
1
],
[
"zoom"
],
3,
[
"step",
[
"get",
"symbolrank"
],
11,
9,
10
],
6,
[
"step",
[
"get",
"symbolrank"
],
14,
9,
12,
12,
10
],
8,
[
"step",
[
"get",
"symbolrank"
],
16,
9,
14,
12,
12,
15,
10
],
13,
[
"step",
[
"get",
"symbolrank"
],
22,
9,
20,
12,
16,
15,
14
]
],
"text-radial-offset": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"capital"
],
2,
0.6,
0.55
],
8,
0
],
"symbol-sort-key": [
"get",
"symbolrank"
],
"icon-image": [
"step",
[
"zoom"
],
[
"case",
[
"==",
[
"get",
"capital"
],
2
],
"border-dot-13",
[
"step",
[
"get",
"symbolrank"
],
"dot-11",
9,
"dot-10",
11,
"dot-9"
]
],
8,
""
],
"text-font": [
"DIN Pro Regular",
"Arial Unicode MS Regular"
],
"text-justify": "auto",
"text-anchor": [
"step",
[
"zoom"
],
[
"get",
"text_anchor"
],
8,
"center"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-max-width": 7
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 13,
"filter": [
"all",
[
"<=",
[
"get",
"filterrank"
],
3
],
[
"match",
[
"get",
"class"
],
[
"settlement",
"disputed_settlement"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"zoom"
],
[
">",
[
"get",
"symbolrank"
],
6
],
4,
[
">=",
[
"get",
"symbolrank"
],
7
],
6,
[
">=",
[
"get",
"symbolrank"
],
8
],
7,
[
">=",
[
"get",
"symbolrank"
],
10
],
10,
[
">=",
[
"get",
"symbolrank"
],
11
],
11,
[
">=",
[
"get",
"symbolrank"
],
13
],
12,
[
">=",
[
"get",
"symbolrank"
],
15
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "settlement-minor-label",
"paint": {
"text-color": "hsl(220, 30%, 0%)",
"text-halo-color": "hsl(20, 25%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 1
},
"source-layer": "place_label"
},
{
"minzoom": 2,
"layout": {
"text-line-height": 1.1,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.9,
1
],
[
"zoom"
],
3,
[
"step",
[
"get",
"symbolrank"
],
13,
6,
11
],
6,
[
"step",
[
"get",
"symbolrank"
],
18,
6,
16,
7,
14
],
8,
[
"step",
[
"get",
"symbolrank"
],
20,
9,
16,
10,
14
],
15,
[
"step",
[
"get",
"symbolrank"
],
24,
9,
20,
12,
16,
15,
14
]
],
"text-radial-offset": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"capital"
],
2,
0.6,
0.55
],
8,
0
],
"symbol-sort-key": [
"get",
"symbolrank"
],
"icon-image": [
"step",
[
"zoom"
],
[
"case",
[
"==",
[
"get",
"capital"
],
2
],
"border-dot-13",
[
"step",
[
"get",
"symbolrank"
],
"dot-11",
9,
"dot-10",
11,
"dot-9"
]
],
8,
""
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-justify": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"text_anchor"
],
[
"left",
"bottom-left",
"top-left"
],
"left",
[
"right",
"bottom-right",
"top-right"
],
"right",
"center"
],
8,
"center"
],
"text-anchor": [
"step",
[
"zoom"
],
[
"get",
"text_anchor"
],
8,
"center"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-max-width": 7
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 15,
"filter": [
"all",
[
"<=",
[
"get",
"filterrank"
],
3
],
[
"match",
[
"get",
"class"
],
[
"settlement",
"disputed_settlement"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"zoom"
],
false,
2,
[
"<=",
[
"get",
"symbolrank"
],
6
],
4,
[
"<",
[
"get",
"symbolrank"
],
7
],
6,
[
"<",
[
"get",
"symbolrank"
],
8
],
7,
[
"<",
[
"get",
"symbolrank"
],
10
],
10,
[
"<",
[
"get",
"symbolrank"
],
11
],
11,
[
"<",
[
"get",
"symbolrank"
],
13
],
12,
[
"<",
[
"get",
"symbolrank"
],
15
],
13,
[
">=",
[
"get",
"symbolrank"
],
11
],
14,
[
">=",
[
"get",
"symbolrank"
],
15
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "settlement-major-label",
"paint": {
"text-color": "hsl(220, 30%, 0%)",
"text-halo-color": "hsl(20, 25%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 1
},
"source-layer": "place_label"
},
{
"minzoom": 3,
"layout": {
"text-size": [
"interpolate",
[
"cubic-bezier",
0.85,
0.7,
0.65,
1
],
[
"zoom"
],
4,
[
"step",
[
"get",
"symbolrank"
],
9,
6,
8,
7,
7
],
9,
[
"step",
[
"get",
"symbolrank"
],
21,
6,
16,
7,
14
]
],
"text-transform": "uppercase",
"text-font": [
"DIN Pro Bold",
"Arial Unicode MS Bold"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.15,
"text-max-width": 6
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 9,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"state",
"disputed_state"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "state-label",
"paint": {
"text-color": "hsl(220, 30%, 0%)",
"text-halo-color": "hsl(20, 25%, 100%)",
"text-halo-width": 1,
"text-opacity": 0.5
},
"source-layer": "place_label"
},
{
"minzoom": 1,
"layout": {
"icon-image": "",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-line-height": 1.1,
"text-max-width": 6,
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-radial-offset": [
"step",
[
"zoom"
],
0.6,
8,
0
],
"text-justify": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"text_anchor"
],
[
"left",
"bottom-left",
"top-left"
],
"left",
[
"right",
"bottom-right",
"top-right"
],
"right",
"center"
],
7,
"auto"
],
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.7,
1
],
[
"zoom"
],
1,
[
"step",
[
"get",
"symbolrank"
],
11,
4,
9,
5,
8
],
9,
[
"step",
[
"get",
"symbolrank"
],
22,
4,
19,
5,
17
]
]
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 10,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"country",
"disputed_country"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "country-label",
"paint": {
"icon-opacity": [
"step",
[
"zoom"
],
[
"case",
[
"has",
"text_anchor"
],
1,
0
],
7,
0
],
"text-color": "hsl(220, 30%, 0%)",
"text-halo-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
2,
"hsla(20, 25%, 100%, 0.75)",
3,
"hsl(20, 25%, 100%)"
],
"text-halo-width": 1.25
},
"source-layer": "place_label"
},
{
"minzoom": 0.75,
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-line-height": 1.1,
"text-max-width": 6,
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-size": [
"interpolate",
[
"exponential",
0.5
],
[
"zoom"
],
0,
10,
2.5,
15
],
"text-transform": "uppercase",
"text-letter-spacing": 0.05
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 3,
"filter": [
"==",
[
"get",
"class"
],
"continent"
],
"type": "symbol",
"source": "composite",
"id": "continent-label",
"paint": {
"text-color": "hsl(220, 30%, 0%)",
"text-halo-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
"hsla(20, 25%, 100%, 0.75)",
3,
"hsl(20, 25%, 100%)"
],
"text-halo-width": 1.5,
"text-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
0.8,
1.5,
0.5,
2.5,
0
]
},
"source-layer": "natural_label"
}
],
"created": "2023-08-06T13:01:12.954Z",
"modified": "2023-08-06T13:04:49.661Z",
"id": "clkzgcnei003701pod9bb574h",
"owner": "yochi",
"visibility": "public",
"protected": false,
"draft": false
}
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"version": 8,
"name": "green",
"metadata": {
"mapbox:type": "default",
"mapbox:origin": "streets-v12",
"mapbox:sdk-support": {
"js": "3.0.0",
"android": "11.0.0",
"ios": "11.0.0"
},
"mapbox:autocomposite": true,
"mapbox:groups": {
"Transit, transit-labels": {
"name": "Transit, transit-labels",
"collapsed": true
},
"Administrative boundaries, admin": {
"name": "Administrative boundaries, admin",
"collapsed": true
},
"Land & water, built": {
"name": "Land & water, built",
"collapsed": true
},
"Transit, bridges": {
"name": "Transit, bridges",
"collapsed": true
},
"Buildings, building-labels": {
"name": "Buildings, building-labels",
"collapsed": true
},
"Transit, surface": {
"name": "Transit, surface",
"collapsed": true
},
"Land & water, land": {
"name": "Land & water, land",
"collapsed": true
},
"Road network, bridges": {
"name": "Road network, bridges",
"collapsed": true
},
"Road network, tunnels": {
"name": "Road network, tunnels",
"collapsed": true
},
"Road network, road-labels": {
"name": "Road network, road-labels",
"collapsed": true
},
"Buildings, built": {
"name": "Buildings, built",
"collapsed": true
},
"Natural features, natural-labels": {
"name": "Natural features, natural-labels",
"collapsed": true
},
"Road network, surface": {
"name": "Road network, surface",
"collapsed": true
},
"Walking, cycling, etc., barriers-bridges": {
"name": "Walking, cycling, etc., barriers-bridges",
"collapsed": true
},
"Place labels, place-labels": {
"name": "Place labels, place-labels",
"collapsed": true
},
"Point of interest labels, poi-labels": {
"name": "Point of interest labels, poi-labels",
"collapsed": true
},
"Walking, cycling, etc., tunnels": {
"name": "Walking, cycling, etc., tunnels",
"collapsed": true
},
"Walking, cycling, etc., walking-cycling-labels": {
"name": "Walking, cycling, etc., walking-cycling-labels",
"collapsed": true
},
"Walking, cycling, etc., surface": {
"name": "Walking, cycling, etc., surface",
"collapsed": true
},
"Transit, built": {
"name": "Transit, built",
"collapsed": true
},
"Land & water, water": {
"name": "Land & water, water",
"collapsed": false
},
"Transit, ferry-aerialway-labels": {
"name": "Transit, ferry-aerialway-labels",
"collapsed": true
}
}
},
"center": [
-92.25,
37.75
],
"zoom": 2,
"bearing": 0,
"pitch": 0,
"fog": {
"range": [
2,
20
],
"color": "hsl(0, 0%, 100%)",
"high-color": "hsl(210, 100%, 80%)",
"space-color": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
5,
"hsl(210, 40%, 30%)",
7,
"hsl(210, 100%, 80%)"
],
"horizon-blend": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
5,
0.02,
7,
0.08
],
"star-intensity": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
5,
0.1,
7,
0
]
},
"sources": {
"composite": {
"url": "mapbox://mapbox.mapbox-streets-v8,mapbox.mapbox-terrain-v2,mapbox.mapbox-bathymetry-v2",
"type": "vector"
}
},
"sprite": "mapbox://sprites/mapbox/streets-v12",
"glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
"projection": {
"name": "globe"
},
"layers": [
{
"id": "land",
"type": "background",
"layout": {},
"paint": {
"background-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
9,
"hsl(20, 20%, 95%)",
11,
"hsl(20, 18%, 91%)"
]
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
}
},
{
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
},
"maxzoom": 12,
"filter": [
"match",
[
"get",
"class"
],
[
"scrub",
"grass"
],
[
"step",
[
"zoom"
],
true,
8,
false
],
true
],
"type": "fill",
"source": "composite",
"id": "landcover",
"paint": {
"fill-color": [
"match",
[
"get",
"class"
],
"wood",
"hsla(115, 55%, 74%, 0.8)",
"snow",
"hsl(200, 70%, 90%)",
"hsl(110, 52%, 81%)"
],
"fill-opacity": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
9,
0.4,
10,
[
"match",
[
"get",
"class"
],
"crop",
0,
0.4
],
11,
[
"match",
[
"get",
"class"
],
"crop",
0,
0.4
],
12,
0
],
"fill-antialias": false
},
"source-layer": "landcover"
},
{
"minzoom": 5,
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
},
"filter": [
"==",
[
"get",
"class"
],
"national_park"
],
"type": "fill",
"source": "composite",
"id": "national-park",
"paint": {
"fill-color": "hsl(110, 41%, 78%)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
5,
0,
6,
0.6,
12,
0.2
]
},
"source-layer": "landuse_overlay"
},
{
"minzoom": 5,
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
},
"filter": [
"all",
[
">=",
[
"to-number",
[
"get",
"sizerank"
]
],
0
],
[
"match",
[
"get",
"class"
],
[
"agriculture",
"wood",
"grass",
"scrub",
"glacier",
"pitch",
"sand"
],
[
"step",
[
"zoom"
],
false,
11,
true
],
"residential",
[
"step",
[
"zoom"
],
true,
10,
false
],
[
"park",
"airport"
],
[
"step",
[
"zoom"
],
false,
8,
[
"case",
[
"==",
[
"get",
"sizerank"
],
1
],
true,
false
],
10,
true
],
[
"facility",
"industrial"
],
[
"step",
[
"zoom"
],
false,
12,
true
],
"cemetery",
[
"step",
[
"zoom"
],
false,
11,
true
],
"school",
[
"step",
[
"zoom"
],
false,
11,
true
],
"hospital",
[
"step",
[
"zoom"
],
false,
11,
true
],
"commercial_area",
[
"step",
[
"zoom"
],
false,
11,
true
],
false
],
[
"<=",
[
"-",
[
"to-number",
[
"get",
"sizerank"
]
],
[
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0,
18,
14
]
],
14
]
],
"type": "fill",
"source": "composite",
"id": "landuse",
"paint": {
"fill-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
[
"match",
[
"get",
"class"
],
"wood",
"hsla(115, 55%, 74%, 0.8)",
"scrub",
"hsla(110, 52%, 82%, 0.6)",
"agriculture",
"hsla(110, 55%, 88%, 0.6)",
"park",
"hsl(110, 60%, 80%)",
"grass",
"hsla(110, 55%, 88%, 0.6)",
"airport",
"hsl(225, 60%, 92%)",
"cemetery",
"hsl(110, 48%, 85%)",
"glacier",
"hsl(200, 70%, 90%)",
"hospital",
"hsl(0, 50%, 92%)",
"pitch",
"hsl(100, 70%, 85%)",
"sand",
"hsl(52, 65%, 86%)",
"school",
"hsl(40, 50%, 88%)",
"commercial_area",
"hsl(45, 55%, 93%)",
"residential",
"hsl(20, 7%, 97%)",
[
"facility",
"industrial"
],
"hsl(230, 20%, 90%)",
"hsl(20, 12%, 87%)"
],
16,
[
"match",
[
"get",
"class"
],
"wood",
"hsla(115, 55%, 74%, 0.8)",
"scrub",
"hsla(110, 52%, 82%, 0.6)",
"agriculture",
"hsla(110, 55%, 88%, 0.6)",
"park",
"hsl(110, 60%, 80%)",
"grass",
"hsla(110, 55%, 88%, 0.6)",
"airport",
"hsl(225, 60%, 92%)",
"cemetery",
"hsl(110, 48%, 85%)",
"glacier",
"hsl(200, 70%, 90%)",
"hospital",
"hsl(0, 50%, 92%)",
"pitch",
"hsl(100, 70%, 85%)",
"sand",
"hsl(52, 65%, 86%)",
"school",
"hsl(40, 50%, 88%)",
"commercial_area",
"hsla(45, 55%, 93%, 0.5)",
[
"facility",
"industrial"
],
"hsl(230, 20%, 90%)",
"hsl(20, 12%, 87%)"
]
],
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
[
"match",
[
"get",
"class"
],
"residential",
0.8,
0.2
],
10,
[
"match",
[
"get",
"class"
],
"residential",
0,
1
]
],
"fill-antialias": false
},
"source-layer": "landuse"
},
{
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
},
"maxzoom": 16,
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"==",
[
"get",
"class"
],
"shadow"
],
11,
true
],
[
"match",
[
"get",
"level"
],
89,
true,
78,
[
"step",
[
"zoom"
],
false,
5,
true
],
67,
[
"step",
[
"zoom"
],
false,
9,
true
],
56,
[
"step",
[
"zoom"
],
false,
6,
true
],
94,
[
"step",
[
"zoom"
],
false,
11,
true
],
90,
[
"step",
[
"zoom"
],
false,
12,
true
],
false
]
],
"type": "fill",
"source": "composite",
"id": "hillshade",
"paint": {
"fill-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
14,
[
"match",
[
"get",
"class"
],
"shadow",
"hsla(40, 41%, 21%, 0.06)",
"hsla(20, 20%, 100%, 0.12)"
],
16,
[
"match",
[
"get",
"class"
],
"shadow",
"hsla(40, 41%, 21%, 0)",
"hsla(20, 20%, 100%, 0)"
]
],
"fill-antialias": false
},
"source-layer": "hillshade"
},
{
"minzoom": 15,
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, land"
},
"filter": [
"==",
[
"get",
"class"
],
"pitch"
],
"type": "line",
"source": "composite",
"id": "pitch-outline",
"paint": {
"line-color": "hsl(100, 65%, 75%)"
},
"source-layer": "landuse"
},
{
"id": "waterway-shadow",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"minzoom": 10,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
11,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
11,
"round"
]
},
"paint": {
"line-color": "hsl(219, 100%, 79%)",
"line-width": [
"interpolate",
[
"exponential",
1.3
],
[
"zoom"
],
9,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
0.1,
0
],
20,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
8,
3
]
],
"line-translate": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
7,
[
"literal",
[
0,
0
]
],
16,
[
"literal",
[
-1,
-1
]
]
],
"line-translate-anchor": "viewport",
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
0,
8.5,
1
]
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, water"
}
},
{
"id": "water-shadow",
"type": "fill",
"source": "composite",
"source-layer": "water",
"minzoom": 10,
"layout": {},
"paint": {
"fill-color": "hsl(219, 100%, 79%)",
"fill-translate": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
7,
[
"literal",
[
0,
0
]
],
16,
[
"literal",
[
-1,
-1
]
]
],
"fill-translate-anchor": "viewport"
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, water"
}
},
{
"id": "waterway",
"type": "line",
"source": "composite",
"source-layer": "waterway",
"minzoom": 8,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
11,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
11,
"round"
]
},
"paint": {
"line-color": "hsl(200, 100%, 80%)",
"line-width": [
"interpolate",
[
"exponential",
1.3
],
[
"zoom"
],
9,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
0.1,
0
],
20,
[
"match",
[
"get",
"class"
],
[
"canal",
"river"
],
8,
3
]
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
0,
8.5,
1
]
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, water"
}
},
{
"id": "water",
"type": "fill",
"source": "composite",
"source-layer": "water",
"layout": {},
"paint": {
"fill-color": "rgb(0, 255, 0)"
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, water"
}
},
{
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, water"
},
"maxzoom": 8,
"type": "fill",
"source": "composite",
"id": "water-depth",
"paint": {
"fill-antialias": false,
"fill-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
6,
[
"interpolate",
[
"linear"
],
[
"get",
"min_depth"
],
0,
"hsla(200, 100%, 80%, 0.35)",
200,
"hsla(200, 100%, 72%, 0.35)",
7000,
"hsla(200, 100%, 64%, 0.35)"
],
8,
[
"interpolate",
[
"linear"
],
[
"get",
"min_depth"
],
0,
"hsla(200, 100%, 80%, 0)",
200,
"hsla(200, 100%, 72%, 0)",
7000,
"hsla(200, 100%, 60%, 0)"
]
]
},
"source-layer": "depth"
},
{
"minzoom": 13,
"layout": {},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, built"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"land"
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"type": "fill",
"source": "composite",
"id": "land-structure-polygon",
"paint": {
"fill-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
9,
"hsl(20, 20%, 95%)",
11,
"hsl(20, 18%, 91%)"
]
},
"source-layer": "structure"
},
{
"minzoom": 13,
"layout": {
"line-cap": "square"
},
"metadata": {
"mapbox:featureComponent": "land-and-water",
"mapbox:group": "Land & water, built"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"land"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "land-structure-line",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.99
],
[
"zoom"
],
14,
0.75,
20,
40
],
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
9,
"hsl(20, 20%, 95%)",
11,
"hsl(20, 18%, 91%)"
]
},
"source-layer": "structure"
},
{
"id": "aeroway-polygon",
"type": "fill",
"source": "composite",
"source-layer": "aeroway",
"minzoom": 11,
"filter": [
"all",
[
"match",
[
"get",
"type"
],
[
"runway",
"taxiway",
"helipad"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"paint": {
"fill-color": "hsl(225, 52%, 87%)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
0,
11,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, built"
}
},
{
"id": "aeroway-line",
"type": "line",
"source": "composite",
"source-layer": "aeroway",
"minzoom": 9,
"filter": [
"==",
[
"geometry-type"
],
"LineString"
],
"paint": {
"line-color": "hsl(225, 52%, 87%)",
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
9,
[
"match",
[
"get",
"type"
],
"runway",
1,
0.5
],
18,
[
"match",
[
"get",
"type"
],
"runway",
80,
20
]
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
0,
11,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, built"
}
},
{
"minzoom": 15,
"layout": {},
"metadata": {
"mapbox:featureComponent": "buildings",
"mapbox:group": "Buildings, built"
},
"filter": [
"all",
[
"!=",
[
"get",
"type"
],
"building:part"
],
[
"==",
[
"get",
"underground"
],
"false"
]
],
"type": "fill",
"source": "composite",
"id": "building",
"paint": {
"fill-color": "hsl(20, 15%, 85%)",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
0,
16,
1
],
"fill-outline-color": "hsla(20, 10%, 72%, 0.8)"
},
"source-layer": "building"
},
{
"minzoom": 15,
"layout": {},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., tunnels"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"path"
],
[
"!=",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "tunnel-path",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
18,
4
],
"line-color": "hsl(20, 32%, 95%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
1,
0.5
]
]
]
},
"source-layer": "road"
},
{
"id": "tunnel-steps",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
16,
1.6,
18,
6
],
"line-color": "hsl(20, 32%, 95%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
0.3,
0.3
]
]
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., tunnels"
}
},
{
"id": "tunnel-pedestrian",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
18,
12
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
2,
0.3
]
],
15,
[
"literal",
[
1,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., tunnels"
}
},
{
"id": "tunnel-minor-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 13%, 72%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-street-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 13%, 72%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "tunnel-minor-link-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
},
"source-layer": "road"
},
{
"id": "tunnel-secondary-tertiary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 11,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 13%, 72%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-primary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 10,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 13%, 72%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-major-link-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(0, 0%, 100%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-motorway-trunk-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-dasharray": [
3,
3
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-construction",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"construction"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
20,
22,
200
],
"line-color": "hsl(220, 20%, 85%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
0.4,
0.8
]
],
15,
[
"literal",
[
0.3,
0.6
]
],
16,
[
"literal",
[
0.2,
0.3
]
],
17,
[
"literal",
[
0.2,
0.25
]
],
18,
[
"literal",
[
0.15,
0.15
]
]
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-minor",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(20, 22%, 94%)",
"hsl(0, 0%, 100%)"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "tunnel-minor-link",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"id": "tunnel-major-link",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsl(30, 100%, 80%)",
"hsl(50, 78%, 80%)"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-street",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(20, 22%, 94%)",
"hsl(0, 0%, 100%)"
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
},
"maxzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "tunnel-street-low",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"id": "tunnel-secondary-tertiary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-color": "hsl(0, 0%, 100%)"
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-primary",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-color": "hsl(0, 0%, 100%)"
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"id": "tunnel-motorway-trunk",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway",
"hsl(30, 100%, 80%)",
"hsl(50, 78%, 80%)"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
}
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": [
"step",
[
"zoom"
],
"oneway-small",
18,
"oneway-large"
],
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"street",
"street_limited",
"tertiary"
],
true,
false
],
16,
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"street",
"street_limited",
"primary_link",
"secondary_link",
"tertiary_link",
"service",
"track"
],
true,
false
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "tunnel-oneway-arrow-blue",
"paint": {},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": [
"step",
[
"zoom"
],
"oneway-white-small",
18,
"oneway-white-large"
],
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, tunnels"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"tunnel"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"motorway_link",
"trunk",
"trunk_link"
],
true,
false
],
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "tunnel-oneway-arrow-white",
"paint": {},
"source-layer": "road"
},
{
"id": "road-pedestrian-polygon-fill",
"type": "fill",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"paint": {
"fill-color": "hsl(20, 20%, 94%)"
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
}
},
{
"id": "road-pedestrian-polygon-pattern",
"type": "fill",
"source": "composite",
"source-layer": "road",
"minzoom": 16,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"paint": {
"fill-pattern": "pedestrian-polygon",
"fill-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
16,
0,
17,
1
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
}
},
{
"minzoom": 12,
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"path"
],
[
"step",
[
"zoom"
],
[
"!",
[
"match",
[
"get",
"type"
],
[
"steps",
"sidewalk",
"crossing"
],
true,
false
]
],
16,
[
"!=",
[
"get",
"type"
],
"steps"
]
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-path-bg",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
18,
7
],
"line-color": "hsl(220, 11%, 79%)"
},
"source-layer": "road"
},
{
"minzoom": 14,
"layout": {
"line-join": "round"
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-steps-bg",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
17,
4.6,
18,
7
],
"line-color": "hsl(220, 11%, 79%)",
"line-opacity": 0.75
},
"source-layer": "road"
},
{
"minzoom": 14,
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-pedestrian-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
14.5
],
"line-color": "hsl(220, 20%, 85%)"
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"path"
],
[
"step",
[
"zoom"
],
[
"!",
[
"match",
[
"get",
"type"
],
[
"steps",
"sidewalk",
"crossing"
],
true,
false
]
],
16,
[
"!=",
[
"get",
"type"
],
"steps"
]
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-path",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
13,
0.5,
14,
1,
15,
1,
18,
4
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
4,
0.3
]
],
15,
[
"literal",
[
1.75,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
},
"source-layer": "road"
},
{
"minzoom": 14,
"layout": {
"line-join": "round"
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-steps",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
16,
1.6,
18,
6
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
0.3,
0.3
]
]
]
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-pedestrian",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
18,
12
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
2,
0.3
]
],
15,
[
"literal",
[
1,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
},
"source-layer": "road"
},
{
"id": "golf-hole-line",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 16,
"filter": [
"==",
[
"get",
"class"
],
"golf"
],
"paint": {
"line-color": "hsl(110, 29%, 70%)"
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., surface"
}
},
{
"id": "road-polygon",
"type": "fill",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"primary_link",
"secondary_link",
"tertiary_link",
"trunk",
"trunk_link",
"street",
"street_limited",
"track",
"service"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Polygon"
]
],
"paint": {
"fill-color": "hsl(0, 0%, 100%)",
"fill-outline-color": "hsl(220, 20%, 85%)"
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
}
},
{
"id": "turning-feature-outline",
"type": "circle",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"turning_circle",
"turning_loop"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"paint": {
"circle-radius": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
4.5,
16,
8,
18,
20,
22,
200
],
"circle-color": "hsl(0, 0%, 100%)",
"circle-stroke-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
0.8,
16,
1.2,
18,
2
],
"circle-stroke-color": "hsl(220, 20%, 85%)",
"circle-pitch-alignment": "map"
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-minor-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
]
},
"source-layer": "road"
},
{
"minzoom": 14,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-street-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-minor-link-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
},
"source-layer": "road"
},
{
"minzoom": 11,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-secondary-tertiary-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
]
},
"source-layer": "road"
},
{
"minzoom": 10,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"primary"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-primary-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
]
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-major-link-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
},
"source-layer": "road"
},
{
"minzoom": 3,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
5,
[
"all",
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-motorway-trunk-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
3.5,
1
]
},
"source-layer": "road"
},
{
"id": "turning-feature",
"type": "circle",
"source": "composite",
"source-layer": "road",
"minzoom": 15,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"turning_circle",
"turning_loop"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"paint": {
"circle-radius": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
4.5,
16,
8,
18,
20,
22,
200
],
"circle-color": "hsl(0, 0%, 100%)",
"circle-pitch-alignment": "map"
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
}
},
{
"id": "road-construction",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"construction"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
20,
22,
200
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
0.4,
0.8
]
],
15,
[
"literal",
[
0.3,
0.6
]
],
16,
[
"literal",
[
0.2,
0.3
]
],
17,
[
"literal",
[
0.2,
0.25
]
],
18,
[
"literal",
[
0.15,
0.15
]
]
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-minor",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-minor-link",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-major-link",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-street",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(20, 22%, 94%)",
"hsl(0, 0%, 100%)"
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
},
"source-layer": "road"
},
{
"minzoom": 11,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"maxzoom": 14,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-street-low",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 9,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-secondary-tertiary",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 6,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"primary"
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-primary",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 3,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
5,
[
"all",
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "road-motorway-trunk",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-color": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
"motorway",
"hsl(30, 88%, 64%)",
"trunk",
"hsl(50, 81%, 54%)",
"hsl(20, 18%, 100%)"
],
9,
[
"match",
[
"get",
"class"
],
"motorway",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
3.5,
1
]
},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"icon-image": "level-crossing",
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"level_crossing"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "level-crossing",
"paint": {},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": [
"step",
[
"zoom"
],
"oneway-small",
18,
"oneway-large"
],
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"street",
"street_limited"
],
true,
false
],
16,
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"street",
"street_limited",
"primary_link",
"secondary_link",
"tertiary_link",
"service",
"track"
],
true,
false
]
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-oneway-arrow-blue",
"paint": {},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": [
"step",
[
"zoom"
],
"oneway-white-small",
18,
"oneway-white-large"
],
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"motorway_link",
"trunk_link"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-oneway-arrow-white",
"paint": {},
"source-layer": "road"
},
{
"minzoom": 17,
"layout": {
"icon-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
16,
0.1,
18,
0.2,
19,
0.5,
22,
1.5
],
"icon-image": [
"step",
[
"zoom"
],
"crosswalk-small",
18,
"crosswalk-large"
],
"icon-rotate": [
"get",
"direction"
],
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, surface"
},
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"crosswalk"
],
[
"==",
[
"geometry-type"
],
"Point"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "crosswalks",
"paint": {},
"source-layer": "structure"
},
{
"id": "ferry",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"==",
[
"get",
"type"
],
"ferry"
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
"hsl(209, 93%, 73%)",
17,
"hsl(234, 93%, 73%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
],
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
13,
[
"literal",
[
12,
4
]
]
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, surface"
}
},
{
"id": "ferry-auto",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 8,
"filter": [
"==",
[
"get",
"type"
],
"ferry_auto"
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
15,
"hsl(209, 93%, 73%)",
17,
"hsl(234, 93%, 73%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, surface"
}
},
{
"id": "road-rail",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(35, 25%, 82%)",
16,
"hsl(220, 4%, 71%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, surface"
}
},
{
"id": "road-rail-tracks",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
],
[
"match",
[
"get",
"structure"
],
[
"none",
"ford"
],
true,
false
]
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(35, 25%, 82%)",
16,
"hsl(220, 4%, 71%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
4,
20,
8
],
"line-dasharray": [
0.1,
15
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13.75,
0,
14,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, surface"
}
},
{
"minzoom": 14,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"path"
],
[
"step",
[
"zoom"
],
[
"!",
[
"match",
[
"get",
"type"
],
[
"steps",
"sidewalk",
"crossing"
],
true,
false
]
],
16,
[
"!=",
[
"get",
"type"
],
"steps"
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-path-bg",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
18,
7
],
"line-color": "hsl(220, 11%, 79%)"
},
"source-layer": "road"
},
{
"id": "bridge-steps-bg",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
2,
17,
4.6,
18,
7
],
"line-color": "hsl(220, 11%, 79%)",
"line-opacity": 0.75
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
}
},
{
"id": "bridge-pedestrian-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
14.5
],
"line-color": "hsl(220, 20%, 85%)"
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
}
},
{
"minzoom": 14,
"layout": {},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"path"
],
[
"!=",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-path",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
18,
4
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
4,
0.3
]
],
15,
[
"literal",
[
1.75,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
},
"source-layer": "road"
},
{
"id": "bridge-steps",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"type"
],
"steps"
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
15,
1,
16,
1.6,
18,
6
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
1,
0
]
],
15,
[
"literal",
[
1.75,
1
]
],
16,
[
"literal",
[
1,
0.75
]
],
17,
[
"literal",
[
0.3,
0.3
]
]
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
}
},
{
"id": "bridge-pedestrian",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"pedestrian"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
18,
12
],
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
2,
0.3
]
],
15,
[
"literal",
[
1,
0.3
]
],
16,
[
"literal",
[
1,
0.3
]
],
17,
[
"literal",
[
1,
0.25
]
]
]
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., barriers-bridges"
}
},
{
"id": "bridge-minor-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-street-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"minzoom": 13,
"layout": {
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-minor-link-case",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-opacity": [
"step",
[
"zoom"
],
0,
11,
1
]
},
"source-layer": "road"
},
{
"id": "bridge-secondary-tertiary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 11,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-opacity": [
"step",
[
"zoom"
],
0,
10,
1
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-primary-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 10,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 85%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-opacity": [
"step",
[
"zoom"
],
0,
10,
1
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-major-link-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-motorway-trunk-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-construction",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"construction"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
2,
18,
20,
22,
200
],
"line-color": "hsl(220, 20%, 85%)",
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
0.4,
0.8
]
],
15,
[
"literal",
[
0.3,
0.6
]
],
16,
[
"literal",
[
0.2,
0.3
]
],
17,
[
"literal",
[
0.2,
0.25
]
],
18,
[
"literal",
[
0.15,
0.15
]
]
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"track"
],
true,
"service",
[
"step",
[
"zoom"
],
false,
14,
true
],
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-minor",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
18,
10,
22,
100
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"primary_link",
"secondary_link",
"tertiary_link"
],
true,
false
],
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-minor-link",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.4,
18,
18,
22,
180
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 12,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-major-link",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-street",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"street_limited",
"hsl(20, 22%, 94%)",
"hsl(0, 0%, 100%)"
],
"line-opacity": [
"step",
[
"zoom"
],
0,
14,
1
]
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
],
"line-join": [
"step",
[
"zoom"
],
"miter",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"maxzoom": 14,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"street",
"street_limited"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-street-low",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.5,
18,
20,
22,
200
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"secondary",
"tertiary"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-secondary-tertiary",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0,
18,
26,
22,
260
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"class"
],
"primary"
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-primary",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
28,
22,
280
],
"line-color": "hsl(0, 0%, 100%)"
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"<=",
[
"get",
"layer"
],
1
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-motorway-trunk",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
},
"source-layer": "road"
},
{
"id": "bridge-major-link-2-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.8,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"id": "bridge-motorway-trunk-2-case",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
22,
2
],
"line-color": "hsl(220, 20%, 97%)",
"line-gap-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
}
},
{
"minzoom": 12,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
13,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-major-link-2",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
12,
0.8,
18,
20,
22,
200
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway_link",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"line-cap": [
"step",
[
"zoom"
],
"butt",
14,
"round"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
">=",
[
"get",
"layer"
],
2
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
true,
false
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "line",
"source": "composite",
"id": "bridge-motorway-trunk-2",
"paint": {
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
3,
0.8,
18,
30,
22,
300
],
"line-color": [
"match",
[
"get",
"class"
],
"motorway",
"hsl(30, 100%, 70%)",
"hsl(50, 89%, 70%)"
]
},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": [
"step",
[
"zoom"
],
"oneway-small",
18,
"oneway-large"
],
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"street",
"street_limited"
],
true,
false
],
16,
[
"match",
[
"get",
"class"
],
[
"primary",
"secondary",
"tertiary",
"street",
"street_limited",
"primary_link",
"secondary_link",
"tertiary_link",
"service",
"track"
],
true,
false
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "bridge-oneway-arrow-blue",
"paint": {},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"symbol-placement": "line",
"icon-image": "oneway-white-small",
"symbol-spacing": 200,
"icon-rotation-alignment": "map",
"icon-allow-overlap": true,
"icon-ignore-placement": true
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, bridges"
},
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"motorway_link",
"trunk_link"
],
true,
false
],
[
"==",
[
"get",
"oneway"
],
"true"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "bridge-oneway-arrow-white",
"paint": {},
"source-layer": "road"
},
{
"id": "bridge-rail",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
]
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(35, 25%, 82%)",
16,
"hsl(220, 4%, 71%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
0.5,
20,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, bridges"
}
},
{
"id": "bridge-rail-tracks",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 13,
"filter": [
"all",
[
"==",
[
"get",
"structure"
],
"bridge"
],
[
"match",
[
"get",
"class"
],
[
"major_rail",
"minor_rail"
],
true,
false
]
],
"paint": {
"line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
"hsl(35, 25%, 82%)",
16,
"hsl(220, 4%, 71%)"
],
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
4,
20,
8
],
"line-dasharray": [
0.1,
15
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13.75,
0,
14,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, bridges"
}
},
{
"id": "aerialway",
"type": "line",
"source": "composite",
"source-layer": "road",
"minzoom": 12,
"filter": [
"==",
[
"get",
"class"
],
"aerialway"
],
"paint": {
"line-color": "hsl(225, 60%, 58%)",
"line-width": [
"interpolate",
[
"exponential",
1.5
],
[
"zoom"
],
14,
1,
20,
2
],
"line-dasharray": [
4,
1
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, bridges"
}
},
{
"id": "admin-1-boundary-bg",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 7,
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
1
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
]
],
"paint": {
"line-color": "hsl(240, 100%, 100%)",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
3,
12,
6
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
7,
0,
8,
0.5
],
"line-dasharray": [
1,
0
],
"line-blur": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
12,
3
]
},
"metadata": {
"mapbox:featureComponent": "admin-boundaries",
"mapbox:group": "Administrative boundaries, admin"
}
},
{
"id": "admin-0-boundary-bg",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 1,
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
0
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
]
],
"paint": {
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
4,
12,
8
],
"line-color": "hsl(240, 100%, 100%)",
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
4,
0.5
],
"line-blur": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0,
12,
2
]
},
"metadata": {
"mapbox:featureComponent": "admin-boundaries",
"mapbox:group": "Administrative boundaries, admin"
}
},
{
"minzoom": 2,
"layout": {},
"metadata": {
"mapbox:featureComponent": "admin-boundaries",
"mapbox:group": "Administrative boundaries, admin"
},
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
1
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
]
],
"type": "line",
"source": "composite",
"id": "admin-1-boundary",
"paint": {
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
2,
0
]
],
7,
[
"literal",
[
2,
2,
6,
2
]
]
],
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0.3,
12,
1.5
],
"line-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
2,
0,
3,
1
],
"line-color": "hsl(240, 50%, 65%)"
},
"source-layer": "admin"
},
{
"minzoom": 1,
"layout": {},
"metadata": {
"mapbox:featureComponent": "admin-boundaries",
"mapbox:group": "Administrative boundaries, admin"
},
"filter": [
"all",
[
"==",
[
"get",
"admin_level"
],
0
],
[
"==",
[
"get",
"disputed"
],
"false"
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
]
],
"type": "line",
"source": "composite",
"id": "admin-0-boundary",
"paint": {
"line-color": "hsl(240, 50%, 60%)",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0.5,
12,
2
],
"line-dasharray": [
10,
0
]
},
"source-layer": "admin"
},
{
"id": "admin-0-boundary-disputed",
"type": "line",
"source": "composite",
"source-layer": "admin",
"minzoom": 1,
"filter": [
"all",
[
"==",
[
"get",
"disputed"
],
"true"
],
[
"==",
[
"get",
"admin_level"
],
0
],
[
"==",
[
"get",
"maritime"
],
"false"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
]
],
"paint": {
"line-color": "hsl(240, 50%, 60%)",
"line-width": [
"interpolate",
[
"linear"
],
[
"zoom"
],
3,
0.5,
12,
2
],
"line-dasharray": [
"step",
[
"zoom"
],
[
"literal",
[
3,
2,
5
]
],
7,
[
"literal",
[
2,
1.5
]
]
]
},
"metadata": {
"mapbox:featureComponent": "admin-boundaries",
"mapbox:group": "Administrative boundaries, admin"
}
},
{
"minzoom": 18,
"layout": {
"icon-image": "marker",
"text-field": [
"get",
"ref"
],
"text-size": 10,
"text-offset": [
0,
-0.5
],
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
]
},
"metadata": {
"mapbox:featureComponent": "buildings",
"mapbox:group": "Buildings, building-labels"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"entrance"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "building-entrance",
"paint": {
"text-color": "hsl(20, 8%, 52%)",
"text-halo-color": "hsl(20, 13%, 92%)",
"text-halo-width": 1,
"icon-opacity": 0.4
},
"source-layer": "structure"
},
{
"minzoom": 17,
"layout": {
"text-field": [
"get",
"house_num"
],
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
],
"text-padding": 4,
"text-max-width": 7,
"text-size": 10
},
"metadata": {
"mapbox:featureComponent": "buildings",
"mapbox:group": "Buildings, building-labels"
},
"filter": [
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
"type": "symbol",
"source": "composite",
"id": "building-number-label",
"paint": {
"text-color": "hsl(20, 8%, 52%)",
"text-halo-color": "hsl(20, 13%, 92%)",
"text-halo-width": 1
},
"source-layer": "housenum_label"
},
{
"minzoom": 16,
"layout": {
"text-field": [
"get",
"name"
],
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
],
"text-max-width": 7,
"text-size": 11
},
"metadata": {
"mapbox:featureComponent": "buildings",
"mapbox:group": "Buildings, building-labels"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"settlement_subdivision"
],
[
"==",
[
"get",
"type"
],
"block"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "block-number-label",
"paint": {
"text-color": "hsl(20, 18%, 57%)",
"text-halo-color": "hsl(20, 17%, 100%)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
},
"source-layer": "place_label"
},
{
"minzoom": 10,
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary"
],
10,
[
"motorway_link",
"trunk_link",
"primary_link",
"secondary_link",
"tertiary_link",
"street",
"street_limited"
],
9,
6.5
],
18,
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary"
],
16,
[
"motorway_link",
"trunk_link",
"primary_link",
"secondary_link",
"tertiary_link",
"street",
"street_limited"
],
14,
13
]
],
"text-max-angle": 30,
"text-font": [
"DIN Pro Regular",
"Arial Unicode MS Regular"
],
"symbol-placement": "line",
"text-padding": 5,
"text-rotation-alignment": "map",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, road-labels"
},
"filter": [
"all",
[
"has",
"name"
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary"
],
true,
false
],
12,
[
"match",
[
"get",
"class"
],
[
"motorway",
"trunk",
"primary",
"secondary",
"tertiary",
"street",
"street_limited"
],
true,
false
],
15,
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian",
"golf",
"ferry",
"aerialway"
],
false,
true
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
2
],
60,
[
"<",
[
"distance-from-center"
],
2.5
],
70,
[
"<",
[
"distance-from-center"
],
3
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-label",
"paint": {
"text-color": "hsl(0,0%, 0%)",
"text-halo-color": [
"match",
[
"get",
"class"
],
[
"motorway",
"trunk"
],
"hsla(20, 25%, 100%, 0.75)",
"hsl(20, 25%, 100%)"
],
"text-halo-width": 1,
"text-halo-blur": 1
},
"source-layer": "road"
},
{
"minzoom": 15,
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"icon-image": "intersection",
"icon-text-fit": "both",
"icon-text-fit-padding": [
1,
2,
1,
2
],
"text-size": [
"interpolate",
[
"exponential",
1.2
],
[
"zoom"
],
15,
9,
18,
12
],
"text-font": [
"DIN Pro Bold",
"Arial Unicode MS Bold"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, road-labels"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"intersection"
],
[
"has",
"name"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-intersection",
"paint": {
"text-color": "hsl(230, 57%, 64%)"
},
"source-layer": "road"
},
{
"minzoom": 6,
"layout": {
"text-size": 9,
"icon-image": [
"case",
[
"has",
"shield_beta"
],
[
"coalesce",
[
"image",
[
"concat",
[
"get",
"shield_beta"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
[
"image",
[
"concat",
[
"get",
"shield"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
[
"image",
[
"concat",
"default-",
[
"to-string",
[
"get",
"reflen"
]
]
]
]
],
[
"concat",
[
"get",
"shield"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
"icon-rotation-alignment": "viewport",
"text-max-angle": 38,
"symbol-spacing": [
"interpolate",
[
"linear"
],
[
"zoom"
],
11,
400,
14,
600
],
"text-font": [
"DIN Pro Bold",
"Arial Unicode MS Bold"
],
"symbol-placement": [
"step",
[
"zoom"
],
"point",
11,
"line"
],
"text-rotation-alignment": "viewport",
"text-field": [
"get",
"ref"
],
"text-letter-spacing": 0.05
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, road-labels"
},
"filter": [
"all",
[
"case",
[
"has",
"reflen"
],
[
"<=",
[
"get",
"reflen"
],
6
],
[
"has",
"shield_beta"
]
],
[
"match",
[
"get",
"class"
],
[
"pedestrian",
"service"
],
false,
true
],
[
"step",
[
"zoom"
],
[
"==",
[
"geometry-type"
],
"Point"
],
11,
[
">",
[
"get",
"len"
],
5000
],
12,
[
">",
[
"get",
"len"
],
2500
],
13,
[
">",
[
"get",
"len"
],
1000
],
14,
true
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
2
],
60,
[
"<",
[
"distance-from-center"
],
2.5
],
70,
[
"<",
[
"distance-from-center"
],
3
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-number-shield",
"paint": {
"text-color": [
"case",
[
"has",
"shield_beta"
],
[
"case",
[
"all",
[
"has",
"shield_text_color_beta"
],
[
"to-boolean",
[
"coalesce",
[
"image",
[
"concat",
[
"get",
"shield_beta"
],
"-",
[
"to-string",
[
"get",
"reflen"
]
]
]
],
""
]
]
],
[
"match",
[
"get",
"shield_text_color_beta"
],
"white",
"hsl(0, 0%, 100%)",
"yellow",
"hsl(50, 100%, 70%)",
"orange",
"hsl(25, 100%, 75%)",
"blue",
"hsl(230, 57%, 44%)",
"red",
"hsl(0, 87%, 59%)",
"green",
"hsl(140, 74%, 37%)",
"hsl(230, 18%, 13%)"
],
"hsl(230, 18%, 13%)"
],
[
"match",
[
"get",
"shield_text_color"
],
"white",
"hsl(0, 0%, 100%)",
"yellow",
"hsl(50, 100%, 70%)",
"orange",
"hsl(25, 100%, 75%)",
"blue",
"hsl(230, 57%, 44%)",
"red",
"hsl(0, 87%, 59%)",
"green",
"hsl(140, 74%, 37%)",
"hsl(230, 18%, 13%)"
]
]
},
"source-layer": "road"
},
{
"minzoom": 14,
"layout": {
"text-field": [
"get",
"ref"
],
"text-size": 9,
"icon-image": [
"concat",
"motorway-exit-",
[
"to-string",
[
"get",
"reflen"
]
]
],
"text-font": [
"DIN Pro Bold",
"Arial Unicode MS Bold"
]
},
"metadata": {
"mapbox:featureComponent": "road-network",
"mapbox:group": "Road network, road-labels"
},
"filter": [
"all",
[
"has",
"reflen"
],
[
"<=",
[
"get",
"reflen"
],
9
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "road-exit-shield",
"paint": {
"text-color": "hsl(0, 0%, 100%)",
"text-translate": [
0,
0
]
},
"source-layer": "motorway_junction"
},
{
"minzoom": 12,
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
[
"match",
[
"get",
"class"
],
"pedestrian",
9,
6.5
],
18,
[
"match",
[
"get",
"class"
],
"pedestrian",
14,
13
]
],
"text-max-angle": 30,
"text-font": [
"DIN Pro Regular",
"Arial Unicode MS Regular"
],
"symbol-placement": "line",
"text-padding": 1,
"text-rotation-alignment": "map",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., walking-cycling-labels"
},
"filter": [
"all",
[
"case",
[
"has",
"layer"
],
[
">=",
[
"get",
"layer"
],
0
],
true
],
[
"step",
[
"zoom"
],
[
"match",
[
"get",
"class"
],
[
"pedestrian"
],
true,
false
],
15,
[
"match",
[
"get",
"class"
],
[
"path",
"pedestrian"
],
true,
false
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "path-pedestrian-label",
"paint": {
"text-color": "hsl(0,0%, 0%)",
"text-halo-color": "hsl(20, 25%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 1
},
"source-layer": "road"
},
{
"minzoom": 16,
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-size": 12
},
"metadata": {
"mapbox:featureComponent": "walking-cycling",
"mapbox:group": "Walking, cycling, etc., walking-cycling-labels"
},
"filter": [
"all",
[
"==",
[
"get",
"class"
],
"golf"
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "golf-hole-label",
"paint": {
"text-halo-color": "hsl(110, 65%, 65%)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5,
"text-color": "hsl(110, 70%, 28%)"
},
"source-layer": "road"
},
{
"minzoom": 15,
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
10,
6.5,
18,
13
],
"text-max-angle": 30,
"text-font": [
"DIN Pro Regular",
"Arial Unicode MS Regular"
],
"symbol-placement": "line",
"text-padding": 1,
"text-rotation-alignment": "map",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.01
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, ferry-aerialway-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
"aerialway",
true,
"ferry",
true,
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "ferry-aerialway-label",
"paint": {
"text-color": [
"match",
[
"get",
"class"
],
"ferry",
"hsl(200, 68%, 60%)",
"hsl(225, 60%, 58%)"
],
"text-halo-color": [
"match",
[
"get",
"class"
],
"ferry",
"hsl(200, 100%, 80%)",
"hsl(20, 20%, 100%)"
],
"text-halo-width": 1,
"text-halo-blur": 1
},
"source-layer": "road"
},
{
"minzoom": 13,
"layout": {
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
],
"text-max-angle": 30,
"symbol-spacing": [
"interpolate",
[
"linear",
1
],
[
"zoom"
],
15,
250,
17,
400
],
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
13,
12,
18,
18
],
"symbol-placement": "line",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
},
"metadata": {
"mapbox:featureComponent": "natural-features",
"mapbox:group": "Natural features, natural-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"canal",
"river",
"stream",
"disputed_canal",
"disputed_river",
"disputed_stream"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "symbol",
"source": "composite",
"id": "waterway-label",
"paint": {
"text-color": "hsl(200, 68%, 57%)",
"text-halo-color": "hsla(20, 17%, 100%, 0.5)"
},
"source-layer": "natural_label"
},
{
"minzoom": 4,
"layout": {
"text-size": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
18,
5,
12
],
17,
[
"step",
[
"get",
"sizerank"
],
18,
13,
12
]
],
"text-max-angle": 30,
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"symbol-placement": "line-center",
"text-pitch-alignment": "viewport"
},
"metadata": {
"mapbox:featureComponent": "natural-features",
"mapbox:group": "Natural features, natural-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"glacier",
"landform",
"disputed_glacier",
"disputed_landform"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"<=",
[
"get",
"filterrank"
],
2
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "symbol",
"source": "composite",
"id": "natural-line-label",
"paint": {
"text-halo-width": 0.5,
"text-halo-color": "hsl(20, 17%, 100%)",
"text-halo-blur": 0.5,
"text-color": "hsl(210, 20%, 46%)"
},
"source-layer": "natural_label"
},
{
"minzoom": 4,
"layout": {
"text-size": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
18,
5,
12
],
17,
[
"step",
[
"get",
"sizerank"
],
18,
13,
12
]
],
"icon-image": [
"case",
[
"has",
"maki_beta"
],
[
"coalesce",
[
"image",
[
"get",
"maki_beta"
]
],
[
"image",
[
"get",
"maki"
]
]
],
[
"image",
[
"get",
"maki"
]
]
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-offset": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
5,
[
"literal",
[
0,
0.75
]
]
],
17,
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
13,
[
"literal",
[
0,
0.75
]
]
]
],
"text-anchor": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
"center",
5,
"top"
],
17,
[
"step",
[
"get",
"sizerank"
],
"center",
13,
"top"
]
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
},
"metadata": {
"mapbox:featureComponent": "natural-features",
"mapbox:group": "Natural features, natural-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"dock",
"glacier",
"landform",
"water_feature",
"wetland",
"disputed_dock",
"disputed_glacier",
"disputed_landform",
"disputed_water_feature",
"disputed_wetland"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"<=",
[
"get",
"filterrank"
],
2
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"type": "symbol",
"source": "composite",
"id": "natural-point-label",
"paint": {
"icon-opacity": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
0,
5,
1
],
17,
[
"step",
[
"get",
"sizerank"
],
0,
13,
1
]
],
"text-halo-color": "hsl(20, 20%, 100%)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5,
"text-color": "hsl(210, 20%, 46%)"
},
"source-layer": "natural_label"
},
{
"minzoom": 1,
"layout": {
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
[
"*",
[
"-",
16,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
],
22,
[
"*",
[
"-",
22,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
]
],
"text-max-angle": 30,
"text-letter-spacing": [
"match",
[
"get",
"class"
],
"ocean",
0.25,
[
"sea",
"bay"
],
0.15,
0
],
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
],
"symbol-placement": "line-center",
"text-pitch-alignment": "viewport",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
},
"metadata": {
"mapbox:featureComponent": "natural-features",
"mapbox:group": "Natural features, natural-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"reservoir",
"sea",
"water",
"disputed_bay",
"disputed_ocean",
"disputed_reservoir",
"disputed_sea",
"disputed_water"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"LineString"
]
],
"type": "symbol",
"source": "composite",
"id": "water-line-label",
"paint": {
"text-color": [
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"sea"
],
"hsl(200, 96%, 57%)",
"hsl(200, 68%, 57%)"
],
"text-halo-color": "hsla(20, 17%, 100%, 0.5)"
},
"source-layer": "natural_label"
},
{
"minzoom": 1,
"layout": {
"text-line-height": 1.3,
"text-size": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
[
"*",
[
"-",
16,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
],
22,
[
"*",
[
"-",
22,
[
"sqrt",
[
"get",
"sizerank"
]
]
],
1
]
],
"text-font": [
"DIN Pro Italic",
"Arial Unicode MS Regular"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": [
"match",
[
"get",
"class"
],
"ocean",
0.25,
[
"bay",
"sea"
],
0.15,
0.01
],
"text-max-width": [
"match",
[
"get",
"class"
],
"ocean",
4,
"sea",
5,
[
"bay",
"water"
],
7,
10
]
},
"metadata": {
"mapbox:featureComponent": "natural-features",
"mapbox:group": "Natural features, natural-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"reservoir",
"sea",
"water",
"disputed_bay",
"disputed_ocean",
"disputed_reservoir",
"disputed_sea",
"disputed_water"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
],
[
"==",
[
"geometry-type"
],
"Point"
]
],
"type": "symbol",
"source": "composite",
"id": "water-point-label",
"paint": {
"text-color": [
"match",
[
"get",
"class"
],
[
"bay",
"ocean",
"sea"
],
"hsl(200, 96%, 57%)",
"hsl(200, 68%, 57%)"
],
"text-halo-color": "hsla(20, 17%, 100%, 0.5)"
},
"source-layer": "natural_label"
},
{
"minzoom": 6,
"layout": {
"text-size": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
18,
5,
12
],
17,
[
"step",
[
"get",
"sizerank"
],
18,
13,
12
]
],
"icon-image": [
"case",
[
"has",
"maki_beta"
],
[
"coalesce",
[
"image",
[
"get",
"maki_beta"
]
],
[
"image",
[
"get",
"maki"
]
]
],
[
"image",
[
"get",
"maki"
]
]
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-offset": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
5,
[
"literal",
[
0,
0.8
]
]
],
17,
[
"step",
[
"get",
"sizerank"
],
[
"literal",
[
0,
0
]
],
13,
[
"literal",
[
0,
0.8
]
]
]
],
"text-anchor": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
"center",
5,
"top"
],
17,
[
"step",
[
"get",
"sizerank"
],
"center",
13,
"top"
]
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
},
"metadata": {
"mapbox:featureComponent": "point-of-interest-labels",
"mapbox:group": "Point of interest labels, poi-labels"
},
"filter": [
"all",
[
"<=",
[
"get",
"filterrank"
],
[
"+",
[
"step",
[
"zoom"
],
0,
16,
1,
17,
2
],
3
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
2
],
60,
[
"<",
[
"distance-from-center"
],
2.5
],
70,
[
"<",
[
"distance-from-center"
],
3
]
]
],
"type": "symbol",
"source": "composite",
"id": "poi-label",
"paint": {
"icon-opacity": [
"step",
[
"zoom"
],
[
"step",
[
"get",
"sizerank"
],
0,
5,
1
],
17,
[
"step",
[
"get",
"sizerank"
],
0,
13,
1
]
],
"text-halo-color": "hsl(20, 20%, 100%)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5,
"text-color": [
"match",
[
"get",
"class"
],
"food_and_drink",
"hsl(40, 95%, 43%)",
"park_like",
"hsl(110, 70%, 28%)",
"education",
"hsl(30, 50%, 43%)",
"medical",
"hsl(0, 70%, 58%)",
"sport_and_leisure",
"hsl(190, 60%, 48%)",
[
"store_like",
"food_and_drink_stores"
],
"hsl(210, 70%, 58%)",
[
"commercial_services",
"motorist",
"lodging"
],
"hsl(260, 70%, 63%)",
[
"arts_and_entertainment",
"historic",
"landmark"
],
"hsl(320, 70%, 63%)",
"hsl(210, 20%, 46%)"
]
},
"source-layer": "poi_label"
},
{
"minzoom": 12,
"layout": {
"text-size": 12,
"icon-image": [
"get",
"network"
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-justify": [
"match",
[
"get",
"stop_type"
],
"entrance",
"left",
"center"
],
"text-offset": [
"match",
[
"get",
"stop_type"
],
"entrance",
[
"literal",
[
1,
0
]
],
[
"literal",
[
0,
0.8
]
]
],
"text-anchor": [
"match",
[
"get",
"stop_type"
],
"entrance",
"left",
"top"
],
"text-field": [
"step",
[
"zoom"
],
"",
13,
[
"match",
[
"get",
"mode"
],
[
"rail",
"metro_rail"
],
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
""
],
14,
[
"match",
[
"get",
"mode"
],
[
"bus",
"bicycle"
],
"",
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
18,
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
"text-letter-spacing": 0.01,
"text-max-width": [
"match",
[
"get",
"stop_type"
],
"entrance",
15,
9
]
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, transit-labels"
},
"filter": [
"all",
[
"step",
[
"zoom"
],
[
"all",
[
"<=",
[
"get",
"filterrank"
],
4
],
[
"match",
[
"get",
"mode"
],
"rail",
true,
"metro_rail",
true,
false
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
14,
[
"all",
[
"match",
[
"get",
"mode"
],
"rail",
true,
"metro_rail",
true,
false
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
15,
[
"all",
[
"match",
[
"get",
"mode"
],
"rail",
true,
"metro_rail",
true,
"ferry",
true,
"light_rail",
true,
false
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
16,
[
"all",
[
"match",
[
"get",
"mode"
],
"bus",
false,
true
],
[
"!=",
[
"get",
"stop_type"
],
"entrance"
]
],
17,
[
"!=",
[
"get",
"stop_type"
],
"entrance"
],
19,
true
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
1
],
60,
[
"<",
[
"distance-from-center"
],
1.5
],
70,
[
"<",
[
"distance-from-center"
],
2
]
]
],
"type": "symbol",
"source": "composite",
"id": "transit-label",
"paint": {
"text-halo-color": "hsl(20, 20%, 100%)",
"text-color": [
"match",
[
"get",
"network"
],
"tokyo-metro",
"hsl(180, 50%, 30%)",
"mexico-city-metro",
"hsl(25, 100%, 63%)",
[
"barcelona-metro",
"delhi-metro",
"hong-kong-mtr",
"milan-metro",
"osaka-subway"
],
"hsl(0, 90%, 47%)",
[
"boston-t",
"washington-metro"
],
"hsl(230, 18%, 20%)",
[
"chongqing-rail-transit",
"kiev-metro",
"singapore-mrt",
"taipei-metro"
],
"hsl(140, 90%, 25%)",
"hsl(225, 60%, 58%)"
],
"text-halo-blur": 0.5,
"text-halo-width": 0.5
},
"source-layer": "transit_stop_label"
},
{
"minzoom": 8,
"layout": {
"text-line-height": 1.1,
"text-size": [
"step",
[
"get",
"sizerank"
],
18,
9,
12
],
"icon-image": [
"get",
"maki"
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-offset": [
0,
0.8
],
"text-rotation-alignment": "viewport",
"text-anchor": "top",
"text-field": [
"step",
[
"get",
"sizerank"
],
[
"case",
[
"has",
"ref"
],
[
"concat",
[
"get",
"ref"
],
" -\n",
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
[
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
]
],
15,
[
"get",
"ref"
]
],
"text-letter-spacing": 0.01,
"text-max-width": 9
},
"metadata": {
"mapbox:featureComponent": "transit",
"mapbox:group": "Transit, transit-labels"
},
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"military",
"civil",
"disputed_military",
"disputed_civil"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "airport-label",
"paint": {
"text-color": "hsl(225, 60%, 58%)",
"text-halo-color": "hsl(20, 20%, 100%)",
"text-halo-width": 1
},
"source-layer": "airport_label"
},
{
"minzoom": 10,
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-transform": "uppercase",
"text-font": [
"DIN Pro Regular",
"Arial Unicode MS Regular"
],
"text-letter-spacing": [
"match",
[
"get",
"type"
],
"suburb",
0.15,
0.05
],
"text-max-width": 7,
"text-padding": 3,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.5,
0,
1,
1
],
[
"zoom"
],
11,
[
"match",
[
"get",
"type"
],
"suburb",
11,
10.5
],
15,
[
"match",
[
"get",
"type"
],
"suburb",
15,
14
]
]
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 15,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"settlement_subdivision",
"disputed_settlement_subdivision"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"<=",
[
"get",
"filterrank"
],
3
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "settlement-subdivision-label",
"paint": {
"text-halo-color": "hsla(20, 25%, 100%, 0.75)",
"text-halo-width": 1,
"text-color": "hsl(220, 30%, 40%)",
"text-halo-blur": 0.5
},
"source-layer": "place_label"
},
{
"minzoom": 2,
"layout": {
"text-line-height": 1.1,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.9,
1
],
[
"zoom"
],
3,
[
"step",
[
"get",
"symbolrank"
],
11,
9,
10
],
6,
[
"step",
[
"get",
"symbolrank"
],
14,
9,
12,
12,
10
],
8,
[
"step",
[
"get",
"symbolrank"
],
16,
9,
14,
12,
12,
15,
10
],
13,
[
"step",
[
"get",
"symbolrank"
],
22,
9,
20,
12,
16,
15,
14
]
],
"text-radial-offset": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"capital"
],
2,
0.6,
0.55
],
8,
0
],
"symbol-sort-key": [
"get",
"symbolrank"
],
"icon-image": [
"step",
[
"zoom"
],
[
"case",
[
"==",
[
"get",
"capital"
],
2
],
"border-dot-13",
[
"step",
[
"get",
"symbolrank"
],
"dot-11",
9,
"dot-10",
11,
"dot-9"
]
],
8,
""
],
"text-font": [
"DIN Pro Regular",
"Arial Unicode MS Regular"
],
"text-justify": "auto",
"text-anchor": [
"step",
[
"zoom"
],
[
"get",
"text_anchor"
],
8,
"center"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-max-width": 7
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 13,
"filter": [
"all",
[
"<=",
[
"get",
"filterrank"
],
3
],
[
"match",
[
"get",
"class"
],
[
"settlement",
"disputed_settlement"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"zoom"
],
[
">",
[
"get",
"symbolrank"
],
6
],
4,
[
">=",
[
"get",
"symbolrank"
],
7
],
6,
[
">=",
[
"get",
"symbolrank"
],
8
],
7,
[
">=",
[
"get",
"symbolrank"
],
10
],
10,
[
">=",
[
"get",
"symbolrank"
],
11
],
11,
[
">=",
[
"get",
"symbolrank"
],
13
],
12,
[
">=",
[
"get",
"symbolrank"
],
15
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "settlement-minor-label",
"paint": {
"text-color": "hsl(220, 30%, 0%)",
"text-halo-color": "hsl(20, 25%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 1
},
"source-layer": "place_label"
},
{
"minzoom": 2,
"layout": {
"text-line-height": 1.1,
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.9,
1
],
[
"zoom"
],
3,
[
"step",
[
"get",
"symbolrank"
],
13,
6,
11
],
6,
[
"step",
[
"get",
"symbolrank"
],
18,
6,
16,
7,
14
],
8,
[
"step",
[
"get",
"symbolrank"
],
20,
9,
16,
10,
14
],
15,
[
"step",
[
"get",
"symbolrank"
],
24,
9,
20,
12,
16,
15,
14
]
],
"text-radial-offset": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"capital"
],
2,
0.6,
0.55
],
8,
0
],
"symbol-sort-key": [
"get",
"symbolrank"
],
"icon-image": [
"step",
[
"zoom"
],
[
"case",
[
"==",
[
"get",
"capital"
],
2
],
"border-dot-13",
[
"step",
[
"get",
"symbolrank"
],
"dot-11",
9,
"dot-10",
11,
"dot-9"
]
],
8,
""
],
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-justify": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"text_anchor"
],
[
"left",
"bottom-left",
"top-left"
],
"left",
[
"right",
"bottom-right",
"top-right"
],
"right",
"center"
],
8,
"center"
],
"text-anchor": [
"step",
[
"zoom"
],
[
"get",
"text_anchor"
],
8,
"center"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-max-width": 7
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 15,
"filter": [
"all",
[
"<=",
[
"get",
"filterrank"
],
3
],
[
"match",
[
"get",
"class"
],
[
"settlement",
"disputed_settlement"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"zoom"
],
false,
2,
[
"<=",
[
"get",
"symbolrank"
],
6
],
4,
[
"<",
[
"get",
"symbolrank"
],
7
],
6,
[
"<",
[
"get",
"symbolrank"
],
8
],
7,
[
"<",
[
"get",
"symbolrank"
],
10
],
10,
[
"<",
[
"get",
"symbolrank"
],
11
],
11,
[
"<",
[
"get",
"symbolrank"
],
13
],
12,
[
"<",
[
"get",
"symbolrank"
],
15
],
13,
[
">=",
[
"get",
"symbolrank"
],
11
],
14,
[
">=",
[
"get",
"symbolrank"
],
15
]
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "settlement-major-label",
"paint": {
"text-color": "hsl(220, 30%, 0%)",
"text-halo-color": "hsl(20, 25%, 100%)",
"text-halo-width": 1,
"text-halo-blur": 1
},
"source-layer": "place_label"
},
{
"minzoom": 3,
"layout": {
"text-size": [
"interpolate",
[
"cubic-bezier",
0.85,
0.7,
0.65,
1
],
[
"zoom"
],
4,
[
"step",
[
"get",
"symbolrank"
],
9,
6,
8,
7,
7
],
9,
[
"step",
[
"get",
"symbolrank"
],
21,
6,
16,
7,
14
]
],
"text-transform": "uppercase",
"text-font": [
"DIN Pro Bold",
"Arial Unicode MS Bold"
],
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-letter-spacing": 0.15,
"text-max-width": 6
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 9,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"state",
"disputed_state"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "state-label",
"paint": {
"text-color": "hsl(220, 30%, 0%)",
"text-halo-color": "hsl(20, 25%, 100%)",
"text-halo-width": 1,
"text-opacity": 0.5
},
"source-layer": "place_label"
},
{
"minzoom": 1,
"layout": {
"icon-image": "",
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-line-height": 1.1,
"text-max-width": 6,
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-radial-offset": [
"step",
[
"zoom"
],
0.6,
8,
0
],
"text-justify": [
"step",
[
"zoom"
],
[
"match",
[
"get",
"text_anchor"
],
[
"left",
"bottom-left",
"top-left"
],
"left",
[
"right",
"bottom-right",
"top-right"
],
"right",
"center"
],
7,
"auto"
],
"text-size": [
"interpolate",
[
"cubic-bezier",
0.2,
0,
0.7,
1
],
[
"zoom"
],
1,
[
"step",
[
"get",
"symbolrank"
],
11,
4,
9,
5,
8
],
9,
[
"step",
[
"get",
"symbolrank"
],
22,
4,
19,
5,
17
]
]
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 10,
"filter": [
"all",
[
"match",
[
"get",
"class"
],
[
"country",
"disputed_country"
],
[
"match",
[
"get",
"worldview"
],
[
"all",
"US"
],
true,
false
],
false
],
[
"step",
[
"pitch"
],
true,
50,
[
"<",
[
"distance-from-center"
],
3
],
60,
[
"<",
[
"distance-from-center"
],
4
],
70,
[
"<",
[
"distance-from-center"
],
5
]
]
],
"type": "symbol",
"source": "composite",
"id": "country-label",
"paint": {
"icon-opacity": [
"step",
[
"zoom"
],
[
"case",
[
"has",
"text_anchor"
],
1,
0
],
7,
0
],
"text-color": "hsl(220, 30%, 0%)",
"text-halo-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
2,
"hsla(20, 25%, 100%, 0.75)",
3,
"hsl(20, 25%, 100%)"
],
"text-halo-width": 1.25
},
"source-layer": "place_label"
},
{
"minzoom": 0.75,
"layout": {
"text-field": [
"coalesce",
[
"get",
"name_en"
],
[
"get",
"name"
]
],
"text-line-height": 1.1,
"text-max-width": 6,
"text-font": [
"DIN Pro Medium",
"Arial Unicode MS Regular"
],
"text-size": [
"interpolate",
[
"exponential",
0.5
],
[
"zoom"
],
0,
10,
2.5,
15
],
"text-transform": "uppercase",
"text-letter-spacing": 0.05
},
"metadata": {
"mapbox:featureComponent": "place-labels",
"mapbox:group": "Place labels, place-labels"
},
"maxzoom": 3,
"filter": [
"==",
[
"get",
"class"
],
"continent"
],
"type": "symbol",
"source": "composite",
"id": "continent-label",
"paint": {
"text-color": "hsl(220, 30%, 0%)",
"text-halo-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
"hsla(20, 25%, 100%, 0.75)",
3,
"hsl(20, 25%, 100%)"
],
"text-halo-width": 1.5,
"text-opacity": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
0.8,
1.5,
0.5,
2.5,
0
]
},
"source-layer": "natural_label"
}
],
"created": "2023-08-06T13:02:27.400Z",
"modified": "2023-08-06T13:04:39.976Z",
"id": "clkzge8ug003g01r8by1k4ouh",
"owner": "yochi",
"visibility": "public",
"protected": false,
"draft": false
}
{"base":{"style":"oslo","scheme":"normal.day"},"definitions":{"Street.Category0.Centerline.Color":"#FF0000","Street.Category0.Color":"#FF0000","Street.Category0.Tunnel.Color":"#FF0000"}}
import:
- ./skeleton.yaml
- ./road_shields.day.yaml
- ./poi.day.yaml
global:
# Disable POIs rendering by default
poi:
default:
visible: false
###################################################### SCENE #######################################################
scene_background_color: rgb(245,248,250)
scene_sky_zenith_color: '#347BC0'
scene_sky_horizon_color: '#EDF2F9'
scene_sky_fog_color: '#FFFFFF'
################################################## TEXT / LABELS ###################################################
text_font_family: FiraGO
text_fill: '#0F1621'
text_outline: global.land_color
text_fill_address: rgb(122,147,153)
#################################################### VISIBILITY ####################################################
text_visible_admin: true
icon_visible_populated_places: true
text_visible_populated_places: true
text_visible_neighbourhoods: true
text_visible_water_labels: true
text_visible_building: true
text_visible_address: true
text_visible_roads: true
text_visible_ferry: true
text_visible_ski_run: true
text_visible_chair_lift: true
shields_visible: true
################################################### UX LANGUAGE ####################################################
# Default language
ux_language: en
# Fallback language
# ux_language_fallback: en
###################################################### ICONS #######################################################
icon_size: [[11, '11px'], [20, '24px']]
icon:
text:
font:
weight: normal
size: [[13, 10px], [14, 11px], [17, 12px], [19, 12px], [20, 14px]]
stroke:
color: global.text_outline
width: [[12, 3px], [16, 4px]]
##################################################### PLACES #######################################################
places:
country:
label:
font:
transform: uppercase
fill: [[3, 'rgba(110, 125, 130, 0.8)'], [4, 'rgba(110, 125, 130, 0.66)']]
size: [[3, 11px], [4, 12px], [5, 15px], [6, 17px], [7, 18px]]
stroke:
color: [[3, 'rgba(250, 253, 255, 0.2)'], [5, 'rgba(250, 253, 255, 0.8)']]
width: 1px
large:
label:
font:
size: [[3, 14px], [5, 15px], [6, 20px], [7, 26px], [8, 28px]]
region:
label:
font:
transform: uppercase
size: [[3, 11px], [4, 12px], [5, 15px], [19, 16px]]
fill: [[3, 'rgba(0, 0, 20, 0.3)'], [4, 'rgba(90, 90, 90, 0.6)']]
stroke:
color: rgba(250, 253, 255, 0.2)
width: 1px
populated:
default:
zoom: {min: 4}
icon:
size: [[9, 4px], [10, 0px]]
label:
font:
size: [[5, 9px], [8, 10px], [12, 11px]]
1m-up:
label:
font:
size: [[4, 15px], [7, 15px], [8, 17px], [9, 18px], [13, 26px]]
stroke:
width: [
[0, 1px], [6, 1px], [7, 1.25px], [8, 1.5px], [10, 1.5px], [11, 2px], [12, 2px], [13, 2.25px]
]
capital:
zoom: {max: 14}
icon:
size: [[9, 8px], [10, 0px]]
region_capital:
zoom: {max: 13}
icon:
size: [[9, 8px], [10, 0px]]
county_capital:
zoom: {max: 14}
icon:
size: [[9, 8px], [10, 0px]]
250k-1m:
label:
font:
size: [
[0, 13px], [7, 13px], [8, 14px], [9, 15px], [10, 17px], [11, 19px], [12, 20px], [13, 22px], [14, 24px]
]
stroke:
width: [
[0, 1px], [6, 1px], [7, 1.25px], [8, 1.5px], [11, 1.5px], [12, 1.75px], [13, 1.75px], [14, 2px]
]
capital:
zoom: {max: 13}
icon:
size: [[9, 6px], [10, 0px]]
region_capital:
zoom: {max: 13}
icon:
size: [[9, 6px], [10, 0px]]
county_capital:
zoom: {max: 14}
icon:
size: [[9, 6px], [10, 0px]]
100k-250k:
label:
font:
size: [
[5, 11px], [6, 11px], [7, 12px], [8, 12px], [9, 13.5px], [10, 14.5px], [11, 15.5px],
[12, 17.5px], [13, 19px], [14, 22px]
]
stroke:
width: [[5, 2px], [9, 2.5px], [10, 2.5px], [11, 2.5px], [12, 2.75px], [13, 2px], [14, 2.25px]]
capital:
zoom: {max: 13}
icon:
size: [[9, 5px], [10, 0px]]
region_capital:
zoom: {max: 13}
icon:
size: [[9, 5px], [10, 0px]]
county_capital:
zoom: {max: 14}
icon:
size: [[9, 5px], [10, 0px]]
30k-100k:
label:
font:
size: [
[5, 10px], [6, 10px], [7, 11px], [9, 11px], [10, 12px], [11, 13px], [12, 15px], [13, 17px],
[14, 18px]
]
stroke:
width: 1px
capital:
zoom: {max: 14}
icon:
size: [[9, 4px], [10, 0px]]
region_capital:
zoom: {max: 13}
icon:
size: [[9, 4px], [10, 0px]]
county_capital:
zoom: {max: 14}
icon:
size: [[9, 4px], [10, 0px]]
until-30k:
label:
font:
size: [
[5, 9px], [6, 9px], [7, 10px], [9, 10px], [10, 11px], [11, 11px], [12, 12px], [13, 14px],
[14, 15px]
]
stroke:
width: 2px
capital:
zoom: {max: 14}
icon:
size: [[9, 4px], [10, 0px]]
region_capital:
zoom: {max: 13}
icon:
size: [[9, 4px], [10, 0px]]
county_capital:
zoom: {max: 14}
icon:
size: [[9, 4px], [10, 0px]]
town:
icon:
size: [[9, 4px], [10, 0px]]
village:
label:
font:
stroke:
width: 2px
hamlet:
zoom: {max: 16}
label:
font:
transform: uppercase
size: [[13, 11px], [14, 12.5px], [15, 13px]]
stroke:
width: 1px
borough:
zoom: {max: 15}
label:
font:
fill: rgb(90,90,120)
size: [[11, 11px], [12, 12.5px], [13, 14.5px], [14, 15.5px]]
stroke:
color: [[13, 'rgba(240, 245, 247, .70)'], [14, 'rgba(237, 242, 244, .70)']]
width: 3px
place_class1_color: [
[0, 'rgb(50, 50, 50)'], [6, 'rgb(50, 50, 50)'], [7, 'rgb(20, 20, 40)'], [9, 'rgb(20, 20, 40)'],
[10, 'rgba(0, 0, 20, .88)'], [11, 'rgba(0, 0, 20, .78)'], [12, 'rgba(0, 0, 20, .78)'], [13, 'rgba(0, 0, 20, .72)']
]
place_class1_outline_color: [
[0, 'rgba(250,253,255, .01)'], [4, 'rgba(250,253,255, .01)'], [5, 'rgba(250,253,255, .47)'],
[6, 'rgba(250,253,255, .47)'], [7, 'rgba(250,253,255, .58)'], [8, 'rgba(240,244,245, .7)']
]
place_class2_color: [
[0, 'rgb(60, 60, 80)'], [6, 'rgb(60, 60, 80)'], [7, 'rgb(30, 30, 50)'], [9, 'rgb(30, 30, 50)'],
[10, 'rgba(20, 20, 40, .86)'], [11, 'rgba(0, 0, 30, 0.78)'], [12, 'rgba(0, 0, 30, 0.78)'],
[13, 'rgba(0, 0, 30, 0.70)'], [14, 'rgba(0, 0, 30, 0.58)']
]
place_class2_outline_color: [
[0, 'rgba(250, 253, 255, .01)'], [4, 'rgba(250, 253, 255, .01)'], [5, 'rgba(250, 253, 255, .47)'],
[6, 'rgba(250, 253, 255, .47)'], [7, 'rgba(250, 253, 255, .58)'], [8, 'rgba(250, 253, 255, .70)'],
[11, 'rgba(250, 253, 255, .70)'], [12, 'rgba(240, 244, 245, .70)']
]
place_class3_color: [
[0, 'rgb(70, 70, 90)'], [6, 'rgb(70, 70, 90)'], [7, 'rgb(40, 40, 60)'], [9, 'rgb(40, 40, 60)'],
[10, 'rgba(30, 30, 50, .86)'], [11, 'rgba(0, 0, 0, .78)'], [12, 'rgba(0, 0, 0, .70)'], [12, 'rgba(0, 0, 0, .70)'],
[14, 'rgba(0, 0, 0, .58)']
]
place_class3_outline_color: [
[0, 'rgba(250, 253, 255, .07)'], [4, 'rgba(250, 253, 255, .07)'], [5, 'rgba(250, 253, 255, .47)'],
[6, 'rgba(250, 253, 255, .47)'], [7, 'rgba(250, 253, 255, .58)'], [8, 'rgba(250, 253, 255, .70)'],
[11, 'rgba(250, 253, 255, .70)'], [12, 'rgba(240, 244, 245, .70)']
]
place_class4_color: [
[0, 'rgb(70, 70, 90)'], [6, 'rgb(70, 70, 90)'], [7, 'rgb(50, 50, 70)'], [9, 'rgb(50, 50, 70)'],
[10, 'rgb(40, 40, 60)'], [11, 'rgb(40, 40, 60)'], [12, 'rgba(0, 0, 0, .86)'], [13, 'rgba(0, 0, 0, .78)'],
[14, 'rgba(0, 0, 0, .70)']
]
place_class4_outline_color: [
[0, 'rgba(250, 253, 255, .07)'], [4, 'rgba(250, 253, 255, .07)'], [5, 'rgba(250, 253, 255, .47)'],
[6, 'rgba(250, 253, 255, .47)'], [7, 'rgba(250, 253, 255, .58)'], [8, 'rgba(250, 253, 255, .70)'],
[13, 'rgba(250, 253, 255, .70)'], [14, 'rgba(240, 244, 245, .70)']
]
place_class5_color: [
[0, 'rgb(70, 70, 90)'], [6, 'rgb(70, 70, 90)'], [7, 'rgb(60, 60, 80)'], [9, 'rgb(60, 60, 80)'],
[10, 'rgb(50, 50, 70)'], [11, 'rgb(50, 50, 70)'], [12, 'rgba(20, 20, 40, .86)'], [13, 'rgba(20, 20, 40, .78)'],
[14, 'rgba(0, 0, 0, .70)']
]
place_class5_outline_color: [
[0, 'rgba(250, 253, 255, .07)'], [4, 'rgba(250, 253, 255, .07)'], [5, 'rgba(250, 253, 255, .47)'],
[6, 'rgba(250, 253, 255, .47)'], [7, 'rgba(250, 253, 255, .58)'], [8, 'rgba(250, 253, 255, .70)'],
[13, 'rgba(250, 253, 255, .70)'], [14, 'rgba(240, 244, 245, .70)']
]
place_capital_color: [
[0, 'rgb(50, 50, 50)'], [7, 'rgb(20, 20, 20)'], [10, 'rgba(0, 0, 20, .9)'], [11, 'rgba(0, 0, 20, .7)']
]
place_capital_outline_color: [
[0, "rgba(250, 253, 255, .1)"], [5, "rgba(250, 253, 255, .5)"], [7, "rgba(250, 253, 255, .6)"],
[8, "rgba(240, 244, 245, .7)"]
]
place_village_font_size: [
[7, 10px], [8, 10.5px], [9, 10.5px], [10, 11.5px], [11, 11.5px], [12, 12px], [13, 14px], [14, 15px]
]
place_hamlet_color: rgb(120, 120, 120)
place_hamlet_outline_color: [
[0, 'rgba(240, 244, 245, .78)'], [11, 'rgba(240, 244, 245, .78)'], [12, 'rgba(240, 244, 245, .70)'],
[13, 'rgba(240, 244, 245, .70)'], [14, 'rgba(240, 244, 245, .62)']
]
################################################## LAND AND WATER ##################################################
land_color: rgb (245, 248, 250)
beach_color: rgb (255, 248, 195)
glacier_color: rgb (232, 242, 255)
woodland_color: rgb (186, 247, 176)
forest_color: [
[0, 'rgb(175,224,164)'], [8, 'rgb(223, 243, 224)'], [9, 'rgb(217, 241, 214)'], [11, 'rgb(213, 237, 206)'],
[15, 'rgb(213, 237, 206)'], [16, 'rgb(206, 234, 197)']
]
water_color: rgb (153, 206, 255)
water_river_line_width: [[10, 1px], [13, 2px], [14, 3px], [15, 4px], [16, 7px], [17, 15px], [18, 28px], [20, 46px]]
water:
default:
label:
font:
weight: normal
size: [[11, 10px], [12, 11px], [15, 11px], [16, 12px]]
style: italic
ocean:
label:
font:
size: [[0, 10px], [1, 11px], [2, 13px], [3, 14px], [4, 16px], [6, 16px], [7, 17px], [8, 20px]]
style: italic
bay:
label:
font:
size: [[11, 10px], [12, 11px], [15, 11px], [16, 12px]]
stroke:
width: 2px
lake:
label:
font:
style: normal
stroke:
width: 1px
water_deep_color: rgb(137, 196, 250)
water_label_sea_color: rgb(77,147,221)
water_label_lake_color: rgb(34,105,191)
water_label_lake_outline_color: rgba(204, 230, 255, .47)
water_label_ocean_color: rgb(77, 147, 221)
water_label_bay_color: rgb(34, 105, 191)
water_label_bay_outline_color: rgba(204, 230, 255, .47)
################################################ LAND-USE AND AREAS ################################################
landuse_default_label_color: [[15, 'rgb(95,100,110)'], [16, 'rgb(105,110,120)']]
landuse_default_label_font_size: [[12, 10px], [13, 11px], [15, 11px], [16, 12px]]
landuse_default_label_font_stroke_color: rgba(237,245,238,.58)
landuse_default_label_font_stroke_width: 1px
landuse_park_label_color: rgb(62,120,100)
landuse_park_label_outline_color: [[11, 'rgba(215,242,205,.58)'], [12, 'rgba(208,238,195,.58)']]
landuse_forest_label_color: rgb(78,133,93)
landuse_forest_label_outline_color: rgba(230,250,225,.58)
# Used for industrial, railway, parking, commercial, zoo, aerodrome, etc.:
landuse_gray_label_color: rgb(70,90,110)
landuse_gray_label_outline_color: [[13, 'rgba(235,243,250,.58)'], [14, 'rgba(225,233,240,.58)']]
landuse_pedestrian_label_color: [[15, "rgb(95,100,110)"], [16, "rgb(105,110,120)"]]
landuse_pedestrian_label_outline_color: rgba(235,243,250,.58)
landuse_hospital_label_color: [[15, 'rgb(115,100,110)'], [16, 'rgb(125,105,115)']]
landuse_industrial_label_color: rgb(70,90,110)
landuse_industrial_outline_color: rgba(235,243,250,.58)
landuse_hospital_label_outline_color: rgba(245,237,240,.58)
landuse_golf_course_label_color: rgb(62,120,110)
landuse_golf_course_label_outline_color: [[11, 'rgba(215,242,205,.58)'], [12, 'rgba(194,237,196,.58)']]
landuse_beach_label_color: rgb(115,114,94)
landuse_beach_label_outline_color: rgba(250,240,170,.58)
landuse_university_label_color: [[15, 'rgb(95,100,110)'], [16, 'rgb(105,110,120)']]
landuse_university_label_outline_color: [[15, 'rgba(240,237,232,.58)'], [16, 'rgba(245,242,237,.58)']]
landuse_parking_label_color: rgb(7,78,159)
landuse_military_label_color: rgb(131,129,156)
landuse_military_label_outline_color: rgba(242,245,252,.58)
builtup_area_color: [
[0, 'rgb(225, 234, 240)'], [10, 'rgb(237, 242, 245)'], [13, 'rgb(240, 244, 247)'], [14, 'rgb(237, 242, 245)'],
[15, 'rgb(229, 236, 240)'], [16, 'rgb(225, 233, 237)']
]
builtup_area_outline_color: rgba(237,237,237,.5)
builtup_area_outline_width: [[13, 0], [14, 2px]]
golf_course_color: [
[11, 'rgb(198,235,185)'], [12, 'rgb(168,232,165)'], [13, 'rgb(168,232,165)'], [14, 'rgb(162,232,170)'],
[15, 'rgb(162,232,170)'], [16, 'rgb(147,233,162)']
]
hospital_color: rgb (238, 222, 229)
# Applies to airport, harbor, industrial, rail yard, shopping complex:
industrial_color: [
[0, 'rgb(228, 234, 240)'], [11, 'rgb(225, 230, 234)'], [14, 'rgb(218, 225, 228)'], [15, 'rgb(211, 220, 222)'],
[16, 'rgb(206, 216, 220)']
]
national_park_color: [
[0 , 'rgb(203, 242, 196)'], [6 , 'rgb(224, 245, 223)'], [9 , 'rgb(224, 245, 223)'], [10, 'rgb(225, 245, 220)'],
[11, 'rgb(226, 245, 226)'], [16, 'rgb(225, 246, 223)']
]
island:
zoom: {min: 0, max: 15}
label:
font:
weight: normal
size: [[0, 10px], [11, 10px], [12, 11px], [13, 11px], [14, 12px], [15, 12px], [16, 13px]]
stroke:
width: 1px
island_color: rgb(81,87,4)
island_outline_color: rgba(250,253,255, .39)
native_reservation_color: rgba (245, 231, 218, 0.78)
military_color: rgb(235,237,242)
park_color: rgb (186, 232, 169)
# Applies to allotment, amusement, animal, cemetery, sports complex:
green_area_color: [
[13, 'rgb(221,235,221)'], [14, 'rgb(215,233,219)'], [15, 'rgb(215,233,219)'], [16, 'rgb(211,233,216)']
]
pedestrian_area_color: [
[9, 'rgb(225,234,240)'], [10, 'rgb(233,237,240)'], [12, 'rgb(233,237,240)'], [13, 'rgb(235,239,242)'],
[14, 'rgb(233,237,240)'], [15, 'rgb(223,230,235)'], [16, 'rgb(219,225,231)']
]
aerodrome_color: [
[10, 'rgb(228,234,240)'], [11, 'rgb(225,230,234)'], [13, 'rgb(225,230,234)'], [14, 'rgb(218,225,228)'],
[15, 'rgb(211,220,222)'], [16, 'rgb(206,216,220)']
]
runway_color: [
[13, 'rgb(211,217,222)'], [14, 'rgb(205,213,214)'], [15, 'rgb(198,209,211)'], [16, 'rgb(192,203,208)']
]
university_campus_color: rgb (235, 230, 221)
#################################################### BOUNDARIES ####################################################
boundary:
labels:
zoom:
min: 8
offset: [0px, 5px]
font:
size: 9px
transform: uppercase
stroke:
color: global.land_color
width: 3px
single_text:
offset: [0px, 0px]
country:
line:
width: 1px
outline:
width: [[3, '0px'], [4, '2px'], [7, '3px']]
other: # Used for other boundary kinds like "disputed" etc.:
line:
dash: [5, 4]
width: [[0, '0px'], [9, '2px']]
outline:
width: [[3, '0px'], [4, '1px'], [5, '2px'], [7, '3px']]
state:
line:
width: 1px
outline:
width: [[0, '0px'], [9, '1px']]
state_boundary_text_color: rgb(102,102,102)
country_boundary_color: [
[4, 'rgb(160, 160, 180)'], [5, 'rgb(120, 120, 140)'], [6, 'rgb(100, 100, 120)'], [7, 'rgb(100, 100, 120)'],
[8, 'rgb(80, 80, 100)'], [9, 'rgb(60, 60, 80)']
]
country_boundary_outline_color: [
[3, 'rgba(190, 190, 190, 0.1)'], [4, 'rgba(180, 180, 180, 0.15)'], [5, 'rgba(150, 150, 150, 0.15)'],
[6, 'rgba(130, 130, 130, 0.15)'], [8, 'rgba(110, 110, 110, 0.15)']
]
country_disputed_boundary_color: [
[4, 'rgb(160,160,180)'], [5, 'rgb(120,120,140)'], [6, 'rgb(100,100,120)'], [7, 'rgb(100,100,120)'],
[8, 'rgb(80,80,100)'], [9, 'rgb(60,60,80 )']
]
country_disputed_boundary_background_color: [.50, .50, .50, .15]
region_boundary_color: [ # applies to states and regions
[3, 'rgb(225, 225, 225)'], # 0 <= $zoom < 4
[4, 'rgb(195, 195, 215)'], # 4 <= $zoom < 5
[5, 'rgb(210, 210, 210)'], # 5 <= $zoom < 6
# 6 <= $zoom < 12 (duplicates avoid interpolation)
[6, 'rgb(180, 180, 180)'], [7, 'rgb(180, 180, 180)'], [8, 'rgb(180, 180, 180)'], [9, 'rgb(180, 180, 180)'],
[10, 'rgb(180, 180, 180)'], [11, 'rgb(180, 180, 180)'], [12, 'rgb(170, 170, 170)'] # 12 <= $zoom
]
region_boundary_outline_color: [ # applies to states and regions
[4, 'rgba(220, 220, 220, 0.06)'], # 0 <= $zoom < 5
[5, 'rgba(215, 215, 215, 0.06)'], # 5 <= $zoom < 6
[6, 'rgba(200, 200, 200, 0.1)'], # 6 <= $zoom < 7
# 7 <= $zoom < 12 (duplicates avoid interpolation)
[7, 'rgba(200, 200, 200, 0.16)'], [8, 'rgba(200, 200, 200, 0.16)'], [9, 'rgba(200, 200, 200, 0.16)'],
[10, 'rgba(200, 200, 200, 0.16)'], [11, 'rgba(200, 200, 200, 0.16)'], [12, 'rgba(200, 200, 200, 0.2)'] # 12 <= $zoom
]
#################################################### BUILDINGS #####################################################
building:
outline:
width: 1px
extrusion:
zoom: {min: 16}
outline:
width: .5px
label:
zoom: {min: 17}
font:
size: [[15, 11px], [16, 12px]]
stroke:
width: 1px
address:
label:
zoom: {min: 18}
font:
size: [[18, 12px],[22, 16px]]
building_color: rgba(250, 254, 255, .58)
building_outline_color: [[16, 'rgb(216,224,227)'], [17, 'rgb(208,216,219)'], [18, 'rgb(204,212,217)']]
building_extrude_color: rgba(196,202,204,.78)
building_label_color: rgb(86,105,112)
building_label_outline_color: rgba(240,246,247,.4)
######################################################################################################################
###################################################### ROADS #######################################################
######################################################################################################################
road:
default:
line:
width: 1px
direction:
size: [[15, 15px], [18, 30px], [20, 52px]]
spacing: [[16, 150px], [18, 250px]]
label:
font:
stroke:
width: .5px
rail:
zoom: {min: 10}
line:
width: [[15, 1px], [16, 1.5px], [17, 1.5px], [18, 2px], [19, 2.5px]]
dash: [7, 7]
outline:
width: [[10, .1px], [13, .5px], [14, .8px]]
under_construction:
line:
dash: [2, 2]
highway:
label:
font:
size: [[10, 14px], [20, 22px]]
outline:
width: [[7, 0px], [8, 0.5px]]
centerline:
width: [[10, 0px], [11, 1px]]
trunk:
label:
font:
size: [[10, 14px], [20, 22px]]
outline:
width: [[9, 0px], [10, 0.5px]]
link:
label:
font:
size: [[10, 14px], [20, 22px]]
major:
label:
offset: [[16, [0px, -1px]], [18, [0px, -2px]]]
font:
stroke:
width: .7px
size: [[14, 13.5px], [15, 14.5px], [16, 17px], [17, 22px]]
outline:
width: [[9, 0px], [10, 0.5px]]
secondary:
outline:
width: [[10, 0px], [11, .5px]]
label:
offset: [[16, [0px, -1px]], [17, [0px, -3px]]]
font:
size: [[14, 12px], [15, 15px], [16, 17px], [17, 21px]]
stroke:
width: .7px
tertiary:
outline:
width: [[11, 0px], [12, .5px]]
label:
font:
stroke:
width: .7px
size: [[13, 10px], [16, 13.5px], [17, 18px], [18, 24px]]
link:
line:
# Street.Category3.RampWidth
width: [
[0, 3px],
[14, 3px],
[15, 4px],
[16, 5px],
[17, 6px],
[18, 12px],
[19, 20px],
[20, 32px]
]
minor:
direction:
zoom: {max: 18}
label:
offset: [[16, [0px, -1px]], [18, [0px, -2px]]]
font:
stroke:
width: .7px
size: [[14, 10px], [16, 12px], [18, 19px], [20, 24px]]
residential:
outline:
width: [[13.5, 0px], [14, 1px]]
service:
outline:
width: [[13.5, 0px], [14, 1px]]
label:
font:
stroke:
width: .7px
size: [[16, 10px], [20, 16px]]
path:
label:
offset: [0px, -2px]
font:
fill: rgb(53,54,73)
size: 12px
stroke:
color: rgb(219,226,227)
width: 2px
unpaved:
label:
font:
fill: rgb(124,114,108)
stroke:
color: rgb(212,213,202)
pedestrian:
line:
width: [[11, 1px], [15, 1px], [16, 4px]]
dash: [1, 1]
footway:
label:
zoom: {min: 14, max: 20}
offset: [0px, -5px]
font:
fill: rgb(120,110,104)
size: 12px
line:
width: [[14, 1px], [20, 1px]]
bridge:
line:
width: [[14, 1px], [20, 1px]]
outline:
width: [[15, 0px], [16, .5px]]
ferry:
label:
offset: [0px, -12px]
font:
size: [[14,11px], [16,12px], [17,13px]]
stroke:
width: [[14, 1.3px], [15, 1.5px], [16, 1.5px], [17, 1.62px]]
line:
width: 1px
dash: [5, 3]
tunnel:
label:
font:
stroke:
color: white
line:
color: rgb(153,153,153)
dash: [10, 10]
aerialway:
cable_car:
line:
color: rgb(170, 170, 170)
width: 0.5px
chair_lift:
line:
color: [[13, 'rgb(153,158,185)'], [15, 'rgb(58, 65, 104)']]
width: [[13, 0.5px], [19, 2px]]
label:
font:
fill: rgb(66,74,114)
size: [[14, 12px], [16, 14px], [18, 21], [20, 26px]]
stroke:
color: white
width: 2px
ski_run:
piste:
line:
color: rgb(253, 254, 255)
width: [[13, 1px], [17, 4px], [19, 9px]]
outline:
color: rgb(218,228,229)
width: [[13, 0px], [20, 1px]]
label:
offset: [0px, -2px]
font:
fill: rgb(114, 122, 164)
size: [[14, 10px], [16, 12px], [18, 19px], [20, 24px]]
stroke:
color: white
width: 1px
directions:
size: [[15, 10px], [18, 14px], [20, 20px]]
################################################### ROAD SHIELDS ###################################################
shield:
size: [[6, 110%], [15, 120%]]
repeat_distance: [[10, 150px], [13, 200px], [20, 70px]]
text:
font:
fill: black
weight: 450
size: [[6, 8px], [15, 10px], [20, 13px]]
##################################################### TUNNELS ######################################################
tunnel_order: 305
##################################################### BRIDGES ######################################################
bridge_outline: rgb(160,160,160)
##################################################### HIGHWAYS #####################################################
highway_fill: [
[9, 'rgb(255,0,0)'], [10, 'rgb(255,0,0)'], [11, 'rgb(255,0,0)'], [12, 'rgb(255,0,0)'],
[13, 'rgb(255,0,0)']
]
highway_tunnel_fill: rgb(204,169,183)
highway_tunnel_center_line: rgb(204, 129, 160)
highway_outline: rgb(184,78,122)
highway_centerline_fill: [
[11, 'rgb(224,134,170)'], [12, 'rgb(219,117,156)'], [13, 'rgb(211,106,154)'], [14, 'rgb(212,115,155)']
]
highway_width: [
[6, 1px], [7, 2px], [8, 2.5px], [9, 3.5px], [11, 4px], [12, 5px], [13, 5.5px], [14, 7px], [15, 10px], [16, 14px],
[17, 18px], [18, 35px], [19, 45px], [20, 70px]
]
highway_link_width: [
[5, 1px], [12, 1px], [13, 2px], [14, 3px], [15, 4px], [16, 5px], [17, 7px], [18, 18px], [19, 22px], [20, 35px]
]
highway_trunk_width: [
[5, 1px], [8, 1px], [9, 2px], [10, 2px], [12, 2.5px], [13, 3px], [14, 5px], [15, 7px], [16, 12px], [17, 15px],
[18, 30px], [19, 37px], [20, 64px]
]
###################################################### ROADS #######################################################
major_road_fill: [[11, 'rgb(255,184,163)'], [12, 'rgb(255,181,160)'], [13, 'rgb(255,174,158)']]
major_road_tunnel_fill: rgb(204,177,169)
major_road_link_width: [[13, 2px], [14, 3px], [15, 4px], [16, 5px], [17, 7px], [18, 18px], [19, 23px], [20, 35px]]
major_road_outline: [[10, 'rgb(204,105,96)'], [11, 'rgb(191,99,90)'], [12, 'rgb(191,99,116)']]
major_road_width: [
[8, 1px], [9, 2px], [10, 3px], [12, 3.5px], [13, 4px], [14, 6px], [15, 7px], [16, 11px], [17, 15px], [18, 34px],
[19, 38px], [20, 62px]
]
major_road_secondary_fill: [[10, 'rgb(232,220,107)'], [12, 'rgb(255,252,140)'], [13, 'rgb(255,252,168)']]
major_road_secondary_tunnel_fill: rgb(204,201,169)
major_road_secondary_outline: rgb(191,157,134)
major_road_secondary_width: [
[10, 1px], [12, 2px], [13, 3.5px], [14, 5px], [15, 7px], [16, 11px], [17, 12px], [18, 30px], [19, 34px], [20, 54px]
]
major_road_secondary_link_width: [[13, 1px], [16, 4px], [17, 5px], [18, 10px], [19, 20px], [20, 30px]]
major_road_tertiary_fill: [[11, 'rgb(230,221,184)'], [12, 'rgb(255,255,227)']]
major_road_tertiary_tunnel_fill: rgb(204,200,184)
major_road_tertiary_outline: rgb(165,164,131)
major_road_tertiary_width: [
[11, 1.5px], [12, 2px], [13, 2.5px], [14, 3.5px], [15, 5px], [16, 9px], [17, 9px], [18, 25px], [19, 29px],
[20, 46px]
]
minor_road_residential_fill: [[13, 'rgb(204,205,205)'], [14, 'rgb(255, 255, 255)']]
minor_road_residential_tunnel_fill: rgb(227,227,227)
minor_road_residential_outline: rgb(200,201,198)
minor_road_width: [[14, 1px], [14, 2px], [15, 3px], [17, 6px], [18, 18px], [19, 24px], [20, 46px]]
minor_road_service_fill: [[13, 'rgb(204,205,205)'], [14, 'rgb(239,240,235)']]
minor_road_service_tunnel_fill: rgb(128,128,128)
minor_road_service_outline: rgb(203,205,203)
minor_road_unpaved_fill: rgb(239,240,235)
###################################################### PATHS #######################################################
path_pedestrian: rgb(175, 178, 182)
path_footway: rgb(180,203,178)
path_footway_tunnel_fill: rgb(227,227,227)
path_footway_cemetery: rgb(199,205,204)
path_footway_forest: rgb(187,190,194)
path_footway_park: rgb(178,204,172)
##################################################### FERRIES ######################################################
ferry_line_color: rgb(67,141,218)
ferry_label_color: rgb(48,124,207)
ferry_tunnel_color: rgb(30,48,65)
ferry_label_outline_color: rgb(153,206,255)
##################################################### RAILWAYS #####################################################
rail_dash_background_color: rgb(160, 160, 160)
rail_outline_color: rgb(160, 160, 160)
rail_dash_color: [[10, 'rgb(220, 220, 220)'], [13, 'rgb(255, 255, 255)'], [16, 'rgb(250, 250, 250)']]
#################################################### CONTINENTS ####################################################
continent:
label:
font:
transform: uppercase
fill: rgba(255, 118, 120, 0.7)
weight: normal
size: 19px
stroke:
color: rgba(255, 255, 255, 0.118)
width: 1px
# That's a temporary code which renders mountain peaks, it
# should be removed after enabeling ../poi.day.yaml for this style:
layers:
pois:
data: {source: omv, layer: pois}
filter: global.feature_min_zoom_filter
mountain:
filter:
kind: [peak, volcano]
draw:
icon_library:
size: 10px
text:
priority: global.label.priorities.mountain-peak-labels
text_source: |
function() {
return ((global.ux_language && feature['name:' + global.ux_language]) ||
(global.ux_language_fallback && feature['name:' + global.ux_language_fallback]) ||
feature['name']) + (feature.elevation && ' (' + feature.elevation + 'm)' || '');
}
text_wrap: 1
max_lines: 5
anchor: top
font:
fill: 'rgb(120,107,103)'
stroke:
width: 1px
color: 'rgba(250,254,255,.47)'
size: 10px
peak:
filter: {kind: peak}
draw:
icon_library:
sprite: mountain-peak--mountain
volcano:
filter: {kind: volcano}
draw:
icon_library:
sprite: mountain-peak--volcano
{"base":{"style":"oslo","scheme":"normal.day"}}
import:
- ./skeleton.yaml
- ./road_shields.day.yaml
- ./poi.day.yaml
global:
# Disable POIs rendering by default
poi:
default:
visible: false
###################################################### SCENE #######################################################
scene_background_color: rgb(245,248,250)
scene_sky_zenith_color: '#347BC0'
scene_sky_horizon_color: '#EDF2F9'
scene_sky_fog_color: '#FFFFFF'
################################################## TEXT / LABELS ###################################################
text_font_family: FiraGO
text_fill: '#0F1621'
text_outline: global.land_color
text_fill_address: rgb(122,147,153)
#################################################### VISIBILITY ####################################################
text_visible_admin: true
icon_visible_populated_places: true
text_visible_populated_places: true
text_visible_neighbourhoods: true
text_visible_water_labels: true
text_visible_building: true
text_visible_address: true
text_visible_roads: true
text_visible_ferry: true
text_visible_ski_run: true
text_visible_chair_lift: true
shields_visible: true
################################################### UX LANGUAGE ####################################################
# Default language
ux_language: en
# Fallback language
# ux_language_fallback: en
###################################################### ICONS #######################################################
icon_size: [[11, '11px'], [20, '24px']]
icon:
text:
font:
weight: normal
size: [[13, 10px], [14, 11px], [17, 12px], [19, 12px], [20, 14px]]
stroke:
color: global.text_outline
width: [[12, 3px], [16, 4px]]
##################################################### PLACES #######################################################
places:
country:
label:
font:
transform: uppercase
fill: [[3, 'rgba(110, 125, 130, 0.8)'], [4, 'rgba(110, 125, 130, 0.66)']]
size: [[3, 11px], [4, 12px], [5, 15px], [6, 17px], [7, 18px]]
stroke:
color: [[3, 'rgba(250, 253, 255, 0.2)'], [5, 'rgba(250, 253, 255, 0.8)']]
width: 1px
large:
label:
font:
size: [[3, 14px], [5, 15px], [6, 20px], [7, 26px], [8, 28px]]
region:
label:
font:
transform: uppercase
size: [[3, 11px], [4, 12px], [5, 15px], [19, 16px]]
fill: [[3, 'rgba(0, 0, 20, 0.3)'], [4, 'rgba(90, 90, 90, 0.6)']]
stroke:
color: rgba(250, 253, 255, 0.2)
width: 1px
populated:
default:
zoom: {min: 4}
icon:
size: [[9, 4px], [10, 0px]]
label:
font:
size: [[5, 9px], [8, 10px], [12, 11px]]
1m-up:
label:
font:
size: [[4, 15px], [7, 15px], [8, 17px], [9, 18px], [13, 26px]]
stroke:
width: [
[0, 1px], [6, 1px], [7, 1.25px], [8, 1.5px], [10, 1.5px], [11, 2px], [12, 2px], [13, 2.25px]
]
capital:
zoom: {max: 14}
icon:
size: [[9, 8px], [10, 0px]]
region_capital:
zoom: {max: 13}
icon:
size: [[9, 8px], [10, 0px]]
county_capital:
zoom: {max: 14}
icon:
size: [[9, 8px], [10, 0px]]
250k-1m:
label:
font:
size: [
[0, 13px], [7, 13px], [8, 14px], [9, 15px], [10, 17px], [11, 19px], [12, 20px], [13, 22px], [14, 24px]
]
stroke:
width: [
[0, 1px], [6, 1px], [7, 1.25px], [8, 1.5px], [11, 1.5px], [12, 1.75px], [13, 1.75px], [14, 2px]
]
capital:
zoom: {max: 13}
icon:
size: [[9, 6px], [10, 0px]]
region_capital:
zoom: {max: 13}
icon:
size: [[9, 6px], [10, 0px]]
county_capital:
zoom: {max: 14}
icon:
size: [[9, 6px], [10, 0px]]
100k-250k:
label:
font:
size: [
[5, 11px], [6, 11px], [7, 12px], [8, 12px], [9, 13.5px], [10, 14.5px], [11, 15.5px],
[12, 17.5px], [13, 19px], [14, 22px]
]
stroke:
width: [[5, 2px], [9, 2.5px], [10, 2.5px], [11, 2.5px], [12, 2.75px], [13, 2px], [14, 2.25px]]
capital:
zoom: {max: 13}
icon:
size: [[9, 5px], [10, 0px]]
region_capital:
zoom: {max: 13}
icon:
size: [[9, 5px], [10, 0px]]
county_capital:
zoom: {max: 14}
icon:
size: [[9, 5px], [10, 0px]]
30k-100k:
label:
font:
size: [
[5, 10px], [6, 10px], [7, 11px], [9, 11px], [10, 12px], [11, 13px], [12, 15px], [13, 17px],
[14, 18px]
]
stroke:
width: 1px
capital:
zoom: {max: 14}
icon:
size: [[9, 4px], [10, 0px]]
region_capital:
zoom: {max: 13}
icon:
size: [[9, 4px], [10, 0px]]
county_capital:
zoom: {max: 14}
icon:
size: [[9, 4px], [10, 0px]]
until-30k:
label:
font:
size: [
[5, 9px], [6, 9px], [7, 10px], [9, 10px], [10, 11px], [11, 11px], [12, 12px], [13, 14px],
[14, 15px]
]
stroke:
width: 2px
capital:
zoom: {max: 14}
icon:
size: [[9, 4px], [10, 0px]]
region_capital:
zoom: {max: 13}
icon:
size: [[9, 4px], [10, 0px]]
county_capital:
zoom: {max: 14}
icon:
size: [[9, 4px], [10, 0px]]
town:
icon:
size: [[9, 4px], [10, 0px]]
village:
label:
font:
stroke:
width: 2px
hamlet:
zoom: {max: 16}
label:
font:
transform: uppercase
size: [[13, 11px], [14, 12.5px], [15, 13px]]
stroke:
width: 1px
borough:
zoom: {max: 15}
label:
font:
fill: rgb(90,90,120)
size: [[11, 11px], [12, 12.5px], [13, 14.5px], [14, 15.5px]]
stroke:
color: [[13, 'rgba(240, 245, 247, .70)'], [14, 'rgba(237, 242, 244, .70)']]
width: 3px
place_class1_color: [
[0, 'rgb(50, 50, 50)'], [6, 'rgb(50, 50, 50)'], [7, 'rgb(20, 20, 40)'], [9, 'rgb(20, 20, 40)'],
[10, 'rgba(0, 0, 20, .88)'], [11, 'rgba(0, 0, 20, .78)'], [12, 'rgba(0, 0, 20, .78)'], [13, 'rgba(0, 0, 20, .72)']
]
place_class1_outline_color: [
[0, 'rgba(250,253,255, .01)'], [4, 'rgba(250,253,255, .01)'], [5, 'rgba(250,253,255, .47)'],
[6, 'rgba(250,253,255, .47)'], [7, 'rgba(250,253,255, .58)'], [8, 'rgba(240,244,245, .7)']
]
place_class2_color: [
[0, 'rgb(60, 60, 80)'], [6, 'rgb(60, 60, 80)'], [7, 'rgb(30, 30, 50)'], [9, 'rgb(30, 30, 50)'],
[10, 'rgba(20, 20, 40, .86)'], [11, 'rgba(0, 0, 30, 0.78)'], [12, 'rgba(0, 0, 30, 0.78)'],
[13, 'rgba(0, 0, 30, 0.70)'], [14, 'rgba(0, 0, 30, 0.58)']
]
place_class2_outline_color: [
[0, 'rgba(250, 253, 255, .01)'], [4, 'rgba(250, 253, 255, .01)'], [5, 'rgba(250, 253, 255, .47)'],
[6, 'rgba(250, 253, 255, .47)'], [7, 'rgba(250, 253, 255, .58)'], [8, 'rgba(250, 253, 255, .70)'],
[11, 'rgba(250, 253, 255, .70)'], [12, 'rgba(240, 244, 245, .70)']
]
place_class3_color: [
[0, 'rgb(70, 70, 90)'], [6, 'rgb(70, 70, 90)'], [7, 'rgb(40, 40, 60)'], [9, 'rgb(40, 40, 60)'],
[10, 'rgba(30, 30, 50, .86)'], [11, 'rgba(0, 0, 0, .78)'], [12, 'rgba(0, 0, 0, .70)'], [12, 'rgba(0, 0, 0, .70)'],
[14, 'rgba(0, 0, 0, .58)']
]
place_class3_outline_color: [
[0, 'rgba(250, 253, 255, .07)'], [4, 'rgba(250, 253, 255, .07)'], [5, 'rgba(250, 253, 255, .47)'],
[6, 'rgba(250, 253, 255, .47)'], [7, 'rgba(250, 253, 255, .58)'], [8, 'rgba(250, 253, 255, .70)'],
[11, 'rgba(250, 253, 255, .70)'], [12, 'rgba(240, 244, 245, .70)']
]
place_class4_color: [
[0, 'rgb(70, 70, 90)'], [6, 'rgb(70, 70, 90)'], [7, 'rgb(50, 50, 70)'], [9, 'rgb(50, 50, 70)'],
[10, 'rgb(40, 40, 60)'], [11, 'rgb(40, 40, 60)'], [12, 'rgba(0, 0, 0, .86)'], [13, 'rgba(0, 0, 0, .78)'],
[14, 'rgba(0, 0, 0, .70)']
]
place_class4_outline_color: [
[0, 'rgba(250, 253, 255, .07)'], [4, 'rgba(250, 253, 255, .07)'], [5, 'rgba(250, 253, 255, .47)'],
[6, 'rgba(250, 253, 255, .47)'], [7, 'rgba(250, 253, 255, .58)'], [8, 'rgba(250, 253, 255, .70)'],
[13, 'rgba(250, 253, 255, .70)'], [14, 'rgba(240, 244, 245, .70)']
]
place_class5_color: [
[0, 'rgb(70, 70, 90)'], [6, 'rgb(70, 70, 90)'], [7, 'rgb(60, 60, 80)'], [9, 'rgb(60, 60, 80)'],
[10, 'rgb(50, 50, 70)'], [11, 'rgb(50, 50, 70)'], [12, 'rgba(20, 20, 40, .86)'], [13, 'rgba(20, 20, 40, .78)'],
[14, 'rgba(0, 0, 0, .70)']
]
place_class5_outline_color: [
[0, 'rgba(250, 253, 255, .07)'], [4, 'rgba(250, 253, 255, .07)'], [5, 'rgba(250, 253, 255, .47)'],
[6, 'rgba(250, 253, 255, .47)'], [7, 'rgba(250, 253, 255, .58)'], [8, 'rgba(250, 253, 255, .70)'],
[13, 'rgba(250, 253, 255, .70)'], [14, 'rgba(240, 244, 245, .70)']
]
place_capital_color: [
[0, 'rgb(50, 50, 50)'], [7, 'rgb(20, 20, 20)'], [10, 'rgba(0, 0, 20, .9)'], [11, 'rgba(0, 0, 20, .7)']
]
place_capital_outline_color: [
[0, "rgba(250, 253, 255, .1)"], [5, "rgba(250, 253, 255, .5)"], [7, "rgba(250, 253, 255, .6)"],
[8, "rgba(240, 244, 245, .7)"]
]
place_village_font_size: [
[7, 10px], [8, 10.5px], [9, 10.5px], [10, 11.5px], [11, 11.5px], [12, 12px], [13, 14px], [14, 15px]
]
place_hamlet_color: rgb(120, 120, 120)
place_hamlet_outline_color: [
[0, 'rgba(240, 244, 245, .78)'], [11, 'rgba(240, 244, 245, .78)'], [12, 'rgba(240, 244, 245, .70)'],
[13, 'rgba(240, 244, 245, .70)'], [14, 'rgba(240, 244, 245, .62)']
]
################################################## LAND AND WATER ##################################################
land_color: rgb (245, 248, 250)
beach_color: rgb (255, 248, 195)
glacier_color: rgb (232, 242, 255)
woodland_color: rgb (186, 247, 176)
forest_color: [
[0, 'rgb(175,224,164)'], [8, 'rgb(223, 243, 224)'], [9, 'rgb(217, 241, 214)'], [11, 'rgb(213, 237, 206)'],
[15, 'rgb(213, 237, 206)'], [16, 'rgb(206, 234, 197)']
]
water_color: rgb (153, 206, 255)
water_river_line_width: [[10, 1px], [13, 2px], [14, 3px], [15, 4px], [16, 7px], [17, 15px], [18, 28px], [20, 46px]]
water:
default:
label:
font:
weight: normal
size: [[11, 10px], [12, 11px], [15, 11px], [16, 12px]]
style: italic
ocean:
label:
font:
size: [[0, 10px], [1, 11px], [2, 13px], [3, 14px], [4, 16px], [6, 16px], [7, 17px], [8, 20px]]
style: italic
bay:
label:
font:
size: [[11, 10px], [12, 11px], [15, 11px], [16, 12px]]
stroke:
width: 2px
lake:
label:
font:
style: normal
stroke:
width: 1px
water_deep_color: rgb(137, 196, 250)
water_label_sea_color: rgb(77,147,221)
water_label_lake_color: rgb(34,105,191)
water_label_lake_outline_color: rgba(204, 230, 255, .47)
water_label_ocean_color: rgb(77, 147, 221)
water_label_bay_color: rgb(34, 105, 191)
water_label_bay_outline_color: rgba(204, 230, 255, .47)
################################################ LAND-USE AND AREAS ################################################
landuse_default_label_color: [[15, 'rgb(95,100,110)'], [16, 'rgb(105,110,120)']]
landuse_default_label_font_size: [[12, 10px], [13, 11px], [15, 11px], [16, 12px]]
landuse_default_label_font_stroke_color: rgba(237,245,238,.58)
landuse_default_label_font_stroke_width: 1px
landuse_park_label_color: rgb(62,120,100)
landuse_park_label_outline_color: [[11, 'rgba(215,242,205,.58)'], [12, 'rgba(208,238,195,.58)']]
landuse_forest_label_color: rgb(78,133,93)
landuse_forest_label_outline_color: rgba(230,250,225,.58)
# Used for industrial, railway, parking, commercial, zoo, aerodrome, etc.:
landuse_gray_label_color: rgb(70,90,110)
landuse_gray_label_outline_color: [[13, 'rgba(235,243,250,.58)'], [14, 'rgba(225,233,240,.58)']]
landuse_pedestrian_label_color: [[15, "rgb(95,100,110)"], [16, "rgb(105,110,120)"]]
landuse_pedestrian_label_outline_color: rgba(235,243,250,.58)
landuse_hospital_label_color: [[15, 'rgb(115,100,110)'], [16, 'rgb(125,105,115)']]
landuse_industrial_label_color: rgb(70,90,110)
landuse_industrial_outline_color: rgba(235,243,250,.58)
landuse_hospital_label_outline_color: rgba(245,237,240,.58)
landuse_golf_course_label_color: rgb(62,120,110)
landuse_golf_course_label_outline_color: [[11, 'rgba(215,242,205,.58)'], [12, 'rgba(194,237,196,.58)']]
landuse_beach_label_color: rgb(115,114,94)
landuse_beach_label_outline_color: rgba(250,240,170,.58)
landuse_university_label_color: [[15, 'rgb(95,100,110)'], [16, 'rgb(105,110,120)']]
landuse_university_label_outline_color: [[15, 'rgba(240,237,232,.58)'], [16, 'rgba(245,242,237,.58)']]
landuse_parking_label_color: rgb(7,78,159)
landuse_military_label_color: rgb(131,129,156)
landuse_military_label_outline_color: rgba(242,245,252,.58)
builtup_area_color: [
[0, 'rgb(225, 234, 240)'], [10, 'rgb(237, 242, 245)'], [13, 'rgb(240, 244, 247)'], [14, 'rgb(237, 242, 245)'],
[15, 'rgb(229, 236, 240)'], [16, 'rgb(225, 233, 237)']
]
builtup_area_outline_color: rgba(237,237,237,.5)
builtup_area_outline_width: [[13, 0], [14, 2px]]
golf_course_color: [
[11, 'rgb(198,235,185)'], [12, 'rgb(168,232,165)'], [13, 'rgb(168,232,165)'], [14, 'rgb(162,232,170)'],
[15, 'rgb(162,232,170)'], [16, 'rgb(147,233,162)']
]
hospital_color: rgb (238, 222, 229)
# Applies to airport, harbor, industrial, rail yard, shopping complex:
industrial_color: [
[0, 'rgb(228, 234, 240)'], [11, 'rgb(225, 230, 234)'], [14, 'rgb(218, 225, 228)'], [15, 'rgb(211, 220, 222)'],
[16, 'rgb(206, 216, 220)']
]
national_park_color: [
[0 , 'rgb(203, 242, 196)'], [6 , 'rgb(224, 245, 223)'], [9 , 'rgb(224, 245, 223)'], [10, 'rgb(225, 245, 220)'],
[11, 'rgb(226, 245, 226)'], [16, 'rgb(225, 246, 223)']
]
island:
zoom: {min: 0, max: 15}
label:
font:
weight: normal
size: [[0, 10px], [11, 10px], [12, 11px], [13, 11px], [14, 12px], [15, 12px], [16, 13px]]
stroke:
width: 1px
island_color: rgb(81,87,4)
island_outline_color: rgba(250,253,255, .39)
native_reservation_color: rgba (245, 231, 218, 0.78)
military_color: rgb(235,237,242)
park_color: rgb (186, 232, 169)
# Applies to allotment, amusement, animal, cemetery, sports complex:
green_area_color: [
[13, 'rgb(221,235,221)'], [14, 'rgb(215,233,219)'], [15, 'rgb(215,233,219)'], [16, 'rgb(211,233,216)']
]
pedestrian_area_color: [
[9, 'rgb(225,234,240)'], [10, 'rgb(233,237,240)'], [12, 'rgb(233,237,240)'], [13, 'rgb(235,239,242)'],
[14, 'rgb(233,237,240)'], [15, 'rgb(223,230,235)'], [16, 'rgb(219,225,231)']
]
aerodrome_color: [
[10, 'rgb(228,234,240)'], [11, 'rgb(225,230,234)'], [13, 'rgb(225,230,234)'], [14, 'rgb(218,225,228)'],
[15, 'rgb(211,220,222)'], [16, 'rgb(206,216,220)']
]
runway_color: [
[13, 'rgb(211,217,222)'], [14, 'rgb(205,213,214)'], [15, 'rgb(198,209,211)'], [16, 'rgb(192,203,208)']
]
university_campus_color: rgb (235, 230, 221)
#################################################### BOUNDARIES ####################################################
boundary:
labels:
zoom:
min: 8
offset: [0px, 5px]
font:
size: 9px
transform: uppercase
stroke:
color: global.land_color
width: 3px
single_text:
offset: [0px, 0px]
country:
line:
width: 1px
outline:
width: [[3, '0px'], [4, '2px'], [7, '3px']]
other: # Used for other boundary kinds like "disputed" etc.:
line:
dash: [5, 4]
width: [[0, '0px'], [9, '2px']]
outline:
width: [[3, '0px'], [4, '1px'], [5, '2px'], [7, '3px']]
state:
line:
width: 1px
outline:
width: [[0, '0px'], [9, '1px']]
state_boundary_text_color: rgb(102,102,102)
country_boundary_color: [
[4, 'rgb(160, 160, 180)'], [5, 'rgb(120, 120, 140)'], [6, 'rgb(100, 100, 120)'], [7, 'rgb(100, 100, 120)'],
[8, 'rgb(80, 80, 100)'], [9, 'rgb(60, 60, 80)']
]
country_boundary_outline_color: [
[3, 'rgba(190, 190, 190, 0.1)'], [4, 'rgba(180, 180, 180, 0.15)'], [5, 'rgba(150, 150, 150, 0.15)'],
[6, 'rgba(130, 130, 130, 0.15)'], [8, 'rgba(110, 110, 110, 0.15)']
]
country_disputed_boundary_color: [
[4, 'rgb(160,160,180)'], [5, 'rgb(120,120,140)'], [6, 'rgb(100,100,120)'], [7, 'rgb(100,100,120)'],
[8, 'rgb(80,80,100)'], [9, 'rgb(60,60,80 )']
]
country_disputed_boundary_background_color: [.50, .50, .50, .15]
region_boundary_color: [ # applies to states and regions
[3, 'rgb(225, 225, 225)'], # 0 <= $zoom < 4
[4, 'rgb(195, 195, 215)'], # 4 <= $zoom < 5
[5, 'rgb(210, 210, 210)'], # 5 <= $zoom < 6
# 6 <= $zoom < 12 (duplicates avoid interpolation)
[6, 'rgb(180, 180, 180)'], [7, 'rgb(180, 180, 180)'], [8, 'rgb(180, 180, 180)'], [9, 'rgb(180, 180, 180)'],
[10, 'rgb(180, 180, 180)'], [11, 'rgb(180, 180, 180)'], [12, 'rgb(170, 170, 170)'] # 12 <= $zoom
]
region_boundary_outline_color: [ # applies to states and regions
[4, 'rgba(220, 220, 220, 0.06)'], # 0 <= $zoom < 5
[5, 'rgba(215, 215, 215, 0.06)'], # 5 <= $zoom < 6
[6, 'rgba(200, 200, 200, 0.1)'], # 6 <= $zoom < 7
# 7 <= $zoom < 12 (duplicates avoid interpolation)
[7, 'rgba(200, 200, 200, 0.16)'], [8, 'rgba(200, 200, 200, 0.16)'], [9, 'rgba(200, 200, 200, 0.16)'],
[10, 'rgba(200, 200, 200, 0.16)'], [11, 'rgba(200, 200, 200, 0.16)'], [12, 'rgba(200, 200, 200, 0.2)'] # 12 <= $zoom
]
#################################################### BUILDINGS #####################################################
building:
outline:
width: 1px
extrusion:
zoom: {min: 16}
outline:
width: .5px
label:
zoom: {min: 17}
font:
size: [[15, 11px], [16, 12px]]
stroke:
width: 1px
address:
label:
zoom: {min: 18}
font:
size: [[18, 12px],[22, 16px]]
building_color: rgba(250, 254, 255, .58)
building_outline_color: [[16, 'rgb(216,224,227)'], [17, 'rgb(208,216,219)'], [18, 'rgb(204,212,217)']]
building_extrude_color: rgba(196,202,204,.78)
building_label_color: rgb(86,105,112)
building_label_outline_color: rgba(240,246,247,.4)
######################################################################################################################
###################################################### ROADS #######################################################
######################################################################################################################
road:
default:
line:
width: 1px
direction:
size: [[15, 15px], [18, 30px], [20, 52px]]
spacing: [[16, 150px], [18, 250px]]
label:
font:
stroke:
width: .5px
rail:
zoom: {min: 10}
line:
width: [[15, 1px], [16, 1.5px], [17, 1.5px], [18, 2px], [19, 2.5px]]
dash: [7, 7]
outline:
width: [[10, .1px], [13, .5px], [14, .8px]]
under_construction:
line:
dash: [2, 2]
highway:
label:
font:
size: [[10, 14px], [20, 22px]]
outline:
width: [[7, 0px], [8, 0.5px]]
centerline:
width: [[10, 0px], [11, 1px]]
trunk:
label:
font:
size: [[10, 14px], [20, 22px]]
outline:
width: [[9, 0px], [10, 0.5px]]
link:
label:
font:
size: [[10, 14px], [20, 22px]]
major:
label:
offset: [[16, [0px, -1px]], [18, [0px, -2px]]]
font:
stroke:
width: .7px
size: [[14, 13.5px], [15, 14.5px], [16, 17px], [17, 22px]]
outline:
width: [[9, 0px], [10, 0.5px]]
secondary:
outline:
width: [[10, 0px], [11, .5px]]
label:
offset: [[16, [0px, -1px]], [17, [0px, -3px]]]
font:
size: [[14, 12px], [15, 15px], [16, 17px], [17, 21px]]
stroke:
width: .7px
tertiary:
outline:
width: [[11, 0px], [12, .5px]]
label:
font:
stroke:
width: .7px
size: [[13, 10px], [16, 13.5px], [17, 18px], [18, 24px]]
link:
line:
# Street.Category3.RampWidth
width: [
[0, 3px],
[14, 3px],
[15, 4px],
[16, 5px],
[17, 6px],
[18, 12px],
[19, 20px],
[20, 32px]
]
minor:
direction:
zoom: {max: 18}
label:
offset: [[16, [0px, -1px]], [18, [0px, -2px]]]
font:
stroke:
width: .7px
size: [[14, 10px], [16, 12px], [18, 19px], [20, 24px]]
residential:
outline:
width: [[13.5, 0px], [14, 1px]]
service:
outline:
width: [[13.5, 0px], [14, 1px]]
label:
font:
stroke:
width: .7px
size: [[16, 10px], [20, 16px]]
path:
label:
offset: [0px, -2px]
font:
fill: rgb(53,54,73)
size: 12px
stroke:
color: rgb(219,226,227)
width: 2px
unpaved:
label:
font:
fill: rgb(124,114,108)
stroke:
color: rgb(212,213,202)
pedestrian:
line:
width: [[11, 1px], [15, 1px], [16, 4px]]
dash: [1, 1]
footway:
label:
zoom: {min: 14, max: 20}
offset: [0px, -5px]
font:
fill: rgb(120,110,104)
size: 12px
line:
width: [[14, 1px], [20, 1px]]
bridge:
line:
width: [[14, 1px], [20, 1px]]
outline:
width: [[15, 0px], [16, .5px]]
ferry:
label:
offset: [0px, -12px]
font:
size: [[14,11px], [16,12px], [17,13px]]
stroke:
width: [[14, 1.3px], [15, 1.5px], [16, 1.5px], [17, 1.62px]]
line:
width: 1px
dash: [5, 3]
tunnel:
label:
font:
stroke:
color: white
line:
color: rgb(153,153,153)
dash: [10, 10]
aerialway:
cable_car:
line:
color: rgb(170, 170, 170)
width: 0.5px
chair_lift:
line:
color: [[13, 'rgb(153,158,185)'], [15, 'rgb(58, 65, 104)']]
width: [[13, 0.5px], [19, 2px]]
label:
font:
fill: rgb(66,74,114)
size: [[14, 12px], [16, 14px], [18, 21], [20, 26px]]
stroke:
color: white
width: 2px
ski_run:
piste:
line:
color: rgb(253, 254, 255)
width: [[13, 1px], [17, 4px], [19, 9px]]
outline:
color: rgb(218,228,229)
width: [[13, 0px], [20, 1px]]
label:
offset: [0px, -2px]
font:
fill: rgb(114, 122, 164)
size: [[14, 10px], [16, 12px], [18, 19px], [20, 24px]]
stroke:
color: white
width: 1px
directions:
size: [[15, 10px], [18, 14px], [20, 20px]]
################################################### ROAD SHIELDS ###################################################
shield:
size: [[6, 110%], [15, 120%]]
repeat_distance: [[10, 150px], [13, 200px], [20, 70px]]
text:
font:
fill: black
weight: 450
size: [[6, 8px], [15, 10px], [20, 13px]]
##################################################### TUNNELS ######################################################
tunnel_order: 305
##################################################### BRIDGES ######################################################
bridge_outline: rgb(160,160,160)
##################################################### HIGHWAYS #####################################################
highway_fill: [
[9, 'rgb(235,148,182)'], [10, 'rgb(229,137,175)'], [11, 'rgb(229,137,175)'], [12, 'rgb(239,151,187)'],
[13, 'rgb(240,144,179)']
]
highway_tunnel_fill: rgb(204,169,183)
highway_tunnel_center_line: rgb(204, 129, 160)
highway_outline: rgb(184,78,122)
highway_centerline_fill: [
[11, 'rgb(224,134,170)'], [12, 'rgb(219,117,156)'], [13, 'rgb(211,106,154)'], [14, 'rgb(212,115,155)']
]
highway_width: [
[6, 1px], [7, 2px], [8, 2.5px], [9, 3.5px], [11, 4px], [12, 5px], [13, 5.5px], [14, 7px], [15, 10px], [16, 14px],
[17, 18px], [18, 35px], [19, 45px], [20, 70px]
]
highway_link_width: [
[5, 1px], [12, 1px], [13, 2px], [14, 3px], [15, 4px], [16, 5px], [17, 7px], [18, 18px], [19, 22px], [20, 35px]
]
highway_trunk_width: [
[5, 1px], [8, 1px], [9, 2px], [10, 2px], [12, 2.5px], [13, 3px], [14, 5px], [15, 7px], [16, 12px], [17, 15px],
[18, 30px], [19, 37px], [20, 64px]
]
###################################################### ROADS #######################################################
major_road_fill: [[11, 'rgb(255,184,163)'], [12, 'rgb(255,181,160)'], [13, 'rgb(255,174,158)']]
major_road_tunnel_fill: rgb(204,177,169)
major_road_link_width: [[13, 2px], [14, 3px], [15, 4px], [16, 5px], [17, 7px], [18, 18px], [19, 23px], [20, 35px]]
major_road_outline: [[10, 'rgb(204,105,96)'], [11, 'rgb(191,99,90)'], [12, 'rgb(191,99,116)']]
major_road_width: [
[8, 1px], [9, 2px], [10, 3px], [12, 3.5px], [13, 4px], [14, 6px], [15, 7px], [16, 11px], [17, 15px], [18, 34px],
[19, 38px], [20, 62px]
]
major_road_secondary_fill: [[10, 'rgb(232,220,107)'], [12, 'rgb(255,252,140)'], [13, 'rgb(255,252,168)']]
major_road_secondary_tunnel_fill: rgb(204,201,169)
major_road_secondary_outline: rgb(191,157,134)
major_road_secondary_width: [
[10, 1px], [12, 2px], [13, 3.5px], [14, 5px], [15, 7px], [16, 11px], [17, 12px], [18, 30px], [19, 34px], [20, 54px]
]
major_road_secondary_link_width: [[13, 1px], [16, 4px], [17, 5px], [18, 10px], [19, 20px], [20, 30px]]
major_road_tertiary_fill: [[11, 'rgb(230,221,184)'], [12, 'rgb(255,255,227)']]
major_road_tertiary_tunnel_fill: rgb(204,200,184)
major_road_tertiary_outline: rgb(165,164,131)
major_road_tertiary_width: [
[11, 1.5px], [12, 2px], [13, 2.5px], [14, 3.5px], [15, 5px], [16, 9px], [17, 9px], [18, 25px], [19, 29px],
[20, 46px]
]
minor_road_residential_fill: [[13, 'rgb(204,205,205)'], [14, 'rgb(255, 255, 255)']]
minor_road_residential_tunnel_fill: rgb(227,227,227)
minor_road_residential_outline: rgb(200,201,198)
minor_road_width: [[14, 1px], [14, 2px], [15, 3px], [17, 6px], [18, 18px], [19, 24px], [20, 46px]]
minor_road_service_fill: [[13, 'rgb(204,205,205)'], [14, 'rgb(239,240,235)']]
minor_road_service_tunnel_fill: rgb(128,128,128)
minor_road_service_outline: rgb(203,205,203)
minor_road_unpaved_fill: rgb(239,240,235)
###################################################### PATHS #######################################################
path_pedestrian: rgb(175, 178, 182)
path_footway: rgb(180,203,178)
path_footway_tunnel_fill: rgb(227,227,227)
path_footway_cemetery: rgb(199,205,204)
path_footway_forest: rgb(187,190,194)
path_footway_park: rgb(178,204,172)
##################################################### FERRIES ######################################################
ferry_line_color: rgb(67,141,218)
ferry_label_color: rgb(48,124,207)
ferry_tunnel_color: rgb(30,48,65)
ferry_label_outline_color: rgb(153,206,255)
##################################################### RAILWAYS #####################################################
rail_dash_background_color: rgb(160, 160, 160)
rail_outline_color: rgb(160, 160, 160)
rail_dash_color: [[10, 'rgb(220, 220, 220)'], [13, 'rgb(255, 255, 255)'], [16, 'rgb(250, 250, 250)']]
#################################################### CONTINENTS ####################################################
continent:
label:
font:
transform: uppercase
fill: rgba(255, 118, 120, 0.7)
weight: normal
size: 19px
stroke:
color: rgba(255, 255, 255, 0.118)
width: 1px
# That's a temporary code which renders mountain peaks, it
# should be removed after enabeling ../poi.day.yaml for this style:
layers:
pois:
data: {source: omv, layer: pois}
filter: global.feature_min_zoom_filter
mountain:
filter:
kind: [peak, volcano]
draw:
icon_library:
size: 10px
text:
priority: global.label.priorities.mountain-peak-labels
text_source: |
function() {
return ((global.ux_language && feature['name:' + global.ux_language]) ||
(global.ux_language_fallback && feature['name:' + global.ux_language_fallback]) ||
feature['name']) + (feature.elevation && ' (' + feature.elevation + 'm)' || '');
}
text_wrap: 1
max_lines: 5
anchor: top
font:
fill: 'rgb(120,107,103)'
stroke:
width: 1px
color: 'rgba(250,254,255,.47)'
size: 10px
peak:
filter: {kind: peak}
draw:
icon_library:
sprite: mountain-peak--mountain
volcano:
filter: {kind: volcano}
draw:
icon_library:
sprite: mountain-peak--volcano
This file has been truncated, but you can view the full file.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment