Skip to content

Instantly share code, notes, and snippets.

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 davidoesch/f6a23f30c653e1dac5709dcd9be92b29 to your computer and use it in GitHub Desktop.
Save davidoesch/f6a23f30c653e1dac5709dcd9be92b29 to your computer and use it in GitHub Desktop.
styles-ch.swisstopo.basiskarte-lsd.vt_v004.json
{
"version": 8,
"name": "styles-ch.swisstopo.basiskarte.vt_v004",
"metadata": {
"mapbox:autocomposite": true,
"mapbox:type": "template",
"maputnik:renderer": "mbgljs"
},
"center": [
8,
47
],
"zoom": 7,
"bearing": 0,
"pitch": 5.5,
"light": {
"anchor": "map",
"intensity": 0
},
"sources": {
"ch.swisstopo.vektorkarte.vt": {
"url": "https://tileserver.int.bgdi.ch/data/ch.swisstopo.vektorkarte.vt_v004.json",
"type": "vector"
},
"ch.swisstopo.swissnames3d": {
"url": "https://tileserver.int.bgdi.ch/data/ch.swisstopo.swissnames3d_v004.json",
"type": "vector"
},
"ch.swisstopo.amtliches-strassenverzeichnis_validiert": {
"url": "https://tileserver.int.bgdi.ch/data/ch.swisstopo.amtliches-strassenverzeichnis_validiert_v001.json",
"type": "vector"
},
"ch.bav.haltestellen-oev": {
"url": "https://tileserver.int.bgdi.ch/data/ch.bav.haltestellen-oev_v001.json",
"type": "vector"
},
"ch.swisstopo.swissalti3d-reliefschattierung": {
"url": "http://tileserver.int.bgdi.ch/json/relief.json",
"type": "raster"
},
"OpenMapTiles": {
"url": "https://tileserver.int.bgdi.ch/data/osm-2017-07-24-v3.6.2-europe-cut-20170918_v001.json",
"type": "vector"
}
},
"sprite": "mapbox://sprites/vib2d/cjeeaiozg3icf2sn7c3gjazob",
"glyphs": "https://tileserver.int.bgdi.ch/fonts/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background_",
"type": "background",
"minzoom": 1,
"maxzoom": 22,
"layout": {
"visibility": "visible"
},
"paint": {
"background-color": {
"stops": [
[
6,
"rgba(1, 248, 152, 1)"
],
[
7,
"rgba(1, 248, 200, 1)"
],
[
8,
"rgba(1, 204, 248, 1)"
],
[
9,
"rgba(1, 131, 248, 1)"
],
[
10,
"rgba(1, 57, 248, 1)"
],
[
11,
"rgba(101, 1, 248, 1)"
],
[
12,
"rgba(147, 1, 248, 1)"
],
[
13,
"rgba(212, 1, 248, 1)"
],
[
14,
"rgba(248, 1, 146, 1)"
],
[
15,
"rgba(248, 1, 109, 1)"
],
[
16,
"rgba(248, 1, 5, 1)"
]
]
}
}
},
{
"id": "osm_settlement",
"type": "fill",
"source": "OpenMapTiles",
"source-layer": "landuse",
"minzoom": 4,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"residential"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
4,
0
],
[
10,
0.8
],
[
14,
0.5
],
[
15,
0
]
]
},
"fill-color": "rgb(243, 255,1)"
}
},
{
"id": "osm_landcover_glacier",
"type": "fill",
"source": "OpenMapTiles",
"source-layer": "landcover",
"minzoom": 10,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"subclass",
"glacier"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1,
"stops": [
[
10,
0
],
[
11,
0.2
]
]
},
"fill-color": "rgb(0, 170, 255)"
}
},
{
"id": "osm_landcover_woodland",
"type": "fill",
"source": "OpenMapTiles",
"source-layer": "landcover",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"wood"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1,
"stops": [
[
11,
0
],
[
12,
0.3
]
]
},
"fill-color": "rgb(65, 185, 65)"
}
},
{
"id": "osm_landuse_leisure",
"type": "fill",
"source": "OpenMapTiles",
"source-layer": "landcover",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"subclass",
"park",
"recreation_ground"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"fill-color": "rgb(200, 235, 175)"
}
},
{
"id": "osm_landuse_cemetery",
"type": "fill",
"source": "OpenMapTiles",
"source-layer": "landuse",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"cemetery"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"fill-color": "rgb(200, 235, 175)"
}
},
{
"id": "osm_landuse_hospital",
"type": "fill",
"source": "OpenMapTiles",
"source-layer": "landuse",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"hospital"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"fill-color": "rgb(240, 240, 245)"
}
},
{
"id": "osm_hydrology_watercourse_underground",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "waterway",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": 1,
"line-color": "rgb(170, 210, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
11,
0
],
[
13,
1
],
[
18,
3.5
]
]
},
"line-dasharray": [
3,
7
]
}
},
{
"id": "osm_roadtraffic_class4_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"track",
"path"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
13,
1
],
[
18,
4
]
]
},
"line-dasharray": [
0.4,
0.4
]
}
},
{
"id": "osm_roadtraffic_contour_class3_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"raceway",
"service"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3
],
[
18,
18
]
]
},
"line-dasharray": [
0.4,
0.4
]
}
},
{
"id": "osm_roadtraffic_class3_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"raceway",
"service"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2
],
[
18,
15
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_class2_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"tertiary",
"minor"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3.5
],
[
18,
28
]
]
},
"line-dasharray": [
0.4,
0.4
]
}
},
{
"id": "osm_roadtraffic_class2_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"tertiary",
"minor"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2.5
],
[
18,
25
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_class1_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"primary",
"secondary"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10.5,
0
],
[
11,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3.25
],
[
12,
5
],
[
18,
33
]
]
},
"line-dasharray": [
0.4,
0.4
]
}
},
{
"id": "osm_roadtraffic_class1_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"primary",
"secondary"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10,
0
],
[
10.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_highway_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"motorway",
"trunk"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
11,
0
],
[
11.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
0.125
],
[
12,
0.5
],
[
18,
1.5
]
]
},
"line-gap-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
14,
6
],
[
16,
10
],
[
18,
30
]
]
},
"line-dasharray": [
5,
5
]
}
},
{
"id": "osm_roadtraffic_highway_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"motorway",
"trunk"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
],
[
13,
0.7
]
]
},
"line-color": "rgb(0, 255, 135)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "osm_railtraffic_side_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"rail"
],
[
"in",
"service",
"siding",
"yard",
"spur",
"crossover"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
1
],
[
15,
1.5
],
[
18,
4
]
]
},
"line-dasharray": [
5,
3
]
}
},
{
"id": "osm_railtraffic_tunnel",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"rail"
],
[
"!has",
"service"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
2
],
[
15,
3
],
[
18,
8
]
]
},
"line-dasharray": [
5,
3
]
}
},
{
"id": "osm_hydrology_watercourse",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "waterway",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all"
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgba(4, 166, 160, 1)"
],
[
10,
"rgba(19, 40, 63, 1)"
],
[
14,
"rgba(132, 122, 232, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
11,
0
],
[
13,
2
],
[
18,
7
]
]
}
}
},
{
"id": "osm_hydrology_river",
"type": "fill",
"source": "OpenMapTiles",
"source-layer": "water",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"river"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
8,
0
],
[
8.5,
1
]
]
},
"fill-color": {
"stops": [
[
6,
"rgba(4, 166, 160, 1)"
],
[
10,
"rgba(19, 40, 63, 1)"
],
[
14,
"rgba(132, 122, 232, 1)"
]
]
}
}
},
{
"id": "osm_labels_watercourse",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "waterway",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all"
],
"layout": {
"symbol-placement": "line",
"symbol-spacing": 250,
"text-rotation-alignment": "map",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
13,
12
],
[
18,
16
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.1,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 100,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0, 65, 125)",
"text-halo-color": "rgb(170, 210, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 2
}
},
{
"id": "osm_hydrology_lake",
"type": "fill",
"source": "OpenMapTiles",
"source-layer": "water",
"minzoom": 6,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"lake"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": 1,
"fill-color": {
"stops": [
[
6,
"rgba(4, 166, 160, 1)"
],
[
10,
"rgba(19, 40, 63, 1)"
],
[
14,
"rgba(132, 122, 232, 1)"
]
]
}
}
},
{
"id": "osm_hydrology_ocean",
"type": "fill",
"source": "OpenMapTiles",
"source-layer": "water",
"minzoom": 1,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"ocean"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": 1,
"fill-color": {
"stops": [
[
6,
"rgba(4, 166, 160, 1)"
],
[
10,
"rgba(19, 40, 63, 1)"
],
[
14,
"rgba(132, 122, 232, 1)"
]
]
}
}
},
{
"id": "osm_ferryservice_car_ferry",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"ferry"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
0.4
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
8,
0.25
],
[
12,
1
],
[
18,
2.5
]
]
},
"line-gap-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
14,
5
],
[
18,
25
]
]
},
"line-dasharray": [
5,
3
]
}
},
{
"id": "osm_airtraffic_runway_contour",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "aeroway",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"runway",
"taxiway"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
5.25
],
[
12,
8
],
[
18,
53
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_class3",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"raceway",
"service"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3
],
[
18,
18
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_class2",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"tertiary",
"minor"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12.5,
0
],
[
13,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3.5
],
[
18,
28
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_class1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"primary",
"secondary"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10.5,
0
],
[
11,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3.25
],
[
12,
5
],
[
18,
33
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_highway",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"motorway",
"trunk"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
11,
0
],
[
11.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3.25
],
[
12,
5
],
[
18,
33
]
]
}
}
},
{
"id": "osm_roadtraffic_class4",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"track",
"path"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
13,
1
],
[
18,
4
]
]
},
"line-dasharray": [
5,
1
]
}
},
{
"id": "osm_roadtraffic_class3",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"raceway",
"service"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2
],
[
18,
15
]
]
}
}
},
{
"id": "osm_roadtraffic_class2",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"tertiary",
"minor"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2.5
],
[
18,
25
]
]
}
}
},
{
"id": "osm_airtraffic_runway",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "aeroway",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"runway",
"taxiway"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
11,
0
],
[
11.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
5
],
[
12,
7
],
[
18,
50
]
]
}
}
},
{
"id": "osm_roadtraffic_class1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"primary",
"secondary"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10,
0
],
[
10.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "osm_roadtraffic_highway",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"motorway",
"trunk"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": "rgb(0, 255, 135)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "osm_railtraffic_side",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"rail"
],
[
"in",
"service",
"siding",
"yard",
"spur",
"crossover"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
1
],
[
15,
1.5
],
[
18,
4
]
]
}
}
},
{
"id": "osm_railtraffic_",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"rail"
],
[
"!has",
"service"
],
[
"!has",
"brunnel"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
2
],
[
15,
3
],
[
18,
8
]
]
}
}
},
{
"id": "osm_buildings_",
"type": "fill",
"source": "OpenMapTiles",
"source-layer": "building",
"minzoom": 14,
"maxzoom": 22,
"filter": [
"all"
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
14,
0
],
[
15,
1
]
]
},
"fill-color": {
"stops": [
[
14,
"rgb(0, 0, 0)"
],
[
16,
"rgba(146, 2, 249, 1)"
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_class3_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"raceway",
"service"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3
],
[
18,
18
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_class2_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"tertiary",
"minor"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12.5,
0
],
[
13,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3.5
],
[
18,
28
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_class1_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"primary",
"secondary"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10.5,
0
],
[
11,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3.25
],
[
12,
5
],
[
18,
33
]
]
}
}
},
{
"id": "osm_roadtraffic_contour_highway_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"motorway",
"trunk"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
11,
0
],
[
11.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3.25
],
[
12,
5
],
[
18,
33
]
]
}
}
},
{
"id": "osm_roadtraffic_class4_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"track",
"path"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
13,
1
],
[
18,
4
]
]
},
"line-dasharray": [
5,
1
]
}
},
{
"id": "osm_roadtraffic_class3_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"raceway",
"service"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2
],
[
18,
15
]
]
}
}
},
{
"id": "osm_roadtraffic_class2_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"tertiary",
"minor"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2.5
],
[
18,
25
]
]
}
}
},
{
"id": "osm_roadtraffic_class1_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"primary",
"secondary"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10,
0
],
[
10.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "osm_roadtraffic_highway_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"motorway",
"trunk"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": "rgb(0, 255, 135)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "osm_railtraffic_side_contour_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"rail"
],
[
"in",
"service",
"siding",
"yard",
"spur",
"crossover"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(245, 245, 245)",
"line-width": {
"base": 1.8,
"stops": [
[
8,
1.25
],
[
15,
2.5
],
[
18,
7
]
]
}
}
},
{
"id": "osm_railtraffic_contour_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"rail"
],
[
"!has",
"service"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": "rgb(245, 245, 245)",
"line-width": {
"base": 1.8,
"stops": [
[
8,
2.25
],
[
15,
4
],
[
18,
11
]
]
}
}
},
{
"id": "osm_railtraffic_side_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"rail"
],
[
"in",
"service",
"siding",
"yard",
"spur",
"crossover"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
1
],
[
15,
1.5
],
[
18,
4
]
]
}
}
},
{
"id": "osm_railtraffic_level1",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"rail"
],
[
"!has",
"service"
],
[
"==",
"brunnel",
"bridge"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
2
],
[
15,
3
],
[
18,
8
]
]
}
}
},
{
"id": "osm_aerialways",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "transportation",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"cable_car"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": 1,
"line-color": "rgb(255, 80, 80)",
"line-width": {
"base": 1.8,
"stops": [
[
8,
0.5
],
[
15,
0.75
],
[
18,
2
]
]
}
}
},
{
"id": "osm_boundary_",
"type": "line",
"source": "OpenMapTiles",
"source-layer": "boundary",
"minzoom": 1,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"admin_level",
2
],
[
"==",
"maritime",
0
],
[
"==",
"disputed",
0
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": 1,
"line-color": "rgb(102, 102, 102)",
"line-width": {
"base": 1.8,
"stops": [
[
6,
2
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "osm_labels_peaks",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "mountain_peak",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"<",
"ele",
3000
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-image": "peak",
"icon-padding": 2,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
12,
13
],
[
20,
20
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 35,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 0.9,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 0.9,
"text-color": "rgb(200, 75, 0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_alpine_peaks",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "mountain_peak",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
">=",
"ele",
3000
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-image": "peak",
"icon-padding": 2,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
12,
15
],
[
20,
30
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 50,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 0.9,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 0.9,
"text-color": "rgb(200, 75, 0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_green-areas",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"cemetery",
"park"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
14,
12
],
[
20,
20
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0, 50, 0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_leisure",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"in",
"class",
"campsite",
"camp_site",
"zoo",
"golf",
"golf_course",
"swimming_area",
"swimming_pool",
"water_park",
"horse_racing",
"sports_centre"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
14,
12
],
[
20,
20
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0, 50, 0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_hospital_site",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"hospital"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-image": "{icon}",
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
16,
12
],
[
20,
20
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 1,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 0.9,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 0.9,
"text-color": "rgb(0, 70, 255)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_streetnames_street",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "transportation_name",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all"
],
"layout": {
"symbol-placement": "line",
"text-rotation-alignment": "map",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
15,
11
],
[
20,
14
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.02,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 30,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(38, 38, 38)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0
}
},
{
"id": "osm_labels_island",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 6,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"island"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
10,
11
],
[
18,
16
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_lakes",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "water_name",
"minzoom": 6,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"lake"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
10,
12
],
[
18,
19
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.25,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0, 65, 125)",
"text-halo-color": "rgb(170, 210, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 2
}
},
{
"id": "osm_labels_station_aerialway_icon",
"type": "circle",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"station"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": {
"stops": [
[
11,
2.5
],
[
22,
4.5
]
]
},
"circle-color": "rgb(255, 80, 80)",
"circle-blur": 0
}
},
{
"id": "osm_labels_station_aerialway",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"station"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
15,
10
],
[
20,
13
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 1,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(255, 80, 80)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_station_ferry",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"ferry_terminal"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-size": {
"stops": [
[
12,
0.8
],
[
19,
1.5
]
]
},
"icon-image": "circle_stroke",
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
15,
11
],
[
20,
15
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.06,
"text-justify": "center",
"text-anchor": "top",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-color": "rgb(0, 65, 125)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.8
}
},
{
"id": "osm_labels_station_bus_icon",
"type": "circle",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 16,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"bus"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 3,
"circle-color": "rgb(255, 80, 80)"
}
},
{
"id": "osm_labels_station_bus",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 16,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"bus"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-size": {
"stops": [
[
12,
0.01
],
[
19,
0.035
]
]
},
"icon-image": "station_bus",
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
16,
11
],
[
20,
13
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 1,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 1,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 1,
"text-color": "rgb(255, 80, 80)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.5,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_station_tram_icon",
"type": "circle",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"railway"
],
[
"==",
"subclass",
"tram_stop"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 4,
"circle-color": "rgb(255, 80, 80)"
}
},
{
"id": "osm_labels_station_tram",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"railway"
],
[
"==",
"subclass",
"tram_stop"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": false,
"icon-size": {
"stops": [
[
12,
0.8
],
[
19,
1.5
]
]
},
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
15,
11
],
[
20,
15
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.06,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 1,
"text-opacity": 1,
"text-color": "rgb(255, 80, 80)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.8
}
},
{
"id": "osm_labels_station_railway_icon",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"railway"
],
[
"!=",
"subclass",
"tram_stop"
]
],
"layout": {
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-size": {
"stops": [
[
12,
0.02
],
[
19,
0.075
]
]
},
"icon-image": "station_railway",
"icon-padding": 0,
"visibility": "visible"
},
"paint": {
"icon-opacity": 1,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 1
}
},
{
"id": "osm_labels_station_railway",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "poi",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"railway"
],
[
"!=",
"subclass",
"tram_stop"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": false,
"icon-size": {
"stops": [
[
12,
2
],
[
19,
5
]
]
},
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
12,
11.2
],
[
20,
16
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.06,
"text-justify": "center",
"text-anchor": "top",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 1,
"text-opacity": 1,
"text-color": "rgb(255, 80, 80)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.8
}
},
{
"id": "osm_labels_settlement_less_100",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 14,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"hamlet"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
12,
13
],
[
15,
19
],
[
20,
23
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.25,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_settlement_100-999",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"village"
],
[
"in",
"rank",
14,
15,
16,
17,
18,
19,
20
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
11,
12
],
[
15,
19.5
],
[
18,
25
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.25,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_settlement_1000-1999",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"village"
],
[
"==",
"rank",
13
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
9,
11
],
[
15,
20
],
[
18,
27
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.25,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_settlement_2000-9999",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"village"
],
[
"in",
"rank",
8,
9,
10,
11,
12
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
8,
12.5
],
[
15,
20.5
],
[
16,
29
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.25,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_airport",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "aerodrome_label",
"minzoom": 10,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"international"
]
],
"layout": {
"symbol-placement": "point",
"icon-image": "airport",
"text-rotation-alignment": "viewport",
"text-field": "{name} Airport",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
10,
12
],
[
18,
18
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_settlement_10000-499999",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"class",
"town"
],
[
"in",
"rank",
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
7,
12
],
[
14,
21
],
[
15,
31
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_settlement_50000-100000_icon",
"type": "circle",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 7,
"maxzoom": 16,
"filter": [
"all",
[
"==",
"class",
"town"
],
[
"in",
"rank",
8,
9,
10
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 2.5,
"circle-color": "rgb(0,0,0)",
"circle-opacity": {
"base": 1.8,
"stops": [
[
8,
1
],
[
11,
0
]
]
}
}
},
{
"id": "osm_labels_settlement_50000-100000",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 7,
"maxzoom": 16,
"filter": [
"all",
[
"==",
"class",
"town"
],
[
"in",
"rank",
8,
9,
10
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
7,
14
],
[
14,
22
],
[
15,
33
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_settlement_more-100000_icon",
"type": "circle",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 6,
"maxzoom": 16,
"filter": [
"all",
[
"==",
"class",
"city"
],
[
"in",
"rank",
6,
7,
8,
9,
10,
11,
12
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 3,
"circle-color": "rgb(0,0,0)",
"circle-opacity": {
"base": 1.8,
"stops": [
[
8,
1
],
[
11,
0
]
]
}
}
},
{
"id": "osm_labels_settlement_more-100000",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 6,
"maxzoom": 16,
"filter": [
"all",
[
"==",
"class",
"city"
],
[
"in",
"rank",
6,
7,
8,
9,
10,
11,
12
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
6,
14
],
[
14,
25
],
[
15,
35
]
]
},
"text-max-width": 5,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.5,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_settlement_big_city_icon",
"type": "circle",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 5,
"maxzoom": 14,
"filter": [
"all",
[
"==",
"class",
"city"
],
[
"in",
"rank",
4,
5
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 3,
"circle-color": "rgb(0,0,0)",
"circle-opacity": {
"base": 1.8,
"stops": [
[
8,
1
],
[
11,
0
]
]
}
}
},
{
"id": "osm_labels_settlement_big_city",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 5,
"maxzoom": 14,
"filter": [
"all",
[
"==",
"class",
"city"
],
[
"in",
"rank",
4,
5
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
6,
16
],
[
14,
30
],
[
15,
40
]
]
},
"text-max-width": 5,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.5,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_settlement_metropolis_icon",
"type": "circle",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 4,
"maxzoom": 13,
"filter": [
"all",
[
"==",
"class",
"city"
],
[
"in",
"rank",
1,
2,
3
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 3,
"circle-color": "rgb(0,0,0)",
"circle-opacity": {
"base": 1.8,
"stops": [
[
8,
1
],
[
11,
0
]
]
}
}
},
{
"id": "osm_labels_settlement_metropolis",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 4,
"maxzoom": 13,
"filter": [
"all",
[
"==",
"class",
"city"
],
[
"in",
"rank",
1,
2,
3
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
6,
18
],
[
14,
35
],
[
15,
45
]
]
},
"text-max-width": 5,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.5,
"text-halo-blur": 0.5
}
},
{
"id": "territory_",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 6,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-territory"
],
[
"in",
"class",
"territory",
"enclave"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-color": {
"stops": [
[
6,
"rgba(1, 248, 152, 1)"
],
[
7,
"rgba(1, 248, 200, 1)"
],
[
8,
"rgba(1, 204, 248, 1)"
],
[
9,
"rgba(1, 131, 248, 1)"
],
[
10,
"rgba(1, 57, 248, 1)"
],
[
11,
"rgba(101, 1, 248, 1)"
],
[
12,
"rgba(147, 1, 248, 1)"
],
[
13,
"rgba(212, 1, 248, 1)"
],
[
14,
"rgba(248, 1, 146, 1)"
],
[
15,
"rgba(248, 1, 109, 1)"
],
[
16,
"rgba(248, 1, 5, 1)"
]
]
}
}
},
{
"id": "settlement_less_50",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-settlement"
],
[
"==",
"class",
"locality"
],
[
"in",
"subclass",
"25-49",
"less_20"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
14,
0
],
[
15,
0.5
],
[
15,
0
]
]
},
"fill-color": "rgb(243, 255,1)"
}
},
{
"id": "settlement_50-99",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"50-99"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
14,
0
],
[
15,
0.5
],
[
15,
0
]
]
},
"fill-color": "rgb(243, 255,1)"
}
},
{
"id": "settlement_100-999",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"100-999"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
13,
0.58
],
[
14,
0.5
],
[
15,
0
]
]
},
"fill-color": "rgb(243, 255,1)"
}
},
{
"id": "settlement_1000-1999",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"1000-1999"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
11,
0
],
[
12,
0.64
],
[
14,
0.5
],
[
15,
0
]
]
},
"fill-color": "rgb(243, 255,1)"
}
},
{
"id": "settlement_2000-9999",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"2000-9999"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
10,
0
],
[
11,
0.75
],
[
14,
0.5
],
[
15,
0
]
]
},
"fill-color": "rgb(243, 255,1)"
}
},
{
"id": "settlement_10000-49999",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"10000-49999"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
10,
0.8
],
[
14,
0.5
],
[
15,
0
]
]
},
"fill-color": "rgb(243, 255,1)"
}
},
{
"id": "settlement_50000-100000",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"50000-100000"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
8,
0
],
[
10,
0.8
],
[
14,
0.5
],
[
15,
0
]
]
},
"fill-color": "rgb(243, 255,1)"
}
},
{
"id": "settlement_more_100000",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 7,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"more_100000"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
7,
0
],
[
10,
0.8
],
[
14,
0.5
],
[
15,
0
]
]
},
"fill-color": "rgb(243, 255,1)"
}
},
{
"id": "landcover_glacier",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 10,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-landcover"
],
[
"==",
"class",
"glacier"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1,
"stops": [
[
10,
0
],
[
11,
0.2
]
]
},
"fill-color": "rgb(0, 170, 255)"
}
},
{
"id": "landcover_woodland",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-landcover"
],
[
"==",
"class",
"woodland"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1,
"stops": [
[
11,
0
],
[
12,
0.3
]
]
},
"fill-color": "rgb(0, 255, 0)"
}
},
{
"id": "landuse_leisure",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-landuse"
],
[
"in",
"class",
"park",
"green_area"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"fill-color": "rgb(200, 235, 175)"
}
},
{
"id": "landuse_cemetery",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-landuse"
],
[
"==",
"class",
"cemetery"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"fill-color": "rgb(200, 235, 175)"
}
},
{
"id": "landuse_hospital",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-landuse"
],
[
"==",
"class",
"hospital_site"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"fill-color": "rgb(240, 240, 245)"
}
},
{
"id": "hillshade_",
"type": "raster",
"source": "ch.swisstopo.swissalti3d-reliefschattierung",
"minzoom": 6,
"maxzoom": 22,
"layout": {
"visibility": "visible"
},
"paint": {
"raster-opacity": {
"stops": [
[
5.5,
0
],
[
6,
0.3
],
[
8,
0.3
],
[
10,
0.3
],
[
16,
0.1
]
]
},
"raster-brightness-min": 0.5,
"raster-brightness-max": 1,
"raster-saturation": 0,
"raster-contrast": 0.5,
"raster-fade-duration": 100
}
},
{
"id": "hydrology_watercourse_underground",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-hydrology-ln"
],
[
"==",
"class",
"watercourse_underground"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": 1,
"line-color": "rgb(170, 210, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
11,
0
],
[
13,
1
],
[
18,
3.5
]
]
},
"line-dasharray": [
3,
7
]
}
},
{
"id": "roadtraffic_class4_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"track",
"autotrain",
"via_ferrata"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
13,
1
],
[
18,
4
]
]
},
"line-dasharray": [
0.4,
0.4
]
}
},
{
"id": "roadtraffic_contour_class3_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"==",
"class",
"small_road"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3
],
[
18,
18
]
]
},
"line-dasharray": [
0.4,
0.4
]
}
},
{
"id": "roadtraffic_class3_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"==",
"class",
"small_road"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2
],
[
18,
15
]
]
}
}
},
{
"id": "roadtraffic_contour_class2_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"road",
"drive"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3.5
],
[
18,
28
]
]
},
"line-dasharray": [
0.4,
0.4
]
}
},
{
"id": "roadtraffic_class2_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"road",
"drive"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2.5
],
[
18,
25
]
]
}
}
},
{
"id": "roadtraffic_contour_class1_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"trunk_road",
"main_connecting_road"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10.5,
0
],
[
11,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3.25
],
[
12,
5
],
[
18,
33
]
]
},
"line-dasharray": [
0.4,
0.4
]
}
},
{
"id": "roadtraffic_class1_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"trunk_road",
"main_connecting_road"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10,
0
],
[
10.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "roadtraffic_contour_highway_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"highway",
"expressway"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
11,
0
],
[
11.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
0.125
],
[
12,
0.5
],
[
18,
1.5
]
]
},
"line-gap-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
14,
6
],
[
16,
10
],
[
18,
30
]
]
},
"line-offset": {
"base": 1.99,
"stops": [
[
12,
1
],
[
15,
5
],
[
17,
9
],
[
18,
13
],
[
20,
10
]
]
},
"line-dasharray": [
5,
5
]
}
},
{
"id": "roadtraffic_highway_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"highway",
"expressway"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
],
[
13,
0.7
]
]
},
"line-color": "rgb(0, 255, 135)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
18,
30
]
]
},
"line-offset": {
"base": 1.99,
"stops": [
[
12,
1
],
[
15,
5
],
[
17,
9
],
[
18,
13
],
[
20,
10
]
]
}
}
},
{
"id": "railtraffic_side_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"side_track",
"tram"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
1
],
[
15,
1.5
],
[
18,
4
]
]
},
"line-dasharray": [
5,
3
]
}
},
{
"id": "railtraffic_tunnel",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"normal_gauge",
"narrow_gauge"
],
[
"==",
"subclass",
"tunnel"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
2
],
[
15,
3
],
[
18,
8
]
]
},
"line-dasharray": [
5,
3
]
}
},
{
"id": "hydrology_watercourse",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-hydrology-ln"
],
[
"==",
"class",
"watercourse"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgba(4, 166, 160, 1)"
],
[
10,
"rgba(19, 40, 63, 1)"
],
[
14,
"rgba(132, 122, 232, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
11,
0
],
[
13,
2
],
[
18,
7
]
]
}
}
},
{
"id": "hydrology_water_basin",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-hydrology-pn"
],
[
"==",
"class",
"water_basin"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": 1,
"fill-color": "rgb(170, 210, 255)"
}
},
{
"id": "hydrology_river",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-hydrology-pn"
],
[
"==",
"class",
"river"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
8,
0
],
[
8.5,
1
]
]
},
"fill-color": {
"stops": [
[
6,
"rgba(4, 166, 160, 1)"
],
[
10,
"rgba(19, 40, 63, 1)"
],
[
14,
"rgba(132, 122, 232, 1)"
]
]
}
}
},
{
"id": "labels_watercourse",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-hydrology-ln"
],
[
"==",
"class",
"watercourse"
]
],
"layout": {
"symbol-placement": "line",
"symbol-spacing": 250,
"text-rotation-alignment": "map",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
13,
12
],
[
18,
16
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.1,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 100,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0, 65, 125)",
"text-halo-color": "rgb(170, 210, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 2
}
},
{
"id": "hydrology_lake",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 6,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-hydrology-pn"
],
[
"==",
"class",
"lake"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": 1,
"fill-color": {
"stops": [
[
6,
"rgba(4, 166, 160, 1)"
],
[
10,
"rgba(19, 40, 63, 1)"
],
[
14,
"rgba(132, 122, 232, 1)"
]
]
}
}
},
{
"id": "ferryservice_passenger_ferry",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-ferryservice"
],
[
"==",
"class",
"passenger_ferry"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
0.4
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
13,
1
],
[
18,
4
]
]
}
}
},
{
"id": "ferryservice_car_ferry",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-ferryservice"
],
[
"==",
"class",
"car_ferry"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
0.4
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
8,
0.25
],
[
12,
1
],
[
18,
2.5
]
]
},
"line-gap-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
14,
5
],
[
18,
25
]
]
},
"line-dasharray": [
5,
3
]
}
},
{
"id": "roadtraffic_contour_traffic-area",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-trafficarea"
],
[
"==",
"class",
"traffic_area"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
13,
2
],
[
18,
4
]
]
}
}
},
{
"id": "airtraffic_runway_contour",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-airtraffic"
],
[
"==",
"class",
"runway"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
11,
0.5
],
[
12,
2
],
[
18,
4
]
]
}
}
},
{
"id": "roadtraffic_contour_class3",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"==",
"class",
"small_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3
],
[
18,
18
]
]
}
}
},
{
"id": "roadtraffic_contour_class2",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"road",
"drive"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12.5,
0
],
[
13,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3.5
],
[
18,
28
]
]
}
}
},
{
"id": "roadtraffic_contour_class1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"trunk_road",
"main_connecting_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10.5,
0
],
[
11,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3.25
],
[
12,
5
],
[
18,
33
]
]
}
}
},
{
"id": "roadtraffic_traffic-area",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-trafficarea"
],
[
"==",
"class",
"traffic_area"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"fill-color": "rgb(255, 255, 255)",
"fill-outline-color": "rgb(255, 255, 255)"
}
},
{
"id": "roadtraffic_contour_highway",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"highway",
"expressway"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2,",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
11,
0
],
[
11.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3.25
],
[
12,
5
],
[
18,
33
]
]
},
"line-offset": {
"base": 1.99,
"stops": [
[
12,
1
],
[
15,
5
],
[
17,
9
],
[
18,
13
],
[
20,
10
]
]
}
}
},
{
"id": "roadtraffic_class4",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"track",
"autotrain",
"via_ferrata"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
13,
1
],
[
18,
4
]
]
},
"line-dasharray": [
5,
1
]
}
},
{
"id": "roadtraffic_class3",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"==",
"class",
"small_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2
],
[
18,
15
]
]
}
}
},
{
"id": "roadtraffic_class2",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"road",
"drive"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2.5
],
[
18,
25
]
]
}
}
},
{
"id": "airtraffic_runway",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-airtraffic"
],
[
"==",
"class",
"runway"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
11,
0
],
[
11.5,
1
]
]
},
"fill-color": "rgb(255, 255, 255)"
}
},
{
"id": "roadtraffic_class1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"trunk_road",
"main_connecting_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10,
0
],
[
10.5,
1
]
]
},
"line-color": "rgb(255,255,255)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "roadtraffic_highway",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"highway",
"expressway"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2,",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": "rgb(0, 255, 135)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
18,
30
]
]
},
"line-offset": {
"base": 1.99,
"stops": [
[
12,
1
],
[
15,
5
],
[
17,
9
],
[
18,
13
],
[
20,
10
]
]
}
}
},
{
"id": "railtraffic_side",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"side_track",
"tram"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
1
],
[
15,
1.5
],
[
18,
4
]
]
}
}
},
{
"id": "railtraffic_",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"normal_gauge",
"narrow_gauge"
],
[
"!=",
"subclass",
"tunnel"
],
[
"!in",
"level",
"1",
"2,",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
2
],
[
15,
3
],
[
18,
8
]
]
}
}
},
{
"id": "buildings_",
"type": "fill",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 14,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-buildings"
],
[
"==",
"class",
"building"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"fill-antialias": true,
"fill-opacity": {
"base": 1.8,
"stops": [
[
14,
0
],
[
15,
1
]
]
},
"fill-color": {
"stops": [
[
14,
"rgb(0, 0, 0)"
],
[
16,
"rgba(146, 2, 249, 1)"
]
]
}
}
},
{
"id": "roadtraffic_contour_class3_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"==",
"class",
"small_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3
],
[
18,
18
]
]
}
}
},
{
"id": "roadtraffic_contour_class2_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"road",
"drive"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12.5,
0
],
[
13,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3.5
],
[
18,
28
]
]
}
}
},
{
"id": "roadtraffic_contour_class1_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"trunk_road",
"main_connecting_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10.5,
0
],
[
11,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3.25
],
[
12,
5
],
[
18,
33
]
]
}
}
},
{
"id": "roadtraffic_contour_highway_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"highway",
"expressway"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
11,
0
],
[
11.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3.25
],
[
12,
5
],
[
18,
33
]
]
},
"line-offset": {
"base": 1.99,
"stops": [
[
12,
1
],
[
15,
5
],
[
17,
9
],
[
18,
13
],
[
20,
10
]
]
}
}
},
{
"id": "roadtraffic_class4_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"track",
"autotrain",
"via_ferrata"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
13,
1
],
[
18,
4
]
]
},
"line-dasharray": [
5,
1
]
}
},
{
"id": "roadtraffic_class3_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"==",
"class",
"small_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2
],
[
18,
15
]
]
}
}
},
{
"id": "roadtraffic_class2_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"road",
"drive"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2.5
],
[
18,
25
]
]
}
}
},
{
"id": "roadtraffic_class1_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"trunk_road",
"main_connecting_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10,
0
],
[
10.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "roadtraffic_highway_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"highway",
"expressway"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": "rgb(0, 255, 135)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
18,
30
]
]
},
"line-offset": {
"base": 1.99,
"stops": [
[
12,
1
],
[
15,
5
],
[
17,
9
],
[
18,
13
],
[
20,
10
]
]
}
}
},
{
"id": "railtraffic_side_contour_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"side_track",
"tram"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(245, 245, 245)",
"line-width": {
"base": 1.8,
"stops": [
[
8,
1.25
],
[
15,
2.5
],
[
18,
7
]
]
}
}
},
{
"id": "railtraffic_contour_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"normal_gauge",
"narrow_gauge"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": "rgb(245, 245, 245)",
"line-width": {
"base": 1.8,
"stops": [
[
8,
2.25
],
[
15,
4
],
[
18,
11
]
]
}
}
},
{
"id": "railtraffic_side_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"side_track",
"tram"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
1
],
[
15,
1.5
],
[
18,
4
]
]
}
}
},
{
"id": "railtraffic_level1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"normal_gauge",
"narrow_gauge"
],
[
"!=",
"subclass",
"tunnel"
],
[
"==",
"level",
"1"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
2
],
[
15,
3
],
[
18,
8
]
]
}
}
},
{
"id": "roadtraffic_contour_class3_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"==",
"class",
"small_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3
],
[
18,
18
]
]
}
}
},
{
"id": "roadtraffic_contour_class2_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"road",
"drive"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12.5,
0
],
[
13,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
3.5
],
[
18,
28
]
]
}
}
},
{
"id": "roadtraffic_contour_class1_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"trunk_road",
"main_connecting_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10.5,
0
],
[
11,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3.25
],
[
12,
5
],
[
18,
33
]
]
}
}
},
{
"id": "roadtraffic_contour_highway_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"highway",
"expressway"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "butt",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
11,
0
],
[
11.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3.25
],
[
12,
5
],
[
18,
33
]
]
},
"line-offset": {
"base": 1.99,
"stops": [
[
12,
1
],
[
15,
5
],
[
17,
9
],
[
18,
13
],
[
20,
10
]
]
}
}
},
{
"id": "roadtraffic_class4_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"track",
"autotrain",
"via_ferrata"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "square",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(0,0,0)",
"line-width": {
"base": 1.8,
"stops": [
[
13,
1
],
[
18,
4
]
]
},
"line-dasharray": [
5,
1
]
}
},
{
"id": "roadtraffic_class3_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"==",
"class",
"small_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2
],
[
18,
15
]
]
}
}
},
{
"id": "roadtraffic_class2_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"road",
"drive"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
12,
0
],
[
12.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
12,
2.5
],
[
18,
25
]
]
}
}
},
{
"id": "roadtraffic_class1_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"trunk_road",
"main_connecting_road"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
10,
0
],
[
10.5,
1
]
]
},
"line-color": "rgb(255, 255, 255)",
"line-width": {
"base": 1.8,
"stops": [
[
10,
3
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "roadtraffic_highway_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-roadtraffic"
],
[
"in",
"class",
"highway",
"expressway"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "bevel",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": "rgb(0, 255, 135)",
"line-width": {
"base": 1.8,
"stops": [
[
9,
3
],
[
12,
4
],
[
18,
30
]
]
},
"line-offset": {
"base": 1.99,
"stops": [
[
12,
1
],
[
15,
5
],
[
17,
9
],
[
18,
13
],
[
20,
10
]
]
}
}
},
{
"id": "railtraffic_side_contour_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"side_track",
"tram"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": "rgb(245, 245, 245)",
"line-width": {
"base": 1.8,
"stops": [
[
8,
1.25
],
[
15,
2.5
],
[
18,
7
]
]
}
}
},
{
"id": "railtraffic_contour_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"normal_gauge",
"narrow_gauge"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "butt",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": "rgb(245, 245, 245)",
"line-width": {
"base": 1.8,
"stops": [
[
8,
2.25
],
[
15,
4
],
[
18,
11
]
]
}
}
},
{
"id": "railtraffic_side_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"side_track",
"tram"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
13,
0
],
[
13.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
1
],
[
15,
1.5
],
[
18,
4
]
]
}
}
},
{
"id": "railtraffic_level>1",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-railtraffic"
],
[
"in",
"class",
"normal_gauge",
"narrow_gauge"
],
[
"!=",
"subclass",
"tunnel"
],
[
"in",
"level",
"2",
"3",
"4"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": {
"base": 1.8,
"stops": [
[
9,
0
],
[
9.5,
1
]
]
},
"line-color": {
"stops": [
[
6,
"rgb(255, 0, 0)"
],
[
16,
"rgba(252, 255, 0, 1)"
]
]
},
"line-width": {
"base": 1.8,
"stops": [
[
8,
2
],
[
15,
3
],
[
18,
8
]
]
}
}
},
{
"id": "aerialways_",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-aerialway"
],
[
"in",
"class",
"gondola_lift",
"aerial_tramway",
"chair_lift",
"drag_lift"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": 1,
"line-color": "rgb(255, 80, 80)",
"line-width": {
"base": 1.8,
"stops": [
[
8,
0.5
],
[
15,
0.75
],
[
18,
2
]
]
}
}
},
{
"id": "boundary_",
"type": "line",
"source": "ch.swisstopo.vektorkarte.vt",
"source-layer": "tilesgeojson",
"minzoom": 1,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"lightbasemap-boundary"
],
[
"==",
"class",
"national_border"
]
],
"layout": {
"line-cap": "round",
"line-join": "round",
"line-miter-limit": 2,
"line-round-limit": 1.05,
"visibility": "visible"
},
"paint": {
"line-opacity": 1,
"line-color": "rgb(102, 102, 102)",
"line-width": {
"base": 1.8,
"stops": [
[
6,
2
],
[
12,
4
],
[
18,
30
]
]
}
}
},
{
"id": "labels_peaks",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-peaks"
],
[
"in",
"class",
"rock",
"peak",
"main_peak",
"main_hill",
"hill",
"mountain_pass",
"pass_crossing",
"pass_crossing"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-image": "peak",
"icon-padding": 2,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
12,
13
],
[
20,
20
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 35,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 0.9,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 0.9,
"text-color": "rgb(200, 75, 0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "labels_mountain_pass",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-peaks"
],
[
"==",
"class",
"mountain_pass"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-image": "peak",
"icon-padding": 2,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
12,
13
],
[
20,
20
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 35,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 0.9,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 0.9,
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "labels_alpine_peaks",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-peaks"
],
[
"==",
"class",
"alpine_peak"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-image": "peak",
"icon-padding": 2,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
12,
15
],
[
20,
30
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 50,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 0.9,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 0.9,
"text-color": "rgb(200, 75, 0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "labels_green-areas",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-landuse"
],
[
"in",
"class",
"cemetery",
"park"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
14,
12
],
[
20,
20
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0, 50, 0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
}
},
{
"id": "labels_leisure",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-leisure"
],
[
"in",
"class",
"camp_site",
"zoo",
"golf_course_site",
"allotment_site",
"swimming_pool_site",
"sports_sites"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
14,
12
],
[
20,
20
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0, 50, 0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
}
},
{
"id": "labels_poi",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-leisure"
],
[
"in",
"class",
"leisure_facility_site",
"racecourse_site"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-image": "{icon}",
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
16,
12
],
[
20,
20
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 1,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 0.9,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 0.9,
"text-color": "rgb(200, 75, 0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
}
},
{
"id": "labels_hospital_site",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-landuse"
],
[
"==",
"class",
"hospital_site"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-image": "{icon}",
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
16,
12
],
[
20,
20
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 1,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 0.9,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 0.9,
"text-color": "rgb(0, 70, 255)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "labels_streetnames_street",
"type": "symbol",
"source": "ch.swisstopo.amtliches-strassenverzeichnis_validiert",
"source-layer": "ch.swisstopo.amtliches-strassenverzeichnis_validiert-layer",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"streetnames-axis"
],
[
"in",
"class",
"street",
"square",
"named_area"
]
],
"layout": {
"symbol-placement": "line",
"text-rotation-alignment": "map",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
15,
11
],
[
20,
14
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.02,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 30,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(38, 38, 38)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0
}
},
{
"id": "labels_streetnames_square",
"type": "symbol",
"source": "ch.swisstopo.amtliches-strassenverzeichnis_validiert",
"source-layer": "ch.swisstopo.amtliches-strassenverzeichnis_validiert-layer",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"streetnames-area"
],
[
"==",
"class",
"square"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
15,
11
],
[
20,
14
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.02,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 30,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(38, 38, 38)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0
}
},
{
"id": "labels_island",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 6,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-hydrology-pt"
],
[
"==",
"class",
"island"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
10,
11
],
[
18,
16
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1,
"text-halo-blur": 0.5
}
},
{
"id": "labels_lakes",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 6,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-hydrology-pt"
],
[
"==",
"class",
"lake"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
10,
12
],
[
18,
19
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.25,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0, 65, 125)",
"text-halo-color": "rgb(170, 210, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 2
}
},
{
"id": "labels_station_aerialway_icon",
"type": "circle",
"source": "ch.bav.haltestellen-oev",
"source-layer": "ch.bav.haltestellen-oev-layer",
"minzoom": 13,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"publictransport-stops"
],
[
"==",
"class",
"aerialway"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": {
"stops": [
[
11,
2.5
],
[
22,
4.5
]
]
},
"circle-color": "rgb(255, 80, 80)",
"circle-blur": 0
}
},
{
"id": "labels_station_aerialway",
"type": "symbol",
"source": "ch.bav.haltestellen-oev",
"source-layer": "ch.bav.haltestellen-oev-layer",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"publictransport-stops"
],
[
"==",
"class",
"aerialway"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
15,
10
],
[
20,
13
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 1,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(255, 80, 80)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
}
},
{
"id": "labels_ferryservice",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-ferryservice-pt"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-size": {
"stops": [
[
12,
0.8
],
[
19,
1.5
]
]
},
"icon-image": "circle_stroke",
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
15,
11
],
[
20,
15
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.06,
"text-justify": "center",
"text-anchor": "top",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-color": "rgb(0, 65, 125)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.8
}
},
{
"id": "labels_station_ferry",
"type": "symbol",
"source": "ch.bav.haltestellen-oev",
"source-layer": "ch.bav.haltestellen-oev-layer",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"publictransport-stops"
],
[
"==",
"class",
"ferry"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-size": {
"stops": [
[
12,
0.8
],
[
19,
1.5
]
]
},
"icon-image": "circle_stroke",
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
15,
11
],
[
20,
15
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.06,
"text-justify": "center",
"text-anchor": "top",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-color": "rgb(0, 65, 125)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.8
}
},
{
"id": "labels_station_bus_icon",
"type": "circle",
"source": "ch.bav.haltestellen-oev",
"source-layer": "ch.bav.haltestellen-oev-layer",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"publictransport-stops"
],
[
"==",
"class",
"bus"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 3,
"circle-color": "rgb(255, 80, 80)"
}
},
{
"id": "labels_station_bus",
"type": "symbol",
"source": "ch.bav.haltestellen-oev",
"source-layer": "ch.bav.haltestellen-oev-layer",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"publictransport-stops"
],
[
"==",
"class",
"bus"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-size": {
"stops": [
[
12,
0.01
],
[
19,
0.035
]
]
},
"icon-image": "station_bus",
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
16,
11
],
[
20,
13
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 1,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 1,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 1,
"text-color": "rgb(255, 80, 80)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.5,
"text-halo-blur": 0.5
}
},
{
"id": "labels_station_tram_icon",
"type": "circle",
"source": "ch.bav.haltestellen-oev",
"source-layer": "ch.bav.haltestellen-oev-layer",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"publictransport-stops"
],
[
"==",
"class",
"tram"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 4,
"circle-color": "rgb(255, 80, 80)"
}
},
{
"id": "labels_station_tram",
"type": "symbol",
"source": "ch.bav.haltestellen-oev",
"source-layer": "ch.bav.haltestellen-oev-layer",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"publictransport-stops"
],
[
"==",
"class",
"tram"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": false,
"icon-size": {
"stops": [
[
12,
0.8
],
[
19,
1.5
]
]
},
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
15,
11
],
[
20,
15
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.06,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 1,
"text-opacity": 1,
"text-color": "rgb(255, 80, 80)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.8
}
},
{
"id": "labels_station_railway_icon",
"type": "symbol",
"source": "ch.bav.haltestellen-oev",
"source-layer": "ch.bav.haltestellen-oev-layer",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"publictransport-stops"
],
[
"==",
"class",
"railway"
]
],
"layout": {
"icon-allow-overlap": true,
"icon-rotation-alignment": "viewport",
"icon-size": {
"stops": [
[
12,
0.02
],
[
19,
0.075
]
]
},
"icon-image": "station_railway",
"icon-padding": 0,
"visibility": "visible"
},
"paint": {
"icon-opacity": 1,
"icon-halo-blur": 0.5,
"icon-translate-anchor": "viewport",
"text-opacity": 1
}
},
{
"id": "labels_station_railway",
"type": "symbol",
"source": "ch.bav.haltestellen-oev",
"source-layer": "ch.bav.haltestellen-oev-layer",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"publictransport-stops"
],
[
"in",
"class",
"railway",
"subway",
"funicular",
"cog_railway",
"interchange"
]
],
"layout": {
"symbol-placement": "point",
"icon-allow-overlap": false,
"icon-size": {
"stops": [
[
12,
2
],
[
19,
5
]
]
},
"icon-padding": 0,
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
12,
11.2
],
[
20,
16
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.06,
"text-justify": "center",
"text-anchor": "top",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"icon-opacity": 1,
"text-opacity": 1,
"text-color": "rgb(255, 80, 80)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.8
}
},
{
"id": "labels_settlement_less_20",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"less_20"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
16,
15
],
[
22,
19
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.25,
"text-halo-blur": 0.5
}
},
{
"id": "labels_settlement_25-49",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 15,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"25-49"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
14,
15
],
[
15,
17
],
[
22,
21
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.25,
"text-halo-blur": 0.5
}
},
{
"id": "labels_settlement_50-99",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 14,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"50-99"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
12,
13
],
[
15,
19
],
[
20,
23
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.25,
"text-halo-blur": 0.5
}
},
{
"id": "labels_settlement_100-999",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 12,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"100-999"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
11,
12
],
[
15,
19.5
],
[
18,
25
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.25,
"text-halo-blur": 0.5
}
},
{
"id": "labels_settlement_1000-1999",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 11,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"1000-1999"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
9,
11
],
[
15,
20
],
[
18,
27
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.25,
"text-halo-blur": 0.5
}
},
{
"id": "labels_settlement_2000-9999",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 9,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"2000-9999"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
8,
12.5
],
[
15,
20.5
],
[
16,
29
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.25,
"text-halo-blur": 0.5
}
},
{
"id": "labels_airport",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 10,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-airtraffic"
],
[
"==",
"class",
"airport"
]
],
"layout": {
"symbol-placement": "point",
"icon-image": "airport",
"text-rotation-alignment": "viewport",
"text-field": "{name} Airport",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
10,
12
],
[
18,
18
]
]
},
"text-max-width": 10,
"text-line-height": 1.1,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 0.5,
"text-halo-blur": 0.5
}
},
{
"id": "labels_settlement_10000-499999",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 8,
"maxzoom": 22,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"10000-49999"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
7,
12
],
[
14,
21
],
[
15,
31
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "labels_settlement_50000-100000_icon",
"type": "circle",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 7,
"maxzoom": 16,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"50000-100000"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 2.5,
"circle-color": "rgb(0,0,0)",
"circle-opacity": {
"base": 1.8,
"stops": [
[
8,
1
],
[
11,
0
]
]
}
}
},
{
"id": "labels_settlement_50000-100000",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 7,
"maxzoom": 16,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"50000-100000"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
7,
14
],
[
14,
22
],
[
15,
33
]
]
},
"text-max-width": 5,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 2,
"text-halo-blur": 0.5
}
},
{
"id": "labels_settlement_more-100000_icon",
"type": "circle",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 6,
"maxzoom": 16,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"more_100000"
]
],
"layout": {
"visibility": "visible"
},
"paint": {
"circle-radius": 3,
"circle-color": "rgb(0,0,0)",
"circle-opacity": {
"base": 1.8,
"stops": [
[
8,
1
],
[
11,
0
]
]
}
}
},
{
"id": "labels_settlement_more-100000",
"type": "symbol",
"source": "ch.swisstopo.swissnames3d",
"source-layer": "tilesgeojson",
"minzoom": 6,
"maxzoom": 16,
"filter": [
"all",
[
"==",
"layerid",
"labels-settlement"
],
[
"==",
"class",
"locality"
],
[
"==",
"subclass",
"more_100000"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Book"
],
"text-size": {
"stops": [
[
6,
14
],
[
14,
25
],
[
15,
35
]
]
},
"text-max-width": 5,
"text-line-height": 1.2,
"text-letter-spacing": 0.01,
"text-justify": "center",
"text-anchor": "bottom",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "none",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.5,
"text-halo-blur": 0.5
}
},
{
"id": "osm_labels_settlement_country",
"type": "symbol",
"source": "OpenMapTiles",
"source-layer": "place",
"minzoom": 1,
"maxzoom": 7,
"filter": [
"all",
[
"==",
"class",
"country"
]
],
"layout": {
"symbol-placement": "point",
"text-rotation-alignment": "viewport",
"text-field": "{name}",
"text-font": [
"Frutiger Neue LT Pro Condensed Bold"
],
"text-size": {
"stops": [
[
1,
12
],
[
6,
18
]
]
},
"text-max-width": 10,
"text-line-height": 1.2,
"text-letter-spacing": 0,
"text-justify": "center",
"text-anchor": "center",
"text-max-angle": 45,
"text-rotate": 0,
"text-padding": 2,
"text-keep-upright": true,
"text-transform": "uppercase",
"text-allow-overlap": false,
"visibility": "visible"
},
"paint": {
"text-color": "rgb(0,0,0)",
"text-halo-color": "rgb(255, 255, 255)",
"text-halo-width": 1.75,
"text-halo-blur": 0.5
}
}
],
"id": "styles-ch.swisstopo.basiskarte.vt_v004",
"owner": "swisstopo",
"visibility": "public",
"draft": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment