@elastic/ems-client
Version:
JavaScript client library for the Elastic Maps Service
2,701 lines (2,700 loc) • 93.6 kB
JSON
{
"version": 8,
"name": "OSM Bright",
"metadata": {
"mapbox:type": "template",
"mapbox:groups": {
"1444849364238.8171": {
"collapsed": false,
"name": "Buildings"
},
"1444849354174.1904": {
"collapsed": true,
"name": "Tunnels"
},
"1444849388993.3071": {
"collapsed": false,
"name": "Land"
},
"1444849242106.713": {
"collapsed": false,
"name": "Places"
},
"1444849382550.77": {
"collapsed": false,
"name": "Water"
},
"1444849345966.4436": {
"collapsed": false,
"name": "Roads"
},
"1444849334699.1902": {
"collapsed": true,
"name": "Bridges"
}
},
"mapbox:autocomposite": false,
"openmaptiles:version": "3.x",
"openmaptiles:mapbox:owner": "openmaptiles",
"openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t"
},
"sources": {
"openmaptiles": {
"type": "vector",
"url": "/data/v3.json"
}
},
"sprite": "/styles/osm-bright/sprite",
"glyphs": "/fonts/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "#f8f4f0"
}
},
{
"id": "landcover-glacier",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"==",
"subclass",
"glacier"
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "#fff",
"fill-opacity": {
"base": 1,
"stops": [
[
0,
0.9
],
[
10,
0.3
]
]
}
}
},
{
"id": "landuse-residential",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"==",
"class",
"residential"
],
"paint": {
"fill-color": {
"base": 1,
"stops": [
[
12,
"hsla(30, 19%, 90%, 0.4)"
],
[
16,
"hsla(30, 19%, 90%, 0.2)"
]
]
}
}
},
{
"id": "landuse-commercial",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"all",
[
"==",
"$type",
"Polygon"
],
[
"==",
"class",
"commercial"
]
],
"paint": {
"fill-color": "hsla(0, 60%, 87%, 0.23)"
}
},
{
"id": "landuse-industrial",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"all",
[
"==",
"$type",
"Polygon"
],
[
"==",
"class",
"industrial"
]
],
"paint": {
"fill-color": "hsla(49, 100%, 88%, 0.34)"
}
},
{
"id": "park",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "park",
"filter": [
"==",
"$type",
"Polygon"
],
"paint": {
"fill-color": "#d8e8c8",
"fill-opacity": {
"base": 1.8,
"stops": [
[
9,
0.5
],
[
12,
0.2
]
]
}
}
},
{
"id": "park-outline",
"type": "line",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "park",
"filter": [
"==",
"$type",
"Polygon"
],
"layout": {},
"paint": {
"line-color": {
"base": 1,
"stops": [
[
6,
"hsla(96, 40%, 49%, 0.36)"
],
[
8,
"hsla(96, 40%, 49%, 0.66)"
]
]
},
"line-dasharray": [
3,
3
]
}
},
{
"id": "landuse-cemetery",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"==",
"class",
"cemetery"
],
"paint": {
"fill-color": "#e0e4dd"
}
},
{
"id": "landuse-hospital",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"==",
"class",
"hospital"
],
"paint": {
"fill-color": "#fde"
}
},
{
"id": "landuse-school",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"==",
"class",
"school"
],
"paint": {
"fill-color": "#f0e8f8"
}
},
{
"id": "landuse-railway",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "landuse",
"filter": [
"==",
"class",
"railway"
],
"paint": {
"fill-color": "hsla(30, 19%, 90%, 0.4)"
}
},
{
"id": "landcover-wood",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"==",
"class",
"wood"
],
"paint": {
"fill-color": "#6a4",
"fill-opacity": 0.1,
"fill-outline-color": "hsla(0, 0%, 0%, 0.03)",
"fill-antialias": {
"base": 1,
"stops": [
[
0,
false
],
[
9,
true
]
]
}
}
},
{
"id": "landcover-grass",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"==",
"class",
"grass"
],
"paint": {
"fill-color": "#d8e8c8",
"fill-opacity": 1
}
},
{
"id": "landcover-grass-park",
"type": "fill",
"metadata": {
"mapbox:group": "1444849388993.3071"
},
"source": "openmaptiles",
"source-layer": "park",
"filter": [
"==",
"class",
"public_park"
],
"paint": {
"fill-color": "#d8e8c8",
"fill-opacity": 0.8
}
},
{
"id": "waterway_tunnel",
"filter": [
"all",
[
"in",
"class",
"river",
"stream",
"canal"
],
[
"==",
"brunnel",
"tunnel"
]
],
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"layout": {
"line-cap": "round"
},
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.3,
"stops": [
[
13,
0.5
],
[
20,
6
]
]
},
"line-dasharray": [
2,
4
]
},
"minzoom": 14
},
{
"id": "waterway-other",
"type": "line",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"!in",
"class",
"canal",
"river",
"stream"
],
"layout": {
"line-cap": "round"
},
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.3,
"stops": [
[
13,
0.5
],
[
20,
2
]
]
}
}
},
{
"id": "waterway-stream-canal",
"type": "line",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"all",
[
"in",
"class",
"canal",
"stream"
],
[
"!=",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "round"
},
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.3,
"stops": [
[
13,
0.5
],
[
20,
6
]
]
}
}
},
{
"id": "waterway-river",
"type": "line",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"all",
[
"==",
"class",
"river"
],
[
"!=",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "round"
},
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.2,
"stops": [
[
10,
0.8
],
[
20,
6
]
]
}
}
},
{
"id": "water-offset",
"type": "fill",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "openmaptiles",
"source-layer": "water",
"maxzoom": 8,
"filter": [
"==",
"$type",
"Polygon"
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-opacity": 1,
"fill-color": "#a0c8f0",
"fill-translate": {
"base": 1,
"stops": [
[
6,
[
2,
0
]
],
[
8,
[
0,
0
]
]
]
}
}
},
{
"id": "water",
"type": "fill",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "openmaptiles",
"source-layer": "water",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsl(210, 67%, 85%)"
}
},
{
"id": "water-pattern",
"type": "fill",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "openmaptiles",
"source-layer": "water",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-translate": [
0,
2.5
],
"fill-pattern": "wave"
}
},
{
"id": "landcover-ice-shelf",
"type": "fill",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "openmaptiles",
"source-layer": "landcover",
"filter": [
"==",
"subclass",
"ice_shelf"
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "#fff",
"fill-opacity": {
"base": 1,
"stops": [
[
0,
0.9
],
[
10,
0.3
]
]
}
}
},
{
"id": "building",
"type": "fill",
"metadata": {
"mapbox:group": "1444849364238.8171"
},
"source": "openmaptiles",
"source-layer": "building",
"paint": {
"fill-color": {
"base": 1,
"stops": [
[
15.5,
"#f2eae2"
],
[
16,
"#dfdbd7"
]
]
},
"fill-antialias": true
}
},
{
"id": "building-top",
"type": "fill",
"metadata": {
"mapbox:group": "1444849364238.8171"
},
"source": "openmaptiles",
"source-layer": "building",
"layout": {
"visibility": "visible"
},
"paint": {
"fill-translate": {
"base": 1,
"stops": [
[
14,
[
0,
0
]
],
[
16,
[
-2,
-2
]
]
]
},
"fill-outline-color": "#dfdbd7",
"fill-color": "#f2eae2",
"fill-opacity": {
"base": 1,
"stops": [
[
13,
0
],
[
16,
1
]
]
}
}
},
{
"id": "tunnel-service-track-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"in",
"class",
"service",
"track"
]
],
"layout": {
"line-join": "round"
},
"paint": {
"line-color": "#cfcdca",
"line-dasharray": [
0.5,
0.25
],
"line-width": {
"base": 1.2,
"stops": [
[
15,
1
],
[
16,
4
],
[
20,
11
]
]
}
}
},
{
"id": "tunnel-minor-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"==",
"class",
"minor"
]
],
"layout": {
"line-join": "round"
},
"paint": {
"line-color": "#cfcdca",
"line-opacity": {
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-width": {
"base": 1.2,
"stops": [
[
12,
0.5
],
[
13,
1
],
[
14,
4
],
[
20,
15
]
]
}
}
},
{
"id": "tunnel-secondary-tertiary-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"in",
"class",
"secondary",
"tertiary"
]
],
"layout": {
"line-join": "round"
},
"paint": {
"line-color": "#e9ac77",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [
[
8,
1.5
],
[
20,
17
]
]
}
}
},
{
"id": "tunnel-trunk-primary-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"in",
"class",
"primary",
"trunk"
]
],
"layout": {
"line-join": "round"
},
"paint": {
"line-color": "#e9ac77",
"line-width": {
"base": 1.2,
"stops": [
[
5,
0.4
],
[
6,
0.6
],
[
7,
1.5
],
[
20,
22
]
]
}
}
},
{
"id": "tunnel-motorway-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"==",
"class",
"motorway"
]
],
"layout": {
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#e9ac77",
"line-dasharray": [
0.5,
0.25
],
"line-width": {
"base": 1.2,
"stops": [
[
5,
0.4
],
[
6,
0.6
],
[
7,
1.5
],
[
20,
22
]
]
}
}
},
{
"id": "tunnel-path",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"==",
"class",
"path"
]
]
],
"paint": {
"line-color": "#cba",
"line-dasharray": [
1.5,
0.75
],
"line-width": {
"base": 1.2,
"stops": [
[
15,
1.2
],
[
20,
4
]
]
}
}
},
{
"id": "tunnel-service-track",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"in",
"class",
"service",
"track"
]
],
"layout": {
"line-join": "round"
},
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[
15.5,
0
],
[
16,
2
],
[
20,
7.5
]
]
}
}
},
{
"id": "tunnel-minor",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"==",
"class",
"minor_road"
]
],
"layout": {
"line-join": "round"
},
"paint": {
"line-color": "#fff",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [
[
13.5,
0
],
[
14,
2.5
],
[
20,
11.5
]
]
}
}
},
{
"id": "tunnel-secondary-tertiary",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"in",
"class",
"secondary",
"tertiary"
]
],
"layout": {
"line-join": "round"
},
"paint": {
"line-color": "#fff4c6",
"line-width": {
"base": 1.2,
"stops": [
[
6.5,
0
],
[
7,
0.5
],
[
20,
10
]
]
}
}
},
{
"id": "tunnel-trunk-primary",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"in",
"class",
"primary",
"trunk"
]
],
"layout": {
"line-join": "round"
},
"paint": {
"line-color": "#fff4c6",
"line-width": {
"base": 1.2,
"stops": [
[
6.5,
0
],
[
7,
0.5
],
[
20,
18
]
]
}
}
},
{
"id": "tunnel-motorway",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"==",
"class",
"motorway"
]
],
"layout": {
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#ffdaa6",
"line-width": {
"base": 1.2,
"stops": [
[
6.5,
0
],
[
7,
0.5
],
[
20,
18
]
]
}
}
},
{
"id": "tunnel-railway",
"type": "line",
"metadata": {
"mapbox:group": "1444849354174.1904"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"==",
"class",
"rail"
]
],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[
14,
0.4
],
[
15,
0.75
],
[
20,
2
]
]
},
"line-dasharray": [
2,
2
]
}
},
{
"id": "ferry",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"in",
"class",
"ferry"
]
],
"layout": {
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(108, 159, 182, 1)",
"line-width": 1.1,
"line-dasharray": [
2,
2
]
}
},
{
"id": "aeroway-taxiway-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 12,
"filter": [
"all",
[
"in",
"class",
"taxiway"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(153, 153, 153, 1)",
"line-width": {
"base": 1.5,
"stops": [
[
11,
2
],
[
17,
12
]
]
},
"line-opacity": 1
}
},
{
"id": "aeroway-runway-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 12,
"filter": [
"all",
[
"in",
"class",
"runway"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(153, 153, 153, 1)",
"line-width": {
"base": 1.5,
"stops": [
[
11,
5
],
[
17,
55
]
]
},
"line-opacity": 1
}
},
{
"id": "aeroway-area",
"type": "fill",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 4,
"filter": [
"all",
[
"==",
"$type",
"Polygon"
],
[
"in",
"class",
"runway",
"taxiway"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-opacity": {
"base": 1,
"stops": [
[
13,
0
],
[
14,
1
]
]
},
"fill-color": "rgba(255, 255, 255, 1)"
}
},
{
"id": "aeroway-taxiway",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 4,
"filter": [
"all",
[
"in",
"class",
"taxiway"
],
[
"==",
"$type",
"LineString"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(255, 255, 255, 1)",
"line-width": {
"base": 1.5,
"stops": [
[
11,
1
],
[
17,
10
]
]
},
"line-opacity": {
"base": 1,
"stops": [
[
11,
0
],
[
12,
1
]
]
}
}
},
{
"id": "aeroway-runway",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "aeroway",
"minzoom": 4,
"filter": [
"all",
[
"in",
"class",
"runway"
],
[
"==",
"$type",
"LineString"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(255, 255, 255, 1)",
"line-width": {
"base": 1.5,
"stops": [
[
11,
4
],
[
17,
50
]
]
},
"line-opacity": {
"base": 1,
"stops": [
[
11,
0
],
[
12,
1
]
]
}
}
},
{
"id": "highway-area",
"type": "fill",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"==",
"$type",
"Polygon"
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-color": "hsla(0, 0%, 89%, 0.56)",
"fill-outline-color": "#cfcdca",
"fill-opacity": 0.9,
"fill-antialias": false
}
},
{
"id": "highway-motorway-link-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"==",
"class",
"motorway_link"
]
],
"layout": {
"line-cap": "round",
"line-join": "round"
},
"paint": {
"line-color": "#e9ac77",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [
[
12,
1
],
[
13,
3
],
[
14,
4
],
[
20,
15
]
]
}
}
},
{
"id": "highway-link-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"in",
"class",
"primary_link",
"secondary_link",
"tertiary_link",
"trunk_link"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#e9ac77",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [
[
12,
1
],
[
13,
3
],
[
14,
4
],
[
20,
15
]
]
}
}
},
{
"id": "highway-minor-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"!=",
"brunnel",
"tunnel"
],
[
"in",
"class",
"minor",
"service",
"track"
]
]
],
"layout": {
"line-cap": "round",
"line-join": "round"
},
"paint": {
"line-color": "#cfcdca",
"line-opacity": {
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-width": {
"base": 1.2,
"stops": [
[
12,
0.5
],
[
13,
1
],
[
14,
4
],
[
20,
15
]
]
}
}
},
{
"id": "highway-secondary-tertiary-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"in",
"class",
"secondary",
"tertiary"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#e9ac77",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [
[
8,
1.5
],
[
20,
17
]
]
}
}
},
{
"id": "highway-primary-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 5,
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"in",
"class",
"primary"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#e9ac77",
"line-opacity": {
"stops": [
[
7,
0
],
[
8,
1
]
]
},
"line-width": {
"base": 1.2,
"stops": [
[
7,
0
],
[
8,
0.6
],
[
9,
1.5
],
[
20,
22
]
]
}
}
},
{
"id": "highway-trunk-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 5,
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"in",
"class",
"trunk"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#e9ac77",
"line-opacity": {
"stops": [
[
5,
0
],
[
6,
1
]
]
},
"line-width": {
"base": 1.2,
"stops": [
[
5,
0
],
[
6,
0.6
],
[
7,
1.5
],
[
20,
22
]
]
}
}
},
{
"id": "highway-motorway-casing",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 4,
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"==",
"class",
"motorway"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#e9ac77",
"line-width": {
"base": 1.2,
"stops": [
[
4,
0
],
[
5,
0.4
],
[
6,
0.6
],
[
7,
1.5
],
[
20,
22
]
]
},
"line-opacity": {
"stops": [
[
4,
0
],
[
5,
1
]
]
}
}
},
{
"id": "highway-path",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"==",
"class",
"path"
]
]
],
"paint": {
"line-color": "#cba",
"line-dasharray": [
1.5,
0.75
],
"line-width": {
"base": 1.2,
"stops": [
[
15,
1.2
],
[
20,
4
]
]
}
}
},
{
"id": "highway-motorway-link",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"==",
"class",
"motorway_link"
]
],
"layout": {
"line-cap": "round",
"line-join": "round"
},
"paint": {
"line-color": "#fc8",
"line-width": {
"base": 1.2,
"stops": [
[
12.5,
0
],
[
13,
1.5
],
[
14,
2.5
],
[
20,
11.5
]
]
}
}
},
{
"id": "highway-link",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"in",
"class",
"primary_link",
"secondary_link",
"tertiary_link",
"trunk_link"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fea",
"line-width": {
"base": 1.2,
"stops": [
[
12.5,
0
],
[
13,
1.5
],
[
14,
2.5
],
[
20,
11.5
]
]
}
}
},
{
"id": "highway-minor",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"!=",
"brunnel",
"tunnel"
],
[
"in",
"class",
"minor",
"service",
"track"
]
]
],
"layout": {
"line-cap": "round",
"line-join": "round"
},
"paint": {
"line-color": "#fff",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [
[
13.5,
0
],
[
14,
2.5
],
[
20,
11.5
]
]
}
}
},
{
"id": "highway-secondary-tertiary",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"in",
"class",
"secondary",
"tertiary"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fea",
"line-width": {
"base": 1.2,
"stops": [
[
6.5,
0
],
[
8,
0.5
],
[
20,
13
]
]
}
}
},
{
"id": "highway-primary",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"in",
"class",
"primary"
]
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fea",
"line-width": {
"base": 1.2,
"stops": [
[
8.5,
0
],
[
9,
0.5
],
[
20,
18
]
]
}
}
},
{
"id": "highway-trunk",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"in",
"class",
"trunk"
]
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fea",
"line-width": {
"base": 1.2,
"stops": [
[
6.5,
0
],
[
7,
0.5
],
[
20,
18
]
]
}
}
},
{
"id": "highway-motorway",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 5,
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"==",
"class",
"motorway"
]
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#fc8",
"line-width": {
"base": 1.2,
"stops": [
[
6.5,
0
],
[
7,
0.5
],
[
20,
18
]
]
}
}
},
{
"id": "railway-transit",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"==",
"class",
"transit"
],
[
"!in",
"brunnel",
"tunnel"
]
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"line-color": "hsla(0, 0%, 73%, 0.77)",
"line-width": {
"base": 1.4,
"stops": [
[
14,
0.4
],
[
20,
1
]
]
}
}
},
{
"id": "railway-transit-hatching",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"==",
"class",
"transit"
],
[
"!in",
"brunnel",
"tunnel"
]
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"line-color": "hsla(0, 0%, 73%, 0.68)",
"line-dasharray": [
0.2,
8
],
"line-width": {
"base": 1.4,
"stops": [
[
14.5,
0
],
[
15,
2
],
[
20,
6
]
]
}
}
},
{
"id": "railway-service",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"==",
"class",
"rail"
],
[
"has",
"service"
]
]
],
"paint": {
"line-color": "hsla(0, 0%, 73%, 0.77)",
"line-width": {
"base": 1.4,
"stops": [
[
14,
0.4
],
[
20,
1
]
]
}
}
},
{
"id": "railway-service-hatching",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"==",
"class",
"rail"
],
[
"has",
"service"
]
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"line-color": "hsla(0, 0%, 73%, 0.68)",
"line-dasharray": [
0.2,
8
],
"line-width": {
"base": 1.4,
"stops": [
[
14.5,
0
],
[
15,
2
],
[
20,
6
]
]
}
}
},
{
"id": "railway",
"type": "line",
"metadata": {
"mapbox:group": "1444849345966.4436"
},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"all",
[
"!has",
"service"
],
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"==",
"class",
"rail"
]
]
],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[
14,
0.4
],
[
15,
0.75
],
[
20,
2