2021-03-05 20:04:52 +00:00
|
|
|
{
|
|
|
|
"version": 8,
|
|
|
|
"name": "lbm_v1.0.0",
|
|
|
|
"metadata": {"maputnik:renderer": "mbgljs", "openmaptiles:version": "3.x"},
|
|
|
|
"center": [7.969664962869274, 47.021278030856564],
|
|
|
|
"zoom": 9.333879434342306,
|
|
|
|
"bearing": 0,
|
|
|
|
"pitch": 0,
|
|
|
|
"sources": {
|
|
|
|
"swissmaptiles": {
|
|
|
|
"type": "vector",
|
2022-08-06 15:52:35 +00:00
|
|
|
"url": "https://vectortiles.geo.admin.ch/tiles/ch.swisstopo.leichte-basiskarte.vt/v2.0.0/tiles.json"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"relief_shading": {
|
|
|
|
"type": "raster",
|
|
|
|
"tiles": [
|
|
|
|
"https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.leichte-basiskarte_reliefschattierung/default/current/3857/{z}/{x}/{y}.png"
|
|
|
|
],
|
|
|
|
"tileSize": 256,
|
|
|
|
"minzoom": 0,
|
2022-08-06 15:52:35 +00:00
|
|
|
"maxzoom": 22,
|
2022-05-04 11:25:51 +00:00
|
|
|
"bounds": [5.140242, 45.398181, 11.47757, 48.230651]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
2021-03-06 18:37:31 +00:00
|
|
|
"hiking_trails_raster": {
|
|
|
|
"type": "raster",
|
|
|
|
"tiles": [
|
|
|
|
"https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.swisstlm3d-wanderwege/default/current/3857/{z}/{x}/{y}.png"
|
|
|
|
],
|
2022-05-04 11:25:51 +00:00
|
|
|
"tileSize": 256,
|
|
|
|
"bounds": [5.140242, 45.398181, 11.47757, 48.230651]
|
2021-03-06 18:37:31 +00:00
|
|
|
},
|
|
|
|
"skiing_trails_raster": {
|
|
|
|
"type": "raster",
|
|
|
|
"tiles": [
|
|
|
|
"https://wmts.geo.admin.ch/1.0.0/ch.swisstopo-karto.skitouren/default/current/3857/{z}/{x}/{y}.png"
|
|
|
|
],
|
2021-03-06 19:53:12 +00:00
|
|
|
"tileSize": 256,
|
2022-05-04 11:25:51 +00:00
|
|
|
"maxzoom": 17,
|
|
|
|
"bounds": [5.140242, 45.398181, 11.47757, 48.230651]
|
2021-03-06 18:37:31 +00:00
|
|
|
},
|
|
|
|
"snowshoe_trails_raster": {
|
|
|
|
"type": "raster",
|
|
|
|
"tiles": [
|
|
|
|
"https://wmts.geo.admin.ch/1.0.0/ch.swisstopo-karto.schneeschuhrouten/default/current/3857/{z}/{x}/{y}.png"
|
|
|
|
],
|
2021-03-06 19:53:12 +00:00
|
|
|
"tileSize": 256,
|
2022-05-04 11:25:51 +00:00
|
|
|
"maxzoom": 17,
|
|
|
|
"bounds": [5.140242, 45.398181, 11.47757, 48.230651]
|
2021-03-06 18:37:31 +00:00
|
|
|
},
|
|
|
|
"wildlife_areas": {
|
|
|
|
"type": "raster",
|
|
|
|
"tiles": [
|
|
|
|
"https://wmts.geo.admin.ch/1.0.0/ch.bafu.wrz-wildruhezonen_portal/default/current/3857/{z}/{x}/{y}.png"
|
|
|
|
],
|
2021-03-06 19:53:12 +00:00
|
|
|
"tileSize": 256,
|
2022-05-04 11:25:51 +00:00
|
|
|
"maxzoom": 18,
|
|
|
|
"bounds": [5.140242, 45.398181, 11.47757, 48.230651]
|
2021-03-06 18:37:31 +00:00
|
|
|
},
|
|
|
|
"wildlife_reserves": {
|
|
|
|
"type": "raster",
|
|
|
|
"tiles": [
|
|
|
|
"https://wmts.geo.admin.ch/1.0.0/ch.bafu.wrz-jagdbanngebiete_select/default/current/3857/{z}/{x}/{y}.png"
|
|
|
|
],
|
2021-03-06 19:53:12 +00:00
|
|
|
"tileSize": 256,
|
2022-05-04 11:25:51 +00:00
|
|
|
"maxzoom": 18,
|
|
|
|
"bounds": [5.140242, 45.398181, 11.47757, 48.230651]
|
2021-03-06 19:53:12 +00:00
|
|
|
},
|
|
|
|
"slope_classes": {
|
|
|
|
"type": "raster",
|
|
|
|
"tiles": [
|
|
|
|
"https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.hangneigung-ueber_30/default/current/3857/{z}/{x}/{y}.png"
|
|
|
|
],
|
|
|
|
"tileSize": 256,
|
2022-05-04 11:25:51 +00:00
|
|
|
"maxzoom": 14,
|
|
|
|
"bounds": [5.140242, 45.398181, 11.47757, 48.230651]
|
2021-03-06 18:37:31 +00:00
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"summits": {
|
|
|
|
"type": "vector",
|
|
|
|
"url": "https://1.{mapServer}.map.sotl.as/data/summits.json"
|
|
|
|
},
|
|
|
|
"summits_inactive": {
|
|
|
|
"type": "vector",
|
|
|
|
"url": "https://1.{mapServer}.map.sotl.as/data/summits_inactive.json"
|
|
|
|
},
|
|
|
|
"regions": {
|
|
|
|
"type": "vector",
|
|
|
|
"url": "https://1.{mapServer}.map.sotl.as/data/regions.json"
|
2021-09-27 12:28:15 +00:00
|
|
|
},
|
|
|
|
"az": {
|
|
|
|
"type": "vector",
|
|
|
|
"url": "https://1.{mapServer}.map.sotl.as/data/az.json"
|
2023-09-19 14:16:14 +00:00
|
|
|
},
|
|
|
|
"openmaptiles": {
|
|
|
|
"type": "vector",
|
|
|
|
"url": "https://0.{mapServer}.map.sotl.as/data/osm-sotlas.json"
|
2021-03-05 20:04:52 +00:00
|
|
|
}
|
|
|
|
},
|
2022-08-06 15:52:35 +00:00
|
|
|
"sprite": "https://vectortiles.geo.admin.ch/styles/ch.swisstopo.leichte-basiskarte.vt/sprite/sprite",
|
2021-03-05 20:04:52 +00:00
|
|
|
"glyphs": "https://vectortiles.geo.admin.ch/fonts/{fontstack}/{range}.pbf",
|
|
|
|
"transition": {},
|
|
|
|
"layers": [
|
|
|
|
{
|
|
|
|
"id": "background",
|
|
|
|
"type": "background",
|
2022-08-06 15:52:35 +00:00
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"background-color": "rgba(255, 255, 255, 1)"
|
|
|
|
}
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
2023-09-19 14:16:14 +00:00
|
|
|
{
|
|
|
|
"id": "water",
|
|
|
|
"type": "fill",
|
|
|
|
"metadata": {},
|
|
|
|
"source": "openmaptiles",
|
|
|
|
"source-layer": "water",
|
|
|
|
"filter": ["all"],
|
|
|
|
"layout": {"visibility": "visible"},
|
|
|
|
"paint": {"fill-color": "rgba(103, 166, 196, 0.2)"}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "boundary_2",
|
|
|
|
"type": "line",
|
|
|
|
"metadata": {},
|
|
|
|
"source": "openmaptiles",
|
|
|
|
"source-layer": "boundary",
|
|
|
|
"filter": ["all", ["==", "admin_level", 2], ["==", "maritime", 0]],
|
|
|
|
"layout": {
|
|
|
|
"line-cap": "round",
|
|
|
|
"line-join": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"line-color": "rgba(136, 136, 136, 1)",
|
|
|
|
"line-opacity": 0.2,
|
|
|
|
"line-width": {"base": 1, "stops": [[3, 1], [5, 1.2], [12, 3]]}
|
|
|
|
}
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
{
|
|
|
|
"id": "relief_shading",
|
|
|
|
"type": "raster",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "hillshading"
|
|
|
|
},
|
|
|
|
"source": "relief_shading",
|
2022-08-06 15:52:35 +00:00
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"raster-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[15.5,1],
|
|
|
|
[17,0.6]
|
|
|
|
]
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"raster-brightness-min": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
6,
|
|
|
|
0,
|
|
|
|
12,
|
|
|
|
0.25
|
|
|
|
],
|
|
|
|
"raster-saturation": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
6,
|
|
|
|
-0.5,
|
|
|
|
12,
|
|
|
|
-0.2
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"raster-contrast": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
6,
|
|
|
|
0.1,
|
|
|
|
12,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"raster-resampling": "nearest"
|
|
|
|
}
|
|
|
|
},
|
2021-03-06 18:37:31 +00:00
|
|
|
{
|
|
|
|
"id": "wildlife_areas",
|
|
|
|
"type": "raster",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "wildlife"
|
|
|
|
},
|
|
|
|
"source": "wildlife_areas",
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"paint": {
|
|
|
|
"raster-opacity": 0.6,
|
|
|
|
"raster-resampling": "linear"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "wildlife_reserves",
|
|
|
|
"type": "raster",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "wildlife"
|
|
|
|
},
|
|
|
|
"source": "wildlife_reserves",
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"paint": {
|
|
|
|
"raster-opacity": 0.6,
|
|
|
|
"raster-resampling": "linear"
|
|
|
|
}
|
|
|
|
},
|
2021-03-06 19:53:12 +00:00
|
|
|
{
|
|
|
|
"id": "slope_classes",
|
|
|
|
"type": "raster",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "slope_classes"
|
|
|
|
},
|
|
|
|
"source": "slope_classes",
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"paint": {
|
|
|
|
"raster-opacity": 0.3,
|
2021-03-06 20:19:40 +00:00
|
|
|
"raster-resampling": "nearest"
|
2021-03-06 19:53:12 +00:00
|
|
|
}
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
{
|
|
|
|
"id": "contour_line",
|
|
|
|
"type": "line",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "contours"
|
|
|
|
},
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "contour_line",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 13.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.4,
|
|
|
|
"line-color": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["ice","water"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(0,136,208)",
|
|
|
|
["scree"],
|
|
|
|
"rgb(0,0,0)",
|
|
|
|
"rgb(191,138,64)"
|
|
|
|
],
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14.5,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.5,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.75,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
16.5,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
2,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
10
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["scree","ice","water"],
|
|
|
|
0.25,
|
|
|
|
0.45
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["scree","ice","water"],
|
|
|
|
0.3,
|
|
|
|
0.55
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"maputnik:comment": "color: rgb(191,138,64)"
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["!in","class","rock","ice","water"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "landcover",
|
|
|
|
"type": "fill",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "landcover",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 5.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"fill-color": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["forest","wood"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(186, 210, 172)",
|
2022-08-06 15:52:35 +00:00
|
|
|
["ice","glacier"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(205, 232, 244)",
|
|
|
|
["wetland"],
|
|
|
|
"rgb(204, 229, 245)",
|
|
|
|
["sand"],
|
|
|
|
"rgb(240, 218, 188)",
|
|
|
|
"rgb(215, 224, 209)"
|
|
|
|
],
|
|
|
|
"fill-opacity": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
5,
|
|
|
|
0,
|
|
|
|
6,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["ice","glacier"],
|
|
|
|
0.3,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
10,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["ice","glacier"],
|
|
|
|
0.2,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
11,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["ice","glacier"],
|
|
|
|
0.2,
|
|
|
|
0.3
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["ice","glacier"],
|
|
|
|
0,
|
|
|
|
0.3
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"any",
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
[
|
|
|
|
"allotments",
|
|
|
|
"forest",
|
|
|
|
"glacier",
|
|
|
|
"golf_course",
|
|
|
|
"park",
|
|
|
|
"plant_nursery",
|
|
|
|
"recreation_ground",
|
|
|
|
"scrub",
|
|
|
|
"woody_plant",
|
|
|
|
"loose_forest"
|
|
|
|
],
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"typeof",
|
|
|
|
["get","class"]
|
|
|
|
],
|
|
|
|
"string"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
["get","class"],
|
|
|
|
"sand"
|
|
|
|
],
|
|
|
|
false
|
|
|
|
]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "landcover_casing",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "landcover",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 10.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.5,
|
|
|
|
"line-color": "rgb(186, 199, 172)",
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
6,
|
|
|
|
0,
|
|
|
|
11,
|
|
|
|
0.25,
|
|
|
|
16,
|
|
|
|
0.75
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["exponential",1.5],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
0,
|
|
|
|
14,
|
|
|
|
1
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","subclass","wood","scrub","recreation_ground","park","golf_course","allotments","plant_nursery","forest"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "landuse",
|
|
|
|
"type": "fill",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "landuse",
|
2022-08-06 15:52:35 +00:00
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"fill-color": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["pitch"],
|
|
|
|
"rgb(224,234,221)",
|
2022-08-06 15:52:35 +00:00
|
|
|
["landfill","quarry"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(240, 218, 188)",
|
2022-08-06 15:52:35 +00:00
|
|
|
["cemetery","zoo"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(215, 224, 209)",
|
|
|
|
["parking"],
|
|
|
|
"rgb(255, 255, 255)",
|
|
|
|
"rgb(215, 224, 209)"
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"fill-opacity": [
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["pitch"],
|
|
|
|
1,
|
|
|
|
0.3
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","landfill","cemetery","quarry","zoo","pitch"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "landuse_outline",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "landuse",
|
2022-08-06 15:52:35 +00:00
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-color": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["pitch"],
|
|
|
|
"rgb(130, 130, 130)",
|
|
|
|
"rgba(186, 199, 172, 1)"
|
|
|
|
],
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
11,
|
|
|
|
0.25,
|
|
|
|
16,
|
|
|
|
0.75
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[14,0],
|
|
|
|
[15,1]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","cemetery","zoo","pitch"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "water_line_intermittent",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "waterway",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 12.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": 0,
|
|
|
|
"line-color": "rgba(48, 48, 48, 1)",
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"to-string",
|
|
|
|
["get","width"]
|
|
|
|
],
|
|
|
|
["10","9","8"],
|
2021-03-05 20:04:52 +00:00
|
|
|
3.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["7","6","5"],
|
2021-03-05 20:04:52 +00:00
|
|
|
2.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["4","3"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["1","2"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["river","canal"],
|
|
|
|
3.5,
|
|
|
|
1
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"to-string",
|
|
|
|
["get","width"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"10",
|
|
|
|
5,
|
|
|
|
"9",
|
|
|
|
4.5,
|
|
|
|
"8",
|
|
|
|
4,
|
|
|
|
"7",
|
|
|
|
3.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["6","5"],
|
2021-03-05 20:04:52 +00:00
|
|
|
3,
|
|
|
|
"4",
|
|
|
|
2.5,
|
|
|
|
"3",
|
|
|
|
2,
|
|
|
|
"2",
|
|
|
|
1.5,
|
|
|
|
"1",
|
|
|
|
1,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["river","canal"],
|
|
|
|
5,
|
|
|
|
1.5
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
20,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"to-string",
|
|
|
|
["get","width"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"10",
|
|
|
|
10,
|
|
|
|
"9",
|
|
|
|
9.6,
|
|
|
|
"8",
|
|
|
|
8.9,
|
|
|
|
"7",
|
|
|
|
8.2,
|
|
|
|
"6",
|
|
|
|
7.5,
|
|
|
|
"5",
|
|
|
|
6.8,
|
|
|
|
"4",
|
|
|
|
6.1,
|
|
|
|
"3",
|
|
|
|
5.4,
|
|
|
|
"2",
|
|
|
|
4.7,
|
|
|
|
"1",
|
|
|
|
4,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["river","canal"],
|
|
|
|
10,
|
|
|
|
4
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-offset": 0,
|
|
|
|
"line-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[13,0.25],
|
|
|
|
[16,0.35]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-dasharray": {
|
|
|
|
"stops": [
|
|
|
|
[
|
|
|
|
13,
|
|
|
|
[0.5,3]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
14,
|
|
|
|
[0.75,4.5]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
15,
|
|
|
|
[1,6]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
16,
|
|
|
|
[1.25,7.5]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","intermittent",1]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "water_line",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "waterway",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 7.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": 0,
|
|
|
|
"line-color": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
"rgba(138, 195, 229, 1)",
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["river","canal"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgba(160, 205, 236, 1)",
|
|
|
|
"rgba(140, 185, 226, 1)"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
7,
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"to-string",
|
|
|
|
["get","width"]
|
|
|
|
],
|
|
|
|
["10","9","8","7","6"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["5","4","3","2","1"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["river","canal"],
|
|
|
|
1.5,
|
|
|
|
1
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"to-string",
|
|
|
|
["get","width"]
|
|
|
|
],
|
|
|
|
["10","9","8"],
|
2021-03-05 20:04:52 +00:00
|
|
|
3.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["7","6","5"],
|
2021-03-05 20:04:52 +00:00
|
|
|
2.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["4","3"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["1","2"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["river","canal"],
|
|
|
|
3.5,
|
|
|
|
1
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"to-string",
|
|
|
|
["get","width"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"10",
|
|
|
|
5,
|
|
|
|
"9",
|
|
|
|
4.5,
|
|
|
|
"8",
|
|
|
|
4,
|
|
|
|
"7",
|
|
|
|
3.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["6","5"],
|
2021-03-05 20:04:52 +00:00
|
|
|
3,
|
|
|
|
"4",
|
|
|
|
2.5,
|
|
|
|
"3",
|
|
|
|
2,
|
|
|
|
"2",
|
|
|
|
1.5,
|
|
|
|
"1",
|
|
|
|
1,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["river","canal"],
|
|
|
|
5,
|
|
|
|
1.5
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
20,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"to-string",
|
|
|
|
["get","width"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"10",
|
|
|
|
10,
|
|
|
|
"9",
|
|
|
|
9.6,
|
|
|
|
"8",
|
|
|
|
8.9,
|
|
|
|
"7",
|
|
|
|
8.2,
|
|
|
|
"6",
|
|
|
|
7.5,
|
|
|
|
"5",
|
|
|
|
6.8,
|
|
|
|
"4",
|
|
|
|
6.1,
|
|
|
|
"3",
|
|
|
|
5.4,
|
|
|
|
"2",
|
|
|
|
4.7,
|
|
|
|
"1",
|
|
|
|
4,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["river","canal"],
|
|
|
|
10,
|
|
|
|
4
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-offset": 0,
|
|
|
|
"line-opacity": 0.7
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["!=","intermittent",1]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "water_polygon",
|
|
|
|
"type": "fill",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "water",
|
2022-08-06 15:52:35 +00:00
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"fill-color": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
4,
|
|
|
|
"rgb(209, 228, 240)",
|
|
|
|
10,
|
|
|
|
"rgb(199, 224, 245)"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "contour_line_water",
|
|
|
|
"type": "line",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "contours"
|
|
|
|
},
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "contour_line",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 13.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.4,
|
|
|
|
"line-color": "rgb(0,136,208)",
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14.5,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.5,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.75,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
16.5,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
2,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
10
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["scree","ice","water"],
|
|
|
|
0.25,
|
|
|
|
0.45
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["scree","ice","water"],
|
|
|
|
0.3,
|
|
|
|
0.55
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","ice","water"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "label_contour_line_20_grey",
|
|
|
|
"type": "symbol",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "contours"
|
|
|
|
},
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "contour_line",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 16.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": 12,
|
|
|
|
"text-field": "{ele} ",
|
|
|
|
"visibility": "visible",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-justify": "center",
|
|
|
|
"text-padding": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
0,
|
|
|
|
15,
|
|
|
|
12,
|
|
|
|
16,
|
|
|
|
80
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-spacing": 550,
|
|
|
|
"symbol-z-order": "auto",
|
|
|
|
"text-max-angle": 40,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-transform": "none",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-placement": "line",
|
|
|
|
"text-keep-upright": true,
|
|
|
|
"symbol-avoid-edges": true,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-letter-spacing": 0.1,
|
|
|
|
"text-pitch-alignment": "map",
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "map"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(64,64,64, 1)",
|
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
16,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-halo-blur": 0.5,
|
|
|
|
"text-halo-color": "rgba(238, 238, 238, .8)",
|
|
|
|
"text-halo-width": 2
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"!=",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["scree"],
|
|
|
|
true,
|
|
|
|
false
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "label_contour_line_20_blue",
|
|
|
|
"type": "symbol",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "contours"
|
|
|
|
},
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "contour_line",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 16.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": 12,
|
|
|
|
"text-field": "{ele} ",
|
|
|
|
"visibility": "visible",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-justify": "center",
|
|
|
|
"text-padding": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
0,
|
|
|
|
15,
|
|
|
|
12,
|
|
|
|
16,
|
|
|
|
80
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-spacing": 550,
|
|
|
|
"symbol-z-order": "auto",
|
|
|
|
"text-max-angle": 40,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-transform": "none",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-placement": "line",
|
|
|
|
"text-keep-upright": true,
|
|
|
|
"symbol-avoid-edges": true,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-letter-spacing": 0.1,
|
|
|
|
"text-pitch-alignment": "map",
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "map"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(0,136,208, 1)",
|
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
16,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-halo-blur": 0.5,
|
|
|
|
"text-halo-color": "rgba(238, 238, 238, .8)",
|
|
|
|
"text-halo-width": 2
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"!=",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["ice","water"],
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "label_contour_line_20_brown",
|
|
|
|
"type": "symbol",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "contours"
|
|
|
|
},
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "contour_line",
|
|
|
|
"minzoom": 16.0,
|
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
|
|
|
"text-size": 12,
|
|
|
|
"text-field": "{ele} ",
|
|
|
|
"visibility": "visible",
|
|
|
|
"text-justify": "center",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-padding": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
0,
|
|
|
|
15,
|
|
|
|
12,
|
|
|
|
16,
|
|
|
|
80
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-spacing": 550,
|
|
|
|
"symbol-z-order": "auto",
|
|
|
|
"text-max-angle": 40,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-transform": "none",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-placement": "line",
|
|
|
|
"text-keep-upright": true,
|
|
|
|
"symbol-avoid-edges": true,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-letter-spacing": 0.1,
|
|
|
|
"text-pitch-alignment": "map",
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "map"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(185,132,58, 1)",
|
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
16,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-halo-blur": 0.5,
|
|
|
|
"text-halo-color": "rgba(238, 238, 238, .8)",
|
|
|
|
"text-halo-width": 2
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"!=",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["land"],
|
|
|
|
true,
|
|
|
|
false
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "label_contour_line_100_grey",
|
|
|
|
"type": "symbol",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "contours"
|
|
|
|
},
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "contour_line",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 14.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["exponential",2],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
10.5,
|
|
|
|
16,
|
|
|
|
14
|
|
|
|
],
|
|
|
|
"text-field": "{ele} ",
|
|
|
|
"visibility": "visible",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-justify": "center",
|
|
|
|
"text-padding": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
0,
|
|
|
|
15,
|
|
|
|
12,
|
|
|
|
16,
|
|
|
|
80
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-spacing": {
|
|
|
|
"stops": [
|
|
|
|
[14,250],
|
|
|
|
[16,450]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symbol-z-order": "auto",
|
|
|
|
"text-max-angle": 35,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-transform": "none",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-placement": "line",
|
|
|
|
"text-keep-upright": true,
|
|
|
|
"symbol-avoid-edges": true,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-letter-spacing": 0.1,
|
|
|
|
"text-pitch-alignment": "map",
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "map"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(64,64,64, 1)",
|
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
16,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-halo-blur": 0.5,
|
|
|
|
"text-halo-color": "rgba(238, 238, 238, 0.8)",
|
|
|
|
"text-halo-width": 2
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["scree"],
|
|
|
|
true,
|
|
|
|
false
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "label_contour_line_100_blue",
|
|
|
|
"type": "symbol",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "contours"
|
|
|
|
},
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "contour_line",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 14.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["exponential",2],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
10.5,
|
|
|
|
16,
|
|
|
|
14
|
|
|
|
],
|
|
|
|
"text-field": "{ele} ",
|
|
|
|
"visibility": "visible",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-justify": "center",
|
|
|
|
"text-padding": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
0,
|
|
|
|
15,
|
|
|
|
12,
|
|
|
|
16,
|
|
|
|
80
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-spacing": {
|
|
|
|
"stops": [
|
|
|
|
[14,250],
|
|
|
|
[16,450]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symbol-z-order": "auto",
|
|
|
|
"text-max-angle": 35,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-transform": "none",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-placement": "line",
|
|
|
|
"text-keep-upright": true,
|
|
|
|
"symbol-avoid-edges": true,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-letter-spacing": 0.1,
|
|
|
|
"text-pitch-alignment": "map",
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "map"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(0,136,208, 1)",
|
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
16,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-halo-blur": 0.5,
|
|
|
|
"text-halo-color": "rgba(238, 238, 238, 0.8)",
|
|
|
|
"text-halo-width": 2
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["ice","water"],
|
|
|
|
true,
|
|
|
|
false
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "label_contour_line_100_brown",
|
|
|
|
"type": "symbol",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "contours"
|
|
|
|
},
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "contour_line",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 14.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["exponential",2],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
10.5,
|
|
|
|
16,
|
|
|
|
14
|
|
|
|
],
|
|
|
|
"text-field": "{ele} ",
|
|
|
|
"visibility": "visible",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-justify": "center",
|
|
|
|
"text-padding": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
0,
|
|
|
|
15,
|
|
|
|
12,
|
|
|
|
16,
|
|
|
|
80
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-spacing": {
|
|
|
|
"stops": [
|
|
|
|
[14,250],
|
|
|
|
[16,450]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symbol-z-order": "auto",
|
|
|
|
"text-max-angle": 35,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-transform": "none",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-placement": "line",
|
|
|
|
"text-keep-upright": true,
|
|
|
|
"symbol-avoid-edges": true,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-letter-spacing": 0.1,
|
|
|
|
"text-pitch-alignment": "map",
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "map"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(185,132,58, 1)",
|
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
16,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
20
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-halo-blur": 0.5,
|
|
|
|
"text-halo-color": "rgba(238, 238, 238, 0.8)",
|
|
|
|
"text-halo-width": 2
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"%",
|
|
|
|
[
|
|
|
|
"to-number",
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
100
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["land"],
|
|
|
|
true,
|
|
|
|
false
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "water_outline",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "water",
|
2022-08-06 15:52:35 +00:00
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.5,
|
|
|
|
"line-color": "rgba(133, 189, 224, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-width": 0.5,
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
8,
|
|
|
|
1,
|
|
|
|
14,
|
|
|
|
0
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["!=","class","ocean"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "pattern_landcover_vineyard",
|
|
|
|
"type": "fill",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "landcover",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 13.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"fill-opacity": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
13,
|
|
|
|
0,
|
|
|
|
13.1,
|
|
|
|
0.6,
|
|
|
|
17,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"fill-pattern": "vinyard_green"
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","subclass","vineyard"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "pattern_landcover_wetlands",
|
|
|
|
"type": "fill",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "landcover",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 13.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"fill-color": "#000000",
|
|
|
|
"fill-opacity": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
13,
|
|
|
|
0,
|
|
|
|
13.2,
|
|
|
|
0.4,
|
|
|
|
17,
|
|
|
|
1
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"fill-pattern": "wetland_blue",
|
|
|
|
"fill-antialias": true
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","class","wetland"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "pattern_landcover_orchard",
|
|
|
|
"type": "fill",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "landcover",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 13.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"fill-opacity": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
13,
|
|
|
|
0,
|
|
|
|
13.2,
|
|
|
|
0.8,
|
|
|
|
17,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"fill-pattern": "orchard_green"
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","subclass","orchard"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "park",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "park",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 7.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-color": "rgba(171, 197, 159, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
|
|
|
["exponential",1.5],
|
|
|
|
["zoom"],
|
|
|
|
9,
|
|
|
|
1.5,
|
|
|
|
15,
|
|
|
|
8,
|
|
|
|
18,
|
|
|
|
12
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
7,
|
|
|
|
0,
|
|
|
|
8,
|
|
|
|
1,
|
|
|
|
13,
|
|
|
|
1,
|
|
|
|
14,
|
|
|
|
0.6
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","national_park"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "boundary_disputed",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "boundary",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 0.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "square",
|
|
|
|
"line-join": "miter",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"line-blur": 1,
|
|
|
|
"line-color": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"stops": [
|
|
|
|
[6,"hsl(300, 55%, 80%)"],
|
|
|
|
[9,"hsl(315, 40%, 85%)"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
2,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","admin_level"],
|
|
|
|
2,
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
3,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","admin_level"],
|
|
|
|
2,
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
7,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","admin_level"],
|
|
|
|
2,
|
|
|
|
4,
|
|
|
|
1.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
18,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","admin_level"],
|
|
|
|
2,
|
|
|
|
16,
|
|
|
|
10
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[13,1],
|
|
|
|
[14,0.7]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-dasharray": [1.5,2.5]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","admin_level",2,4],
|
|
|
|
["!=","maritime",1],
|
|
|
|
["==","disputed",1],
|
|
|
|
["==","$type","LineString"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "boundary",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "boundary",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 0.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-cap": ["literal","round"],
|
|
|
|
"line-join": ["literal","miter"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"line-blur": 1,
|
|
|
|
"line-color": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"stops": [
|
|
|
|
[6,"hsl(300, 55%, 80%)"],
|
|
|
|
[9,"hsl(315, 40%, 85%)"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
2,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","admin_level"],
|
|
|
|
2,
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
3,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","admin_level"],
|
|
|
|
2,
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
7,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","admin_level"],
|
|
|
|
2,
|
|
|
|
3,
|
|
|
|
1
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
18,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","admin_level"],
|
|
|
|
2,
|
|
|
|
16,
|
|
|
|
10
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[13,1],
|
|
|
|
[14,0.8]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","admin_level",2,4],
|
|
|
|
["!=","maritime",1],
|
|
|
|
["!=","disputed",1],
|
|
|
|
["==","$type","LineString"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
2021-09-27 12:34:11 +00:00
|
|
|
{
|
|
|
|
"id": "summits_az",
|
|
|
|
"type": "fill",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "az"
|
|
|
|
},
|
|
|
|
"source": "az",
|
|
|
|
"source-layer": "az",
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"minzoom": 12,
|
|
|
|
"paint": {
|
|
|
|
"fill-antialias": false,
|
2022-09-29 17:54:54 +00:00
|
|
|
"fill-color": "rgba(50, 255, 0, 0.4)",
|
2021-09-27 12:34:11 +00:00
|
|
|
"fill-opacity": {"stops": [[12, 0], [12.5, 0.5]]}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "summits_az_border",
|
|
|
|
"type": "line",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "az"
|
|
|
|
},
|
|
|
|
"source": "az",
|
|
|
|
"source-layer": "az",
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"minzoom": 12,
|
|
|
|
"paint": {
|
2022-09-29 17:54:54 +00:00
|
|
|
"line-color": "rgba(50, 150, 0, 1)",
|
2021-09-27 12:34:11 +00:00
|
|
|
"line-opacity": {"stops": [[12, 0], [12.5, 0.5]]},
|
2022-09-24 09:10:47 +00:00
|
|
|
"line-width": {"stops": [[12, 1], [16, 2]]},
|
|
|
|
"line-dasharray": [1,1]
|
2021-09-27 12:34:11 +00:00
|
|
|
}
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
{
|
|
|
|
"id": "tunnel_public_transport",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 8.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "miter",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
2.5,
|
|
|
|
0.6
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.6
|
|
|
|
],
|
|
|
|
0.6
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
2.5,
|
|
|
|
0.6
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.6
|
|
|
|
],
|
|
|
|
0.6
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
0.4
|
|
|
|
],
|
|
|
|
"line-color": {
|
|
|
|
"stops": [
|
2022-08-06 15:52:35 +00:00
|
|
|
[7,"rgba(255, 50, 50, 1)"],
|
|
|
|
[15,"rgba(255, 80, 80, 1)"]
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0.2,
|
|
|
|
0.75
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.2
|
|
|
|
],
|
|
|
|
0.2
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0.1,
|
|
|
|
1.25
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
1
|
|
|
|
],
|
|
|
|
["cable_car"],
|
|
|
|
1,
|
|
|
|
0.75
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
2
|
|
|
|
],
|
|
|
|
["cable_car"],
|
|
|
|
2,
|
|
|
|
1.5
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": [
|
2021-03-05 20:04:52 +00:00
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
2022-08-06 15:52:35 +00:00
|
|
|
0,
|
2021-03-05 20:04:52 +00:00
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
0.8,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
["rail","subway","funicular","rack_rail","narrow_gauge"],
|
|
|
|
0.8,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","funicular","rack_rail","subway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0,
|
|
|
|
0.8
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14.5,
|
|
|
|
0.8
|
|
|
|
],
|
|
|
|
"line-dasharray": {
|
|
|
|
"stops": [
|
|
|
|
[
|
|
|
|
13,
|
|
|
|
[4,2.5]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
14,
|
|
|
|
[6,3.75]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
15,
|
|
|
|
[10,6.25]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
16,
|
|
|
|
[14,8.75]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","brunnel","tunnel"],
|
|
|
|
["in","class","rail","transit","cable_car","gondola"],
|
|
|
|
["==","$type","LineString"]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "tunnel_road",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
|
|
|
"minzoom": 7.0,
|
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "miter",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
7,
|
|
|
|
["literal",2],
|
|
|
|
8,
|
|
|
|
["literal",1],
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary"],
|
|
|
|
0.4,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary","secondary"],
|
|
|
|
0.4,
|
|
|
|
3
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
11,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary","secondary"],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.4,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary","secondary","tertiary"],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.4,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary","secondary","tertiary"],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.4,
|
|
|
|
["minor"],
|
|
|
|
1,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
0.4
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-color": {
|
2021-03-05 20:04:52 +00:00
|
|
|
"stops": [
|
2022-08-06 15:52:35 +00:00
|
|
|
[6,"rgba(170, 170, 170, 1)"],
|
|
|
|
[11,"rgba(130, 130, 130, 1)"]
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
2022-08-06 15:52:35 +00:00
|
|
|
1,
|
2021-03-05 20:04:52 +00:00
|
|
|
10,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.2,
|
2022-08-06 15:52:35 +00:00
|
|
|
["primary","secondary","tertiary","minor"],
|
|
|
|
1,
|
2021-03-05 20:04:52 +00:00
|
|
|
0
|
|
|
|
],
|
|
|
|
11,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.3,
|
2022-08-06 15:52:35 +00:00
|
|
|
["primary","secondary","tertiary","minor"],
|
|
|
|
1,
|
2021-03-05 20:04:52 +00:00
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["primary","secondary","tertiary","minor"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
2,
|
2022-08-06 15:52:35 +00:00
|
|
|
["primary","secondary","tertiary","minor"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1.5,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
15,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
|
|
|
3,
|
|
|
|
2
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
20,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
|
|
|
5,
|
|
|
|
2.5
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-offset": 0,
|
|
|
|
"line-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
2,
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
12,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"line-dasharray": {
|
|
|
|
"stops": [
|
|
|
|
[
|
|
|
|
13,
|
|
|
|
[3,1.875]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
14,
|
|
|
|
[4,2.5]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
15,
|
|
|
|
[5,3.125]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
16,
|
|
|
|
[6,3.75]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","brunnel","tunnel"],
|
|
|
|
["!in","class","rail","ferry","transit","cable_car","gondola","path"],
|
|
|
|
["==","$type","LineString"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-06 15:52:35 +00:00
|
|
|
"id": "tunnel_road_path_footway",
|
2021-03-05 20:04:52 +00:00
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 6.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "miter",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.4,
|
|
|
|
"line-color": "rgba(140, 140, 140, 1)",
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
15,
|
|
|
|
1.1,
|
|
|
|
20,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-offset": 0,
|
|
|
|
"line-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[14,0],
|
|
|
|
[15,1]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-dasharray": {
|
|
|
|
"stops": [
|
|
|
|
[
|
|
|
|
14,
|
|
|
|
[1,0.6]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
15,
|
|
|
|
[1.5,0.9]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
16,
|
|
|
|
[2,1.2]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
17,
|
|
|
|
[3,1.8]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
18,
|
|
|
|
[6,3.6]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","brunnel","tunnel"],
|
|
|
|
["in","class","path","footway"],
|
|
|
|
["==","$type","LineString"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "construct_line",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "construct",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 14.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.4,
|
|
|
|
"line-color": "hsl(220, 10%, 67%)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-width": {
|
|
|
|
"stops": [
|
|
|
|
[15,1],
|
|
|
|
[18,4]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[14,0],
|
|
|
|
[15,1]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","class","lock"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "construct",
|
|
|
|
"type": "fill",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "construct",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 13.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"fill-color": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"weir",
|
|
|
|
"hsl(220, 10%, 82%)",
|
|
|
|
"hsl(220, 10%, 86%)"
|
|
|
|
],
|
|
|
|
17,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"weir",
|
|
|
|
"hsl(220, 10%, 75%)",
|
|
|
|
"dam",
|
|
|
|
"hsl(220, 10%, 82%)",
|
|
|
|
"hsl(220, 10%, 86%)"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"fill-opacity": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
0,
|
|
|
|
13,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
"dam",
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
"dam",
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
15,
|
|
|
|
1
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["!=","class","lock"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "aeroway_polygon_casing",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "aeroway",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "round",
|
|
|
|
"line-join": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.4,
|
|
|
|
"line-color": "rgb(190, 190, 190)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-width": {
|
|
|
|
"base": 1.5,
|
|
|
|
"stops": [
|
|
|
|
[13,3],
|
|
|
|
[15,4],
|
|
|
|
[17,5]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-opacity": 1
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","runway","taxiway","apron","runway_grass"],
|
|
|
|
["==","$type","Polygon"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "aeroway_line_casing",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "aeroway",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "miter",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.4,
|
|
|
|
"line-color": "rgba(110, 110, 110, 1)",
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
11.5,
|
|
|
|
0,
|
|
|
|
12,
|
|
|
|
2.3,
|
|
|
|
15,
|
|
|
|
11.25,
|
|
|
|
20,
|
|
|
|
153
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": 1
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","$type","LineString"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-06 15:52:35 +00:00
|
|
|
"id": "road_via_ferrata_trail",
|
2021-03-05 20:04:52 +00:00
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 14.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "bevel",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": {
|
|
|
|
"stops": [
|
|
|
|
[15,0.1],
|
|
|
|
[20,0.4]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-color": {
|
2021-03-05 20:04:52 +00:00
|
|
|
"stops": [
|
2022-08-06 15:52:35 +00:00
|
|
|
[15,"rgba(20, 20, 20, 1)"],
|
|
|
|
[18,"rgba(90, 90, 90, 1)"]
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
15,
|
|
|
|
1.1,
|
|
|
|
20,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[14,0],
|
|
|
|
[15,1]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-dasharray": {
|
|
|
|
"stops": [
|
|
|
|
[
|
|
|
|
15,
|
|
|
|
[0.75,2]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
16,
|
|
|
|
[1.125,3]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
17,
|
|
|
|
[1.5,4]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
18,
|
|
|
|
[1.875,5]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"metadata": {
|
|
|
|
"maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
2022-08-06 15:52:35 +00:00
|
|
|
["in","class","via_ferrata","trail"],
|
|
|
|
["!in","brunnel","bridge","tunnel"],
|
|
|
|
["==","$type","LineString"]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "road_path_footway",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
|
|
|
"minzoom": 11.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "bevel",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
15,
|
|
|
|
0.1,
|
|
|
|
20,
|
|
|
|
0.4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-color": "rgba(115, 115, 115, 1)",
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
13,
|
|
|
|
0.5,
|
2021-03-05 20:04:52 +00:00
|
|
|
15,
|
|
|
|
1.1,
|
|
|
|
20,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["path","track","footway"],
|
|
|
|
0.5,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"line-dasharray": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[6,2]
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[9,3]
|
|
|
|
],
|
|
|
|
17,
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[12,4]
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[15,5]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["path","footway"],
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","brunnel"],
|
|
|
|
["bridge","tunnel"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
"covered_bridge",
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
],
|
|
|
|
true
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
["geometry-type"],
|
|
|
|
"LineString"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "road_path_pedestrian_sac",
|
|
|
|
"type": "line",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "difficulty"
|
|
|
|
},
|
|
|
|
"source": "swissmaptiles",
|
2021-03-05 20:04:52 +00:00
|
|
|
"source-layer": "transportation",
|
|
|
|
"minzoom": 12,
|
|
|
|
"maxzoom": 24,
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==", "$type", "LineString"],
|
|
|
|
["has", "sac_scale"]
|
|
|
|
],
|
|
|
|
"layout": {"visibility": "visible", "line-join": "round"},
|
|
|
|
"paint": {
|
|
|
|
"line-color": [
|
|
|
|
"match",
|
|
|
|
["get", "sac_scale"],
|
|
|
|
"hiking",
|
|
|
|
"rgba(255,220,0,0.9)",
|
|
|
|
"mountain_hiking",
|
|
|
|
"rgba(255,0,0,0.5)",
|
|
|
|
"demanding_mountain_hiking",
|
|
|
|
"rgba(255,0,0,0.5)",
|
|
|
|
"alpine_hiking",
|
|
|
|
"rgba(0,0,255,0.5)",
|
|
|
|
"demanding_alpine_hiking",
|
|
|
|
"rgba(0,0,255,0.5)",
|
|
|
|
"difficult_alpine_hiking",
|
|
|
|
"rgba(0,0,255,0.5)",
|
|
|
|
"rgba(0,0,0,0)"
|
|
|
|
],
|
|
|
|
"line-offset": 0,
|
|
|
|
"line-blur": 0,
|
|
|
|
"line-gap-width": 0,
|
|
|
|
"line-opacity": {"stops": [[12, 0], [12.1, 1]]},
|
|
|
|
"line-width": {"base": 1.2, "stops": [[12, 0.5], [14, 2], [20, 12]]}
|
|
|
|
}
|
|
|
|
},
|
2021-03-06 18:37:31 +00:00
|
|
|
{
|
|
|
|
"id": "hiking_trails_raster",
|
|
|
|
"type": "raster",
|
|
|
|
"maxzoom": 14,
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "difficulty"
|
|
|
|
},
|
|
|
|
"source": "hiking_trails_raster",
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"paint": {
|
|
|
|
"raster-opacity": 0.6,
|
|
|
|
"raster-resampling": "linear"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "skiing_trails_raster",
|
|
|
|
"type": "raster",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "skiing"
|
|
|
|
},
|
|
|
|
"source": "skiing_trails_raster",
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"paint": {
|
|
|
|
"raster-opacity": 0.6,
|
|
|
|
"raster-resampling": "linear"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "snowshoe_trails_raster",
|
|
|
|
"type": "raster",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "snowshoe"
|
|
|
|
},
|
|
|
|
"source": "snowshoe_trails_raster",
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"paint": {
|
|
|
|
"raster-opacity": 0.6,
|
|
|
|
"raster-resampling": "linear"
|
|
|
|
}
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
{
|
|
|
|
"id": "building_ln",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "building_ln",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 13.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.4,
|
|
|
|
"line-color": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"weir",
|
|
|
|
"rgb(20, 136, 205)",
|
|
|
|
"rgb(130, 130, 130)"
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-width": {
|
|
|
|
"stops": [
|
|
|
|
[13,0],
|
|
|
|
[16,2],
|
|
|
|
[18,3]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-opacity": [
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
"weir",
|
|
|
|
0.2,
|
|
|
|
1
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "road_casing",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 7.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "round",
|
|
|
|
"line-join": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
7,
|
|
|
|
3,
|
|
|
|
8,
|
|
|
|
0.4,
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
2,
|
|
|
|
0.4
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
"track",
|
|
|
|
2,
|
|
|
|
0.4
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
0.4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-color": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.7],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(170, 136, 30)",
|
|
|
|
"rgb(80, 80, 80)"
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(139, 107, 63)",
|
|
|
|
"rgb(90, 90, 90)"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
7,
|
2022-08-06 15:52:35 +00:00
|
|
|
["literal",0],
|
2021-03-05 20:04:52 +00:00
|
|
|
8,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
3
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
10,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
2.5,
|
|
|
|
4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
|
|
|
4,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
3
|
|
|
|
]
|
|
|
|
],
|
|
|
|
11,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
2.5,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
["trunk"],
|
|
|
|
4,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
3
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
3,
|
|
|
|
5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
5,
|
|
|
|
5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
5,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["secondary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
4.5,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["tertiary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3.25,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["track"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["minor"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
3.5,
|
|
|
|
5.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
5.5,
|
|
|
|
5.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
5.5,
|
|
|
|
["secondary"],
|
|
|
|
5,
|
|
|
|
["tertiary"],
|
|
|
|
4,
|
|
|
|
["minor"],
|
|
|
|
3,
|
2022-08-06 15:52:35 +00:00
|
|
|
["track"],
|
|
|
|
0.5,
|
2021-03-05 20:04:52 +00:00
|
|
|
0
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
6.5,
|
|
|
|
8
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
9,
|
|
|
|
["secondary"],
|
|
|
|
8,
|
|
|
|
["tertiary"],
|
|
|
|
7,
|
|
|
|
["minor"],
|
|
|
|
5,
|
|
|
|
["track"],
|
|
|
|
1.1,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
12
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
12,
|
|
|
|
15
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
15,
|
|
|
|
["secondary"],
|
|
|
|
13,
|
|
|
|
["tertiary"],
|
|
|
|
11,
|
|
|
|
["minor"],
|
|
|
|
9,
|
|
|
|
["track"],
|
|
|
|
1.1,
|
|
|
|
8
|
|
|
|
],
|
|
|
|
20,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
120,
|
|
|
|
["secondary"],
|
|
|
|
115,
|
|
|
|
["tertiary"],
|
|
|
|
110,
|
|
|
|
["minor"],
|
|
|
|
100,
|
|
|
|
["track"],
|
|
|
|
3,
|
|
|
|
95
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-offset": 0,
|
|
|
|
"line-opacity": 1
|
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"maputnik:comment": "casing color for motorway is brown"
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["cable_car","car_ferry","chair_lift","ferry","gondola","path","footway","trail","rail","transit","via_ferrata"],
|
|
|
|
false,
|
|
|
|
true
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","brunnel"],
|
|
|
|
["bridge","tunnel"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
"covered_bridge",
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
],
|
|
|
|
true
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
["geometry-type"],
|
|
|
|
"LineString"
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "landuse_parking",
|
|
|
|
"type": "fill",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "landuse",
|
2022-08-06 15:52:35 +00:00
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"fill-color": "rgba(255, 255, 255, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"fill-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[14,0],
|
|
|
|
[15,1]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","parking"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "landuse_parking_outline",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "landuse",
|
2022-08-06 15:52:35 +00:00
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-color": "rgba(130, 130, 130, 1)",
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
11,
|
|
|
|
0.25,
|
|
|
|
16,
|
|
|
|
0.75
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[14,0],
|
|
|
|
[15,1]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","parking"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "road_fill",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 7.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "round",
|
|
|
|
"line-join": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": {
|
|
|
|
"stops": [
|
|
|
|
[8,0.4],
|
|
|
|
[14,0.1]
|
|
|
|
]
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-color": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(255,230,160)",
|
|
|
|
"rgb(255,255,255)"
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(255, 224, 138)",
|
|
|
|
"rgb(255,255,255)"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
7,
|
2022-08-06 15:52:35 +00:00
|
|
|
["literal",0],
|
2021-03-05 20:04:52 +00:00
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
0.5,
|
2021-03-05 20:04:52 +00:00
|
|
|
2
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
10,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
2.75
|
|
|
|
],
|
|
|
|
["trunk"],
|
|
|
|
2.75,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
],
|
|
|
|
11,
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
2.75
|
|
|
|
],
|
|
|
|
["trunk"],
|
|
|
|
2.75,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
3.75
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
3.75,
|
|
|
|
3.75
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3.75,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["secondary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3.25,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["tertiary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
2.25,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["minor","path","track","footway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
2,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
2.75,
|
|
|
|
4.25
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
4.25,
|
|
|
|
4.25
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
4.25,
|
|
|
|
["secondary"],
|
|
|
|
3.75,
|
|
|
|
["tertiary"],
|
|
|
|
2.75,
|
|
|
|
["minor"],
|
|
|
|
1.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
5,
|
|
|
|
6.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
6.5,
|
|
|
|
7.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
7.5,
|
|
|
|
["secondary"],
|
|
|
|
6.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["tertiary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
5.5,
|
|
|
|
["minor"],
|
|
|
|
3.5,
|
|
|
|
2.5
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
8.5,
|
|
|
|
10.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
10.5,
|
|
|
|
13.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
13.5,
|
|
|
|
["secondary"],
|
|
|
|
11.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["tertiary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
9.5,
|
|
|
|
["minor"],
|
|
|
|
7.5,
|
|
|
|
6.5
|
|
|
|
],
|
|
|
|
20,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
117,
|
|
|
|
["secondary"],
|
|
|
|
112,
|
|
|
|
["tertiary"],
|
|
|
|
107,
|
|
|
|
["minor"],
|
|
|
|
97,
|
|
|
|
92
|
|
|
|
]
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["cable_car","car_ferry","chair_lift","ferry","gondola","path","footway","trail","rail","track","transit","via_ferrata"],
|
|
|
|
false,
|
|
|
|
true
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","brunnel"],
|
|
|
|
["bridge","tunnel"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
"covered_bridge",
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
],
|
|
|
|
true
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"==",
|
|
|
|
["geometry-type"],
|
|
|
|
"LineString"
|
|
|
|
]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "aeroway_line_fill",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "aeroway",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "miter",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.4,
|
|
|
|
"line-color": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["runway_grass"],
|
|
|
|
"rgb(224,234,221)",
|
|
|
|
"rgb(255, 255, 255)"
|
|
|
|
],
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
12,
|
|
|
|
2,
|
|
|
|
15,
|
|
|
|
10,
|
|
|
|
20,
|
|
|
|
150
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": 1
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","$type","LineString"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "aeroway_polygon_fill",
|
|
|
|
"type": "fill",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "aeroway",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"fill-color": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["runway_grass"],
|
|
|
|
"rgb(224,234,221)",
|
|
|
|
"rgb(255, 255, 255)"
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"fill-opacity": 1,
|
|
|
|
"fill-antialias": true
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","runway","taxiway","apron","runway_grass"],
|
|
|
|
["==","$type","Polygon"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "car_ferry",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 9.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.4,
|
|
|
|
"line-color": "rgba(105, 187, 218, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-width": {
|
2021-03-05 20:04:52 +00:00
|
|
|
"stops": [
|
2022-08-06 15:52:35 +00:00
|
|
|
[8,0.4],
|
|
|
|
[14,1],
|
|
|
|
[18,2]
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
9,
|
|
|
|
0,
|
|
|
|
11,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["car_ferry"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
12,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["car_ferry"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
13,
|
|
|
|
1
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-dasharray": {
|
|
|
|
"stops": [
|
|
|
|
[
|
|
|
|
12,
|
|
|
|
[6,2]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
13,
|
|
|
|
[9,3]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
14,
|
|
|
|
[12,4]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
15,
|
|
|
|
[15,5]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
16,
|
|
|
|
[18,6]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","class","car_ferry"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "ferry",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 12.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": 0.4,
|
|
|
|
"line-color": "rgba(105, 187, 218, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-width": {
|
2021-03-05 20:04:52 +00:00
|
|
|
"stops": [
|
2022-08-06 15:52:35 +00:00
|
|
|
[8,0.4],
|
|
|
|
[14,1],
|
|
|
|
[18,2]
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
|
|
|
},
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[12,0],
|
|
|
|
[13,1]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-dasharray": {
|
|
|
|
"stops": [
|
|
|
|
[
|
|
|
|
12,
|
|
|
|
[3,1]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
13,
|
|
|
|
[6,2]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
14,
|
|
|
|
[9,3]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
15,
|
|
|
|
[12,4]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
16,
|
|
|
|
[15,5]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","class","ferry"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "public_transport",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 8.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
2.5,
|
|
|
|
0.6
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.6
|
|
|
|
],
|
|
|
|
0.6
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
2.5,
|
|
|
|
0.6
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.6
|
|
|
|
],
|
|
|
|
0.6
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
0.4
|
|
|
|
],
|
|
|
|
"line-color": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"stops": [
|
|
|
|
[7,"rgba(255, 50, 50, 1)"],
|
|
|
|
[15,"rgba(255, 80, 80, 1)"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0.2,
|
|
|
|
0.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.2
|
|
|
|
],
|
|
|
|
0.2
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0.2,
|
|
|
|
1
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
1
|
|
|
|
],
|
|
|
|
["cable_car"],
|
|
|
|
1,
|
|
|
|
0.75
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
1.5,
|
|
|
|
2
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
2
|
|
|
|
],
|
|
|
|
1.5
|
|
|
|
]
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
0,
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail","funicular"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14.5,
|
|
|
|
1
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","rail","transit"],
|
|
|
|
["!in","brunnel","bridge","tunnel"]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "sinkhole",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "spot_elevation",
|
|
|
|
"minzoom": 14.0,
|
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": [],
|
|
|
|
"text-size": 16,
|
|
|
|
"icon-image": [
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
"sinkhole",
|
|
|
|
"arrow_brown",
|
|
|
|
["sinkhole_rock","sinkhole_scree"],
|
|
|
|
"arrow_grey",
|
|
|
|
["sinkhole_ice","sinkhole_water"],
|
|
|
|
"arrow_blue",
|
|
|
|
""
|
|
|
|
],
|
|
|
|
"text-field": "",
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-anchor": "bottom",
|
|
|
|
"icon-offset": [0,0],
|
|
|
|
"icon-rotate": 15,
|
|
|
|
"text-anchor": "center",
|
|
|
|
"icon-padding": 30,
|
|
|
|
"icon-optional": false,
|
|
|
|
"text-optional": false,
|
|
|
|
"symbol-placement": "point",
|
|
|
|
"text-keep-upright": false,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-ignore-placement": false
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"icon-color": "#000000",
|
|
|
|
"text-color": "#000000",
|
|
|
|
"icon-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[14,0],
|
|
|
|
[15,0.6]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"text-opacity": 1,
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-width": 0
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","sinkhole","sinkhole_rock","sinkhole_scree","sinkhole_water","sinkhole_ice"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "building_2d",
|
|
|
|
"type": "fill",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "building",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 13.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"fill-color": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"stops": [
|
|
|
|
[13,"hsl(220, 10%, 82%)"],
|
|
|
|
[17,"hsl(220, 10%, 75%)"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
2022-08-06 15:52:35 +00:00
|
|
|
"fill-opacity": {
|
|
|
|
"stops": [
|
|
|
|
[13,0],
|
|
|
|
[13.5,1]
|
|
|
|
]
|
|
|
|
}
|
2021-03-05 20:04:52 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "building_2d_casing",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "building",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 15.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-color": "hsl(220, 10%, 67%)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
15,
|
|
|
|
0.2,
|
|
|
|
18,
|
|
|
|
1.2
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
15,
|
|
|
|
0,
|
|
|
|
16,
|
|
|
|
0.5,
|
|
|
|
19,
|
|
|
|
1
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "lake_elevation",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "spot_elevation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 12.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
10.5,
|
|
|
|
18,
|
|
|
|
13
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-image": [
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
["has","lake_depth"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"arrow_line_blue",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"==",
|
|
|
|
[
|
|
|
|
"length",
|
|
|
|
[
|
|
|
|
"to-string",
|
|
|
|
["get","ele"]
|
|
|
|
]
|
|
|
|
],
|
|
|
|
3
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line_blue_short",
|
|
|
|
"line_blue_long"
|
|
|
|
],
|
|
|
|
"text-field": [
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
["has","lake_depth"],
|
|
|
|
[
|
|
|
|
"concat",
|
|
|
|
["get","ele"],
|
|
|
|
"\n\n",
|
|
|
|
["get","lake_depth"]
|
|
|
|
],
|
|
|
|
["get","ele"]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"visibility": "visible",
|
|
|
|
"icon-offset": [0,0],
|
|
|
|
"text-anchor": "center",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-offset": [
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
["has","lake_depth"],
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0.35,-0.5]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0,-0.5]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-justify": "center",
|
|
|
|
"icon-optional": false,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-optional": false,
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-placement": "point",
|
|
|
|
"text-line-height": 1,
|
|
|
|
"text-keep-upright": false,
|
|
|
|
"icon-allow-overlap": true,
|
|
|
|
"text-allow-overlap": false,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-radial-offset": 0,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-pitch-alignment": "auto",
|
|
|
|
"icon-ignore-placement": true,
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "auto"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"icon-color": "#000000",
|
|
|
|
"text-color": "rgba(20, 136, 205, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-opacity": 1,
|
|
|
|
"text-opacity": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
1,
|
|
|
|
18,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","class","lake_elevation"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bridge-l1_road_casing",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 7.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
7,
|
|
|
|
3,
|
|
|
|
8,
|
|
|
|
0.4,
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
2,
|
|
|
|
0.4
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
"track",
|
|
|
|
2,
|
|
|
|
0.4
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
0.4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-color": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.7],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(170, 136, 30)",
|
|
|
|
"rgb(80, 80, 80)"
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(139, 107, 63)",
|
|
|
|
"rgb(90, 90, 90)"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
7,
|
|
|
|
["literal",0],
|
|
|
|
8,
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
2021-03-05 20:04:52 +00:00
|
|
|
3
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
10,
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
2.5,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
["trunk"],
|
|
|
|
4,
|
|
|
|
3
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
11,
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
2.5,
|
|
|
|
4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
|
|
|
4,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
3
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
12,
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
3,
|
|
|
|
5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
5,
|
|
|
|
5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
5,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["secondary"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
4.5,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["tertiary"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3.25,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["track"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["minor"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
3.5,
|
|
|
|
5.5
|
|
|
|
],
|
|
|
|
["trunk"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
5.5,
|
|
|
|
5.5
|
|
|
|
],
|
|
|
|
["primary"],
|
|
|
|
5.5,
|
|
|
|
["secondary"],
|
|
|
|
5,
|
|
|
|
["tertiary"],
|
|
|
|
4,
|
|
|
|
["minor"],
|
|
|
|
3,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
6.5,
|
|
|
|
8
|
|
|
|
],
|
|
|
|
["trunk"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
|
|
|
["primary"],
|
|
|
|
9,
|
|
|
|
["secondary"],
|
|
|
|
8,
|
|
|
|
["tertiary"],
|
2021-03-05 20:04:52 +00:00
|
|
|
7,
|
|
|
|
["minor"],
|
|
|
|
5,
|
|
|
|
["track"],
|
|
|
|
1.1,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
12
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
12,
|
|
|
|
15
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
15,
|
|
|
|
["secondary"],
|
|
|
|
13,
|
|
|
|
["tertiary"],
|
|
|
|
11,
|
|
|
|
["minor"],
|
|
|
|
9,
|
|
|
|
["track"],
|
|
|
|
1.1,
|
|
|
|
8
|
|
|
|
],
|
|
|
|
20,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
120,
|
|
|
|
["secondary"],
|
|
|
|
115,
|
|
|
|
["tertiary"],
|
|
|
|
110,
|
|
|
|
["minor"],
|
|
|
|
100,
|
|
|
|
["track"],
|
|
|
|
3,
|
|
|
|
95
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-offset": 0,
|
|
|
|
"line-opacity": 1
|
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"maputnik:comment": "casing color for motorway is brown"
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","layer",1],
|
|
|
|
["!in","class","rail","ferry","path","track","footway","transit","cable_car","gondola"],
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","subclass","covered_bridge"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bridge-l1_fill",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 7.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": {
|
|
|
|
"stops": [
|
|
|
|
[8,0.4],
|
|
|
|
[14,0.1]
|
|
|
|
]
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-color": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(255,230,160)",
|
2022-08-06 15:52:35 +00:00
|
|
|
["rail","path","track","footway"],
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"funicular",
|
|
|
|
"rgba(243,243,246,0)",
|
|
|
|
"rgb(243,243,246)"
|
|
|
|
],
|
|
|
|
"rgb(255,255,255)",
|
|
|
|
"rgb(243,243,246)",
|
|
|
|
"rgb(255,255,255)"
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(255, 224, 138)",
|
2022-08-06 15:52:35 +00:00
|
|
|
["rail","path","track","footway"],
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"funicular",
|
|
|
|
"rgba(243,243,246,0)",
|
|
|
|
"rgb(243,243,246)"
|
|
|
|
],
|
|
|
|
"rgb(255,255,255)"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
7,
|
|
|
|
["literal",0],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
0.5,
|
|
|
|
2
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
10,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
2.75
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
|
|
|
2.75,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
],
|
|
|
|
11,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
2.75
|
|
|
|
],
|
|
|
|
["trunk"],
|
|
|
|
2.75,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
2
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
3.75
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
3.75,
|
|
|
|
3.75
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3.75,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["secondary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3.25,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["tertiary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
2.25,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["minor","path","track","footway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
2,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
2.75,
|
|
|
|
4.25
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
4.25,
|
|
|
|
4.25
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
4.25,
|
|
|
|
["secondary"],
|
|
|
|
3.75,
|
|
|
|
["tertiary"],
|
|
|
|
2.75,
|
|
|
|
["minor"],
|
|
|
|
1.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
5,
|
|
|
|
6.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
6.5,
|
|
|
|
7.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
7.5,
|
|
|
|
["secondary"],
|
|
|
|
6.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["tertiary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
5.5,
|
|
|
|
["minor"],
|
|
|
|
3.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["transit","track","path","footway"],
|
2021-03-05 20:04:52 +00:00
|
|
|
2.5,
|
|
|
|
2.5
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
8.5,
|
|
|
|
10.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
10.5,
|
|
|
|
13.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
13.5,
|
|
|
|
["secondary"],
|
|
|
|
11.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["tertiary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
9.5,
|
|
|
|
["minor"],
|
|
|
|
7.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["transit","track","path","footway"],
|
2021-03-05 20:04:52 +00:00
|
|
|
6.5,
|
|
|
|
6.5
|
|
|
|
],
|
|
|
|
20,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
117,
|
|
|
|
["secondary"],
|
|
|
|
112,
|
|
|
|
["tertiary"],
|
|
|
|
107,
|
|
|
|
["minor"],
|
|
|
|
97,
|
|
|
|
92
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": 1
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","layer",1],
|
|
|
|
["!in","class","ferry","cable_car","gondola"],
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","subclass","covered_bridge"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bridge-l1_road_track",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 14.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
3,
|
|
|
|
15,
|
|
|
|
0.4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-color": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"stops": [
|
|
|
|
[9,"rgba(80, 80, 80, 1)"],
|
|
|
|
[15,"rgba(90, 90, 90, 1)"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
13,
|
|
|
|
0.5,
|
2021-03-05 20:04:52 +00:00
|
|
|
15,
|
|
|
|
1.1,
|
|
|
|
16,
|
|
|
|
1.1,
|
|
|
|
18,
|
|
|
|
2,
|
|
|
|
20,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-offset": 0,
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
0.5,
|
|
|
|
14,
|
|
|
|
1
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"maputnik:comment": "casing color for motorway is brown"
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","class","track"],
|
|
|
|
["==","layer",1],
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","subclass","covered_bridge"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-06 15:52:35 +00:00
|
|
|
"id": "bridge-l1_road_path_footway",
|
2021-03-05 20:04:52 +00:00
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "bevel",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
15,
|
|
|
|
0.1,
|
|
|
|
20,
|
|
|
|
0.4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-color": "rgba(115, 115, 115, 1)",
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
13,
|
|
|
|
0.5,
|
2021-03-05 20:04:52 +00:00
|
|
|
15,
|
|
|
|
1.1,
|
|
|
|
20,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
0.5,
|
|
|
|
14,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"line-dasharray": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[6,2]
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[9,3]
|
|
|
|
],
|
|
|
|
17,
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[12,4]
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[15,5]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","path","footway"],
|
|
|
|
["==","layer",1],
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","subclass","covered_bridge"]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bridge-l1_public_transport",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
|
|
|
"minzoom": 10.0,
|
|
|
|
"layout": {
|
|
|
|
"line-cap": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
2.5,
|
|
|
|
0.6
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.6
|
|
|
|
],
|
|
|
|
0.6
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
2.5,
|
|
|
|
0.6
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.6
|
|
|
|
],
|
|
|
|
0.6
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
0.4
|
|
|
|
],
|
|
|
|
"line-color": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"stops": [
|
|
|
|
[7,"rgba(255, 50, 50, 1)"],
|
|
|
|
[15,"rgba(255, 80, 80, 1)"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0.2,
|
|
|
|
0.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.2
|
|
|
|
],
|
|
|
|
0.2
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0.1,
|
|
|
|
1
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
1
|
|
|
|
],
|
|
|
|
["cable_car"],
|
|
|
|
1,
|
|
|
|
0.75
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
1.5,
|
|
|
|
2
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
2
|
|
|
|
],
|
|
|
|
["cable_car"],
|
|
|
|
2,
|
|
|
|
1.5
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
0,
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail","funicular"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14.5,
|
|
|
|
1
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","layer",1],
|
|
|
|
["in","class","rail","transit"],
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","subclass","covered_bridge"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bridge-l2_road_casing",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 7.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
7,
|
|
|
|
3,
|
|
|
|
8,
|
|
|
|
0.4,
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
2,
|
|
|
|
0.4
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
"track",
|
|
|
|
2,
|
|
|
|
0.4
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
0.4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-color": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.7],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(170, 136, 30)",
|
|
|
|
"rgb(80, 80, 80)"
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(139, 107, 63)",
|
|
|
|
"rgb(90, 90, 90)"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
7,
|
|
|
|
["literal",0],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
3
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
10,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
2.5,
|
|
|
|
4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
|
|
|
4,
|
|
|
|
3
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
11,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
2.5,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
["trunk"],
|
|
|
|
4,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
3
|
|
|
|
]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
3,
|
|
|
|
5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
5,
|
|
|
|
5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
5,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["secondary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
4.5,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["tertiary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3.25,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["track"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
0.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["minor"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[11],
|
|
|
|
0.75,
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
3.5,
|
|
|
|
5.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
5.5,
|
|
|
|
5.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
5.5,
|
|
|
|
["secondary"],
|
|
|
|
5,
|
|
|
|
["tertiary"],
|
|
|
|
4,
|
|
|
|
["minor"],
|
|
|
|
3,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
6.5,
|
|
|
|
8
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
8,
|
|
|
|
9
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
9,
|
|
|
|
["secondary"],
|
|
|
|
8,
|
|
|
|
["tertiary"],
|
|
|
|
7,
|
|
|
|
["minor"],
|
|
|
|
5,
|
|
|
|
["track"],
|
|
|
|
1.1,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
10,
|
|
|
|
12
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
12,
|
|
|
|
15
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
15,
|
|
|
|
["secondary"],
|
|
|
|
13,
|
|
|
|
["tertiary"],
|
|
|
|
11,
|
|
|
|
["minor"],
|
|
|
|
9,
|
|
|
|
["track"],
|
|
|
|
1.1,
|
|
|
|
8
|
|
|
|
],
|
|
|
|
20,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
120,
|
|
|
|
["secondary"],
|
|
|
|
115,
|
|
|
|
["tertiary"],
|
|
|
|
110,
|
|
|
|
["minor"],
|
|
|
|
100,
|
|
|
|
["track"],
|
|
|
|
3,
|
|
|
|
95
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-offset": 0,
|
|
|
|
"line-opacity": 1
|
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"maputnik:comment": "casing color for motorway is brown"
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[">","layer",1],
|
|
|
|
["!in","class","rail","ferry","path","track","footway","transit","cable_car","gondola"],
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","subclass","covered_bridge"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bridge-l2_fill",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 7.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": {
|
|
|
|
"stops": [
|
|
|
|
[8,0.4],
|
|
|
|
[14,0.1]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-color": [
|
|
|
|
"interpolate",
|
|
|
|
["exponential",1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(255,230,160)",
|
2022-08-06 15:52:35 +00:00
|
|
|
["rail","path","track","footway"],
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"funicular",
|
|
|
|
"rgba(243,243,246,0)",
|
|
|
|
"rgb(243,243,246)"
|
|
|
|
],
|
|
|
|
"rgb(255,255,255)",
|
|
|
|
"rgb(243,243,246)",
|
|
|
|
"rgb(255,255,255)"
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgb(255, 224, 138)",
|
2022-08-06 15:52:35 +00:00
|
|
|
["rail","path","track","footway"],
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"funicular",
|
|
|
|
"rgba(243,243,246,0)",
|
|
|
|
"rgb(243,243,246)"
|
|
|
|
],
|
|
|
|
"rgb(255,255,255)"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
7,
|
|
|
|
["literal",0],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
0.5,
|
|
|
|
2
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
10,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
2.75
|
|
|
|
],
|
|
|
|
["trunk"],
|
|
|
|
2.75,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
],
|
|
|
|
11,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
2.75
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
|
|
|
2.75,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
11,
|
|
|
|
0,
|
|
|
|
2
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
1.5,
|
|
|
|
3.75
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
3.75,
|
|
|
|
3.75
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3.75,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["secondary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
3.25,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["tertiary"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
2.25,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
["minor","path","track","footway"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","is_route"],
|
|
|
|
[5,6,7,8,9,10,99],
|
|
|
|
2,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
2.75,
|
|
|
|
4.25
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
4.25,
|
|
|
|
4.25
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
4.25,
|
|
|
|
["secondary"],
|
|
|
|
3.75,
|
|
|
|
["tertiary"],
|
|
|
|
2.75,
|
|
|
|
["minor"],
|
|
|
|
1.75,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
5,
|
|
|
|
6.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
6.5,
|
|
|
|
7.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
7.5,
|
|
|
|
["secondary"],
|
|
|
|
6.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["tertiary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
5.5,
|
|
|
|
["minor"],
|
|
|
|
3.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["transit","track","path"],
|
2021-03-05 20:04:52 +00:00
|
|
|
2.5,
|
|
|
|
2.5
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["motorway"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","ramp"],
|
|
|
|
1,
|
|
|
|
8.5,
|
|
|
|
10.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["trunk"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","oneway"],
|
|
|
|
1,
|
|
|
|
10.5,
|
|
|
|
13.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
["primary"],
|
|
|
|
13.5,
|
|
|
|
["secondary"],
|
|
|
|
11.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["tertiary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
9.5,
|
|
|
|
["minor"],
|
|
|
|
7.5,
|
2022-08-06 15:52:35 +00:00
|
|
|
["transit","track","path"],
|
2021-03-05 20:04:52 +00:00
|
|
|
6.5,
|
|
|
|
6.5
|
|
|
|
],
|
|
|
|
20,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk","primary","rail"],
|
2021-03-05 20:04:52 +00:00
|
|
|
117,
|
|
|
|
["secondary"],
|
|
|
|
112,
|
|
|
|
["tertiary"],
|
|
|
|
107,
|
|
|
|
["minor"],
|
|
|
|
97,
|
|
|
|
92
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": 1
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[">","layer",1],
|
|
|
|
["!in","class","ferry","cable_car","gondola"],
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","subclass","covered_bridge"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bridge-l2_road_track",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 14.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
3,
|
|
|
|
15,
|
|
|
|
0.4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-color": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"stops": [
|
|
|
|
[9,"rgba(80, 80, 80, 1)"],
|
|
|
|
[15,"rgba(90, 90, 90, 1)"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",2],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
13,
|
|
|
|
0.5,
|
2021-03-05 20:04:52 +00:00
|
|
|
15,
|
|
|
|
1.1,
|
|
|
|
16,
|
|
|
|
1.1,
|
|
|
|
18,
|
|
|
|
2,
|
|
|
|
20,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-offset": 0,
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
0.5,
|
|
|
|
14,
|
|
|
|
1
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"maputnik:comment": "casing color for motorway is brown"
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[">","layer",1],
|
|
|
|
["==","class","track"],
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","subclass","covered_bridge"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-06 15:52:35 +00:00
|
|
|
"id": "bridge-l2_road_path_footway",
|
2021-03-05 20:04:52 +00:00
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"line-cap": "butt",
|
|
|
|
"line-join": "bevel",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
15,
|
|
|
|
0.1,
|
|
|
|
20,
|
|
|
|
0.4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"line-color": "rgba(115, 115, 115, 1)",
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
13,
|
|
|
|
0.5,
|
2021-03-05 20:04:52 +00:00
|
|
|
15,
|
|
|
|
1.1,
|
|
|
|
20,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
0.5,
|
|
|
|
14,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"line-dasharray": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[6,2]
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[9,3]
|
|
|
|
],
|
|
|
|
17,
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[12,4]
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[15,5]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[">","layer",1],
|
|
|
|
["in","class","path","footway"],
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","subclass","covered_bridge"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bridge-l2_public_transport",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 10.0,
|
|
|
|
"layout": {
|
|
|
|
"line-cap": "round",
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
|
|
|
"line-blur": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
2.5,
|
|
|
|
0.6
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.6
|
|
|
|
],
|
|
|
|
0.6
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
2.5,
|
|
|
|
0.6
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.6
|
|
|
|
],
|
|
|
|
0.6
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
0.4
|
|
|
|
],
|
|
|
|
"line-color": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"stops": [
|
|
|
|
[7,"rgba(255, 50, 50, 1)"],
|
|
|
|
[15,"rgba(255, 80, 80, 1)"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"line-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0.2,
|
|
|
|
0.5
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
0.2
|
|
|
|
],
|
|
|
|
0.2
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0.1,
|
|
|
|
1
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
1
|
|
|
|
],
|
|
|
|
["cable_car"],
|
|
|
|
1,
|
|
|
|
0.75
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
1.5,
|
|
|
|
2
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
2
|
|
|
|
],
|
|
|
|
["cable_car"],
|
|
|
|
2,
|
|
|
|
1.5
|
|
|
|
]
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
0,
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rail"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
["rail","narrow_gauge","rack_rail","funicular"],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","service"],
|
|
|
|
["yard","siding"],
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14.5,
|
|
|
|
1
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[">","layer",1],
|
|
|
|
["in","class","rail","transit","cable_car","gondola"],
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","subclass","covered_bridge"]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "spot_elevation",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "spot_elevation",
|
|
|
|
"minzoom": 14.0,
|
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Regular"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
10.5,
|
|
|
|
18,
|
|
|
|
13
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-image": [
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["spot_elevation","terrain_spot_elevation"],
|
|
|
|
"dot_dark_grey_3",
|
|
|
|
""
|
|
|
|
],
|
|
|
|
"text-field": ["get","ele"],
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-offset": [0,0],
|
|
|
|
"icon-rotate": 0,
|
|
|
|
"text-anchor": "center",
|
|
|
|
"icon-padding": 30,
|
|
|
|
"icon-optional": false,
|
|
|
|
"text-optional": false,
|
|
|
|
"symbol-placement": "point",
|
|
|
|
"text-line-height": 0.9,
|
|
|
|
"text-keep-upright": false,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-radial-offset": 0.3,
|
|
|
|
"text-variable-anchor": [
|
|
|
|
"literal",
|
|
|
|
["bottom-left","top-left","bottom-right","top-right"]
|
|
|
|
],
|
|
|
|
"text-ignore-placement": false
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"icon-color": "#000000",
|
|
|
|
"text-color": "rgba(80, 80, 80, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-opacity": 0.8,
|
|
|
|
"text-opacity": ["literal",1],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
1.5,
|
|
|
|
18,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
2022-08-06 15:52:35 +00:00
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["!in","class","doline","lake_elevation","sinkhole","sinkhole_rock","sinkhole_scree","sinkhole_water","sinkhole_ice"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "waterway_line_label",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "waterway",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 9.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["exponential",1.5],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
10.5,
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"to-string",
|
|
|
|
["get","width"]
|
|
|
|
],
|
|
|
|
["9","10"],
|
2021-03-05 20:04:52 +00:00
|
|
|
18,
|
2022-08-06 15:52:35 +00:00
|
|
|
["7","8"],
|
2021-03-05 20:04:52 +00:00
|
|
|
17,
|
2022-08-06 15:52:35 +00:00
|
|
|
["5","6"],
|
2021-03-05 20:04:52 +00:00
|
|
|
16,
|
|
|
|
"4",
|
|
|
|
15,
|
|
|
|
"3",
|
|
|
|
14,
|
|
|
|
"2",
|
|
|
|
13,
|
|
|
|
"1",
|
|
|
|
12,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["river","canal"],
|
|
|
|
18,
|
|
|
|
14
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"text-field": ["get","name:latin"],
|
|
|
|
"text-padding": 0,
|
|
|
|
"symbol-spacing": 650,
|
|
|
|
"symbol-z-order": "auto",
|
|
|
|
"text-max-width": 9999,
|
|
|
|
"symbol-placement": "line",
|
|
|
|
"text-keep-upright": true,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-letter-spacing": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
0.1,
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["river"],
|
|
|
|
0.4,
|
|
|
|
0.2
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-pitch-alignment": "map",
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "map"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-color": "rgb(20, 136, 205)",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": 2
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["!=","intermittent",1]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "transportation_label",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation_name",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 13.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-font": ["Frutiger Neue Condensed Regular"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["exponential",1.5],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
|
|
|
11,
|
|
|
|
10.5
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["motorway","trunk"],
|
|
|
|
18,
|
|
|
|
16
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-field": "{name:latin}",
|
|
|
|
"visibility": "visible",
|
|
|
|
"text-anchor": "center",
|
|
|
|
"text-offset": [0,0],
|
|
|
|
"text-padding": 2,
|
2021-03-05 20:04:52 +00:00
|
|
|
"symbol-spacing": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
15,
|
|
|
|
200,
|
|
|
|
18,
|
|
|
|
400
|
|
|
|
],
|
|
|
|
"symbol-z-order": "auto",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-max-angle": 40,
|
|
|
|
"text-transform": "none",
|
|
|
|
"symbol-placement": "line",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-keep-upright": true,
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-avoid-edges": true,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-letter-spacing": 0.1,
|
|
|
|
"text-pitch-alignment": "map",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-rotation-alignment": "map"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["rail","transit","cable_car","gondola","chair_lift"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgba(255, 50, 50, 1)",
|
|
|
|
"rgba(60, 60, 70, 1)"
|
|
|
|
],
|
|
|
|
"text-halo-blur": 0.2,
|
|
|
|
"text-halo-color": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["rail","transit","cable_car","gondola","chair_lift","motorway","trunk"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgba(255, 255, 255, 0.6)",
|
|
|
|
"rgba(255, 255, 255, 0.8)"
|
|
|
|
],
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["rail","transit","cable_car","gondola","chair_lift"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1,
|
|
|
|
1.5
|
|
|
|
],
|
|
|
|
20,
|
|
|
|
3
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","$type","LineString"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "aerialway",
|
|
|
|
"type": "line",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 12.0,
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible"
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"line-blur": 0.25,
|
|
|
|
"line-color": {
|
|
|
|
"stops": [
|
|
|
|
[7,"rgba(255, 50, 50, 1)"],
|
|
|
|
[15,"rgba(255, 80, 80, 1)"]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"line-width": [
|
2021-03-05 20:04:52 +00:00
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
2022-08-06 15:52:35 +00:00
|
|
|
0.2,
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["cable_car"],
|
|
|
|
1,
|
|
|
|
0.75
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
18,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["cable_car"],
|
|
|
|
2,
|
|
|
|
1.5
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
"line-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
0,
|
|
|
|
13,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["cable_car","gondola"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["cable_car","gondola","chair_lift"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","cable_car","gondola","chair_lift"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "road_number",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "transportation_name",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Condensed Bold"],
|
|
|
|
"text-size": 10.5,
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-image": "box_white_grey_casing_{ref_length}",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-field": ["get","ref"],
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-offset": [0,-1.3],
|
|
|
|
"text-anchor": "center",
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-padding": 2,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-justify": "center",
|
|
|
|
"icon-optional": false,
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-text-fit": "none",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-optional": false,
|
|
|
|
"symbol-spacing": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
300,
|
|
|
|
10,
|
|
|
|
600,
|
|
|
|
14,
|
|
|
|
800
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"symbol-z-order": "auto",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-placement": "line",
|
|
|
|
"icon-keep-upright": false,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-keep-upright": true,
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-allow-overlap": false,
|
|
|
|
"symbol-avoid-edges": false,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-letter-spacing": 0,
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-pitch-alignment": "viewport",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-pitch-alignment": "viewport",
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-ignore-placement": false,
|
|
|
|
"icon-rotation-alignment": "viewport",
|
|
|
|
"text-rotation-alignment": "viewport"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(64, 64, 64, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-opacity": 1,
|
|
|
|
"text-opacity": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 0,
|
|
|
|
"text-halo-color": "rgba(0, 0, 0, 0)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-halo-width": 0
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","motorway","trunk","primary"],
|
|
|
|
["has","ref"],
|
|
|
|
["<=","ref_length",12],
|
|
|
|
["==","$type","LineString"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "area_name_glacier_point_label",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "area_name",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 14.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
16,
|
|
|
|
20
|
|
|
|
],
|
|
|
|
"text-field": "{name:latin}",
|
|
|
|
"symbol-spacing": {
|
|
|
|
"stops": [
|
|
|
|
[12,250],
|
|
|
|
[14,550]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symbol-z-order": "auto",
|
|
|
|
"text-max-width": 99999,
|
|
|
|
"symbol-placement": "point",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-keep-upright": true,
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-avoid-edges": true,
|
|
|
|
"text-allow-overlap": false,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-letter-spacing": 0.15,
|
|
|
|
"text-pitch-alignment": "map",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "map"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(55, 146, 201, 1)",
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": 1
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","$type","Point"],
|
|
|
|
["in","subclass","glacier"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "area_name_glacier_line_label",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "area_name",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 12.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
16,
|
|
|
|
20
|
|
|
|
],
|
|
|
|
"text-field": "{name:latin}",
|
|
|
|
"symbol-spacing": {
|
|
|
|
"stops": [
|
|
|
|
[12,250],
|
|
|
|
[14,550]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symbol-z-order": "auto",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-max-width": 99999,
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-placement": "line-center",
|
|
|
|
"text-keep-upright": true,
|
|
|
|
"symbol-avoid-edges": true,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-letter-spacing": {
|
|
|
|
"stops": [
|
|
|
|
[10,0.15],
|
|
|
|
[12,0.3]
|
|
|
|
]
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-pitch-alignment": "map",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "map"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(55, 146, 201, 1)",
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": 1
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","$type","LineString"],
|
|
|
|
["in","subclass","glacier"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "poi_rank3",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "poi",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 15.0,
|
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Condensed Regular"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
12,
|
|
|
|
18,
|
|
|
|
18
|
|
|
|
],
|
|
|
|
"icon-image": [
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
["tram_stop","bus_stop","halt","aerialway_station","elevator","subway_entrance"],
|
|
|
|
"dot_red",
|
|
|
|
"waterfall",
|
|
|
|
"waterfall_blue",
|
|
|
|
"observation_tower",
|
|
|
|
"observation_tower_grey",
|
|
|
|
["survey_point","surveying_pyramid"],
|
|
|
|
"dot_dark_grey_4",
|
|
|
|
""
|
|
|
|
],
|
|
|
|
"text-field": ["get","name:latin"],
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-rotate": [
|
|
|
|
"to-number",
|
|
|
|
["get","direction"]
|
|
|
|
],
|
|
|
|
"text-anchor": [
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
["halt","tram_stop","bus_stop","aerialway_station","elevator","subway_entrance","survey_point","surveying_pyramid"],
|
|
|
|
"bottom-left",
|
|
|
|
["waterfall","observation_tower"],
|
|
|
|
"left",
|
|
|
|
"center"
|
|
|
|
],
|
|
|
|
"text-offset": [
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
"observation_tower",
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0.5,0.2]
|
|
|
|
],
|
|
|
|
"waterfall",
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0.5,0.1]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0.4,0.1]
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-justify": "left",
|
|
|
|
"text-padding": 2,
|
|
|
|
"icon-optional": false,
|
|
|
|
"text-optional": true,
|
|
|
|
"text-max-width": 10,
|
|
|
|
"icon-allow-overlap": false,
|
|
|
|
"icon-ignore-placement": false,
|
|
|
|
"icon-rotation-alignment": "map"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": [
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
["halt","tram_stop","bus_stop","aerialway_station","elevator","subway_entrance"],
|
|
|
|
"rgba(255, 50, 50, 1)",
|
|
|
|
"waterfall",
|
|
|
|
"rgba(20, 136, 205, 1)",
|
|
|
|
"rgba(48, 48, 48, 1)"
|
|
|
|
],
|
|
|
|
"icon-opacity": [
|
|
|
|
"case",
|
|
|
|
["has","name"],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
"college",
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
1,
|
|
|
|
17,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"allottments",
|
2022-08-06 15:52:35 +00:00
|
|
|
"antenna_area",
|
2021-03-05 20:04:52 +00:00
|
|
|
"attraction",
|
|
|
|
"aerialway",
|
|
|
|
"bus",
|
|
|
|
"building",
|
|
|
|
"cave",
|
2022-08-06 15:52:35 +00:00
|
|
|
"driving_centre",
|
|
|
|
"elevator",
|
2021-03-05 20:04:52 +00:00
|
|
|
"entrance",
|
|
|
|
"garden",
|
|
|
|
"place_of_worship",
|
|
|
|
"railway",
|
|
|
|
"survey_point",
|
|
|
|
"tower",
|
|
|
|
"wastewater_plant",
|
|
|
|
"waterfall"
|
|
|
|
],
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
2022-08-06 15:52:35 +00:00
|
|
|
"aerialway_station",
|
2021-03-05 20:04:52 +00:00
|
|
|
"allottments",
|
2022-08-06 15:52:35 +00:00
|
|
|
"antenna_area",
|
2021-03-05 20:04:52 +00:00
|
|
|
"attraction",
|
|
|
|
"bus_stop",
|
|
|
|
"cave",
|
|
|
|
"building",
|
2022-08-06 15:52:35 +00:00
|
|
|
"elevator",
|
2021-03-05 20:04:52 +00:00
|
|
|
"garden",
|
|
|
|
"halt",
|
2022-08-06 15:52:35 +00:00
|
|
|
"observation_tower",
|
|
|
|
"observatory",
|
2021-03-05 20:04:52 +00:00
|
|
|
"subway_entrance",
|
|
|
|
"survey_point",
|
2022-08-06 15:52:35 +00:00
|
|
|
"surveying_pyramid",
|
|
|
|
"tower",
|
2021-03-05 20:04:52 +00:00
|
|
|
"tram_stop",
|
|
|
|
"wastewater_plant",
|
|
|
|
"waterfall",
|
|
|
|
""
|
|
|
|
],
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "poi_rank2",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "poi",
|
|
|
|
"minzoom": 13.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Condensed Regular"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
12,
|
|
|
|
18,
|
|
|
|
18
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
|
|
|
"icon-image": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"church_tower",
|
|
|
|
"dot_circle_dark_grey_8",
|
2022-08-06 15:52:35 +00:00
|
|
|
["golf_course","golf"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"golf_grey",
|
2022-08-06 15:52:35 +00:00
|
|
|
["ferry","ferry_terminal"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"dot_blue",
|
|
|
|
"funicular_stop",
|
|
|
|
"dot_red",
|
|
|
|
"wind_turbine",
|
|
|
|
"windturbine_grey",
|
|
|
|
"communications_tower",
|
|
|
|
"communications_tower_grey",
|
|
|
|
""
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["camp_site","caravan_site"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"camping_grey",
|
|
|
|
"church_tower",
|
|
|
|
"dot_circle_dark_grey_10",
|
2022-08-06 15:52:35 +00:00
|
|
|
["golf_course","golf"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"golf_grey",
|
2022-08-06 15:52:35 +00:00
|
|
|
["ferry","ferry_terminal"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"dot_blue",
|
|
|
|
"funicular_stop",
|
|
|
|
"dot_red",
|
|
|
|
"wind_turbine",
|
|
|
|
"windturbine_grey",
|
|
|
|
"communications_tower",
|
|
|
|
"communications_tower_grey",
|
|
|
|
""
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["camp_site","caravan_site"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"camping_grey",
|
|
|
|
"church_tower",
|
|
|
|
"dot_circle_dark_grey_12",
|
2022-08-06 15:52:35 +00:00
|
|
|
["golf_course","golf"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"golf_grey",
|
2022-08-06 15:52:35 +00:00
|
|
|
["ferry","ferry_terminal"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"dot_blue",
|
|
|
|
"funicular_stop",
|
|
|
|
"dot_red",
|
|
|
|
"hospital",
|
|
|
|
"hospital_grey",
|
|
|
|
"wind_turbine",
|
|
|
|
"windturbine_grey",
|
|
|
|
"communications_tower",
|
|
|
|
"communications_tower_grey",
|
|
|
|
""
|
|
|
|
]
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-field": ["get","name:latin"],
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-offset": [0,0],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-anchor": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["monastery"],
|
|
|
|
"left",
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["caravan_site","camp_site","church_tower","golf_course","golf","hospital","communications_tower"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"left",
|
2022-08-06 15:52:35 +00:00
|
|
|
["ferry","ferry_terminal","funicular_stop"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"bottom-left",
|
|
|
|
"center"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-offset": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
["ferry","ferry_terminal","funicular_stop"],
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0.4,0.1]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0.8,0.1]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-justify": "left",
|
|
|
|
"icon-optional": false,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-optional": true,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-max-width": 10,
|
|
|
|
"icon-allow-overlap": false,
|
|
|
|
"text-letter-spacing": [
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["park"],
|
|
|
|
0.05,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"icon-ignore-placement": false
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-color": [
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
["ferry","ferry_terminal"],
|
|
|
|
"rgba(20, 136, 205, 1)",
|
|
|
|
"funicular_stop",
|
|
|
|
"rgba(255, 50, 50, 1)",
|
|
|
|
"weir",
|
|
|
|
"rgba(20, 136, 205, 1)",
|
|
|
|
"rgba(48, 48, 48, 1)"
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
13,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
"wind_turbine",
|
|
|
|
0,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["place_of_worship"],
|
|
|
|
1,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"wind_turbine",
|
|
|
|
"caravan_site",
|
|
|
|
"camp_site",
|
2022-08-06 15:52:35 +00:00
|
|
|
"ferry",
|
2021-03-05 20:04:52 +00:00
|
|
|
"ferry_terminal",
|
|
|
|
"funicular_stop",
|
|
|
|
"golf_course",
|
|
|
|
"golf",
|
|
|
|
"cemetery",
|
|
|
|
"stadium",
|
|
|
|
"park"
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
]
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
|
|
|
["ferry","ferry_terminal","funicular","golf","golf_course","cemetery","ruins","stadium","park","pitch"],
|
2021-03-05 20:04:52 +00:00
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"campsite",
|
2022-08-06 15:52:35 +00:00
|
|
|
"ferry",
|
2021-03-05 20:04:52 +00:00
|
|
|
"ferry_terminal",
|
|
|
|
"funicular",
|
|
|
|
"golf",
|
|
|
|
"golf_course",
|
|
|
|
"cemetery",
|
|
|
|
"stadium",
|
|
|
|
"park",
|
|
|
|
"pitch",
|
|
|
|
"place_of_worship",
|
|
|
|
"sports_centre",
|
|
|
|
"zoo"
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
[
|
|
|
|
"campsite",
|
2022-08-06 15:52:35 +00:00
|
|
|
"ferry",
|
2021-03-05 20:04:52 +00:00
|
|
|
"ferry_terminal",
|
|
|
|
"funicular",
|
|
|
|
"golf",
|
|
|
|
"golf_course",
|
|
|
|
"cemetery",
|
|
|
|
"stadium",
|
|
|
|
"park",
|
|
|
|
"pitch",
|
|
|
|
"place_of_worship",
|
|
|
|
"sports_centre",
|
|
|
|
"zoo"
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
17,
|
|
|
|
1
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
1,
|
|
|
|
17,
|
|
|
|
2
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"any",
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
[
|
|
|
|
"cemetery",
|
|
|
|
"dam",
|
|
|
|
"ferry_terminal",
|
|
|
|
"funicular",
|
|
|
|
"attraction",
|
|
|
|
"fuel",
|
|
|
|
"golf",
|
|
|
|
"golf_course",
|
|
|
|
"horse_racing",
|
|
|
|
"military",
|
|
|
|
"monastery",
|
|
|
|
"park",
|
|
|
|
"pitch",
|
|
|
|
"prison",
|
|
|
|
"ruins",
|
|
|
|
"sports_centre",
|
|
|
|
"stadium",
|
|
|
|
"swimming_pool",
|
|
|
|
"power",
|
|
|
|
"weir",
|
|
|
|
"zoo"
|
|
|
|
],
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","subclass"],
|
|
|
|
["church_tower","camp_site","communications_tower"],
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "peaks_other",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "mountain_peak",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 15.0,
|
|
|
|
"maxzoom": 24.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
13,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
12,
|
|
|
|
11
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
23,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
22,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
21,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-image": "dot_dark_grey_3",
|
|
|
|
"text-field": [
|
|
|
|
"format",
|
|
|
|
["get","name:latin"],
|
|
|
|
{},
|
|
|
|
"\n",
|
|
|
|
{},
|
|
|
|
["get","ele"],
|
|
|
|
{
|
|
|
|
"font-scale": 0.75
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-anchor": "center",
|
|
|
|
"icon-offset": [0,0],
|
|
|
|
"text-anchor": "center",
|
|
|
|
"text-offset": [0,0],
|
|
|
|
"icon-padding": 0,
|
|
|
|
"text-justify": "auto",
|
|
|
|
"text-padding": 2,
|
|
|
|
"icon-optional": false,
|
|
|
|
"text-optional": false,
|
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 8,
|
|
|
|
"symbol-placement": "point",
|
|
|
|
"text-line-height": 1.15,
|
|
|
|
"icon-allow-overlap": false,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-radial-offset": 0.3,
|
|
|
|
"text-letter-spacing": 0.025,
|
|
|
|
"icon-pitch-alignment": "auto",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-variable-anchor": [
|
|
|
|
"literal",
|
2022-08-06 15:52:35 +00:00
|
|
|
["bottom-left","top-left","bottom-right","top-right"]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-ignore-placement": false,
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"icon-rotation-alignment": "auto"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"icon-color": "rgba(0, 0, 0, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-color": "rgba(48, 48, 48, 1)",
|
|
|
|
"icon-opacity": 1,
|
|
|
|
"text-opacity": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-halo-blur": 0,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-halo-blur": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-halo-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"icon-halo-width": 0,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
1.5,
|
|
|
|
18,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
["rocky_knoll","saddle"],
|
|
|
|
true,
|
|
|
|
false
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-06 15:52:35 +00:00
|
|
|
"id": "peaks_rank5",
|
2021-03-05 20:04:52 +00:00
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "mountain_peak",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 13.0,
|
|
|
|
"maxzoom": 24.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
13,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
12,
|
|
|
|
11
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
23,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
22,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
21,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-image": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
"",
|
|
|
|
10,
|
|
|
|
"dot_dark_grey_4",
|
|
|
|
14,
|
|
|
|
"dot_dark_grey_6",
|
|
|
|
18,
|
|
|
|
"dot_dark_grey_8"
|
|
|
|
],
|
|
|
|
"text-field": [
|
|
|
|
"format",
|
|
|
|
["get","name:latin"],
|
|
|
|
{},
|
|
|
|
"\n",
|
|
|
|
{},
|
|
|
|
["get","ele"],
|
|
|
|
{
|
|
|
|
"font-scale": 0.75
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-anchor": "center",
|
|
|
|
"icon-offset": [0,0],
|
|
|
|
"text-anchor": "bottom",
|
|
|
|
"text-offset": [0,0],
|
|
|
|
"icon-padding": 0,
|
|
|
|
"text-justify": "auto",
|
|
|
|
"text-padding": 2,
|
|
|
|
"icon-optional": false,
|
|
|
|
"text-optional": false,
|
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 8,
|
|
|
|
"symbol-placement": "point",
|
|
|
|
"text-line-height": 1.15,
|
|
|
|
"icon-allow-overlap": false,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-radial-offset": 0.3,
|
|
|
|
"text-letter-spacing": 0.025,
|
|
|
|
"icon-pitch-alignment": "auto",
|
|
|
|
"icon-ignore-placement": false,
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"icon-rotation-alignment": "auto"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"icon-color": "rgba(0, 0, 0, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-color": "rgba(48, 48, 48, 1)",
|
|
|
|
"icon-opacity": 1,
|
|
|
|
"text-opacity": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-halo-blur": 0,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-halo-blur": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-halo-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"icon-halo-width": 0,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
1.5,
|
|
|
|
18,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
[">=","rank",5],
|
|
|
|
["!in","class","rocky_knoll","saddle","mountain_pass"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-06 15:52:35 +00:00
|
|
|
"id": "peaks_rank4",
|
2021-03-05 20:04:52 +00:00
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "mountain_peak",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 12.0,
|
|
|
|
"maxzoom": 24.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
13,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
12,
|
|
|
|
11
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
23,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
22,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
21,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-image": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
"",
|
|
|
|
10,
|
|
|
|
"dot_dark_grey_4",
|
|
|
|
14,
|
|
|
|
"dot_dark_grey_6",
|
|
|
|
18,
|
|
|
|
"dot_dark_grey_8"
|
|
|
|
],
|
|
|
|
"text-field": [
|
|
|
|
"format",
|
|
|
|
["get","name:latin"],
|
|
|
|
{},
|
|
|
|
"\n",
|
|
|
|
{},
|
|
|
|
["get","ele"],
|
|
|
|
{
|
|
|
|
"font-scale": 0.75
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-anchor": "center",
|
|
|
|
"icon-offset": [0,0],
|
|
|
|
"text-anchor": "bottom",
|
|
|
|
"text-offset": [0,0],
|
|
|
|
"icon-padding": 0,
|
|
|
|
"text-justify": "auto",
|
|
|
|
"text-padding": 2,
|
|
|
|
"icon-optional": false,
|
|
|
|
"text-optional": false,
|
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 8,
|
|
|
|
"symbol-placement": "point",
|
|
|
|
"text-line-height": 1.15,
|
|
|
|
"icon-allow-overlap": false,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-radial-offset": 0.3,
|
|
|
|
"text-letter-spacing": 0.025,
|
|
|
|
"icon-pitch-alignment": "auto",
|
|
|
|
"icon-ignore-placement": false,
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"icon-rotation-alignment": "auto"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"icon-color": "rgba(0, 0, 0, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-color": "rgba(48, 48, 48, 1)",
|
|
|
|
"icon-opacity": 1,
|
|
|
|
"text-opacity": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-halo-blur": 0,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-halo-blur": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-halo-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"icon-halo-width": 0,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
1.5,
|
|
|
|
18,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","rank",4],
|
|
|
|
["!in","class","rocky_knoll","saddle","mountain_pass"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-06 15:52:35 +00:00
|
|
|
"id": "peaks_rank3",
|
2021-03-05 20:04:52 +00:00
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "mountain_peak",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
|
|
|
"maxzoom": 24.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
13,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
12,
|
|
|
|
11
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"case",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
23,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
22,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
21,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-image": [
|
2021-03-05 20:04:52 +00:00
|
|
|
"step",
|
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"",
|
2021-03-05 20:04:52 +00:00
|
|
|
10,
|
2022-08-06 15:52:35 +00:00
|
|
|
"dot_dark_grey_4",
|
|
|
|
14,
|
|
|
|
"dot_dark_grey_6",
|
|
|
|
18,
|
|
|
|
"dot_dark_grey_8"
|
|
|
|
],
|
|
|
|
"text-field": [
|
|
|
|
"format",
|
|
|
|
["get","name:latin"],
|
|
|
|
{},
|
|
|
|
"\n",
|
|
|
|
{},
|
|
|
|
["get","ele"],
|
|
|
|
{
|
|
|
|
"font-scale": 0.75
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-anchor": "center",
|
|
|
|
"icon-offset": [0,0],
|
|
|
|
"text-anchor": "bottom",
|
|
|
|
"text-offset": [0,0],
|
|
|
|
"icon-padding": 0,
|
|
|
|
"text-justify": "auto",
|
|
|
|
"text-padding": 2,
|
|
|
|
"icon-optional": false,
|
|
|
|
"text-optional": false,
|
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 8,
|
|
|
|
"symbol-placement": "point",
|
|
|
|
"text-line-height": 1.15,
|
|
|
|
"icon-allow-overlap": false,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-radial-offset": 0.3,
|
|
|
|
"text-letter-spacing": 0.025,
|
|
|
|
"icon-pitch-alignment": "auto",
|
|
|
|
"icon-ignore-placement": false,
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"icon-rotation-alignment": "auto"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"icon-color": "rgba(0, 0, 0, 1)",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-color": "rgba(48, 48, 48, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-opacity": 1,
|
|
|
|
"text-opacity": 1,
|
|
|
|
"icon-halo-blur": 0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-halo-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"icon-halo-width": 0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
12,
|
2021-03-05 20:04:52 +00:00
|
|
|
1.5,
|
|
|
|
18,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","rank",3],
|
|
|
|
["!in","class","rocky_knoll","saddle","mountain_pass"]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "peaks_rank2",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "mountain_peak",
|
|
|
|
"minzoom": 10.0,
|
|
|
|
"maxzoom": 24.0,
|
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
12,
|
|
|
|
11
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
23,
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
22,
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
21,
|
|
|
|
20
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-image": [
|
2021-03-05 20:04:52 +00:00
|
|
|
"step",
|
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"",
|
2021-03-05 20:04:52 +00:00
|
|
|
10,
|
2022-08-06 15:52:35 +00:00
|
|
|
"dot_dark_grey_4",
|
|
|
|
14,
|
|
|
|
"dot_dark_grey_6",
|
|
|
|
18,
|
|
|
|
"dot_dark_grey_8"
|
|
|
|
],
|
|
|
|
"text-field": [
|
|
|
|
"format",
|
|
|
|
["get","name:latin"],
|
|
|
|
{},
|
|
|
|
"\n",
|
|
|
|
{},
|
|
|
|
["get","ele"],
|
|
|
|
{
|
|
|
|
"font-scale": 0.75
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-anchor": "center",
|
|
|
|
"icon-offset": [0,0],
|
|
|
|
"text-anchor": "bottom",
|
|
|
|
"text-offset": [0,0],
|
|
|
|
"icon-padding": 0,
|
|
|
|
"text-justify": "auto",
|
|
|
|
"text-padding": 2,
|
|
|
|
"icon-optional": false,
|
|
|
|
"text-optional": false,
|
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 8,
|
|
|
|
"symbol-placement": "point",
|
|
|
|
"text-line-height": 1.15,
|
|
|
|
"icon-allow-overlap": false,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-radial-offset": 0.3,
|
|
|
|
"text-letter-spacing": 0.025,
|
|
|
|
"icon-pitch-alignment": "auto",
|
|
|
|
"icon-ignore-placement": false,
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"icon-rotation-alignment": "auto"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"icon-color": "rgba(0, 0, 0, 1)",
|
|
|
|
"text-color": "rgba(48, 48, 48, 1)",
|
|
|
|
"icon-opacity": 1,
|
|
|
|
"text-opacity": 1,
|
|
|
|
"icon-halo-blur": 0,
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"icon-halo-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"icon-halo-width": 0,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
1.5,
|
|
|
|
18,
|
|
|
|
3
|
2021-03-05 20:04:52 +00:00
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","rank",2],
|
|
|
|
["!in","class","rocky_knoll","saddle","mountain_pass"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "place_other",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "place",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 14.0,
|
|
|
|
"maxzoom": 24.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Condensed Medium"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["cubic-bezier",0.5,0.1,0.7,1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
4,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
5000,
|
|
|
|
["get","population"]
|
|
|
|
],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","population"]
|
|
|
|
],
|
|
|
|
6,
|
|
|
|
4
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
16,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
5000,
|
|
|
|
["get","population"]
|
|
|
|
],
|
|
|
|
22,
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","population"]
|
|
|
|
],
|
|
|
|
20,
|
|
|
|
18
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"text-field": ["get","name:latin"],
|
|
|
|
"visibility": "visible",
|
|
|
|
"text-anchor": "center",
|
|
|
|
"text-offset": [
|
|
|
|
"literal",
|
|
|
|
[0.3,0.2]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-justify": "auto",
|
|
|
|
"text-padding": 20,
|
|
|
|
"icon-optional": false,
|
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 10,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-transform": "none",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-sort-key": [
|
|
|
|
"to-number",
|
|
|
|
["get","rank"]
|
|
|
|
],
|
|
|
|
"text-letter-spacing": 0.025
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-color": "rgba(64, 64, 64, 1)",
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
11,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
">",
|
|
|
|
18,
|
|
|
|
["get","rank"]
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
13,
|
|
|
|
1,
|
|
|
|
14,
|
|
|
|
0
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-opacity": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["cubic-bezier",0,0.75,0.25,1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
12,
|
2022-08-06 15:52:35 +00:00
|
|
|
1,
|
2021-03-05 20:04:52 +00:00
|
|
|
16,
|
|
|
|
2
|
|
|
|
]
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["!in","class","continent","country","state","city","town","village","hamlet","isolated_dwelling"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "poi_rank1",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "poi",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 14.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Condensed Regular"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
13,
|
|
|
|
13,
|
|
|
|
18,
|
|
|
|
20
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-image": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
"railway_station",
|
2021-03-05 20:04:52 +00:00
|
|
|
"square_red",
|
|
|
|
"castle",
|
|
|
|
"castle_grey",
|
|
|
|
""
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-field": ["get","name:latin"],
|
|
|
|
"visibility": "visible",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-anchor": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["castle"],
|
|
|
|
"left",
|
2022-08-06 15:52:35 +00:00
|
|
|
"railway_station",
|
2021-03-05 20:04:52 +00:00
|
|
|
"bottom-left",
|
|
|
|
"center"
|
|
|
|
],
|
|
|
|
"text-offset": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
"railway_station",
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0.5,0.15]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0.8,0.15]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-justify": "left",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-padding": 10,
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-optional": false,
|
|
|
|
"text-max-width": 10,
|
|
|
|
"symbol-avoid-edges": true
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","subclass"],
|
|
|
|
"railway_station",
|
2021-03-05 20:04:52 +00:00
|
|
|
"rgba(255, 50, 50, 1)",
|
|
|
|
"rgba(48, 48, 48, 1)"
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-opacity": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
1,
|
|
|
|
17,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","subclass","castle","railway_station"],
|
|
|
|
["in","class","castle","railway"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "place_hamlet_isolated_dwelling",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "place",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
|
|
|
"maxzoom": 24.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Condensed Medium"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["cubic-bezier",0.5,0.1,0.7,1],
|
|
|
|
["zoom"],
|
|
|
|
4,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
50,
|
|
|
|
["get","population"]
|
|
|
|
],
|
|
|
|
6,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
50,
|
|
|
|
["get","population"]
|
|
|
|
],
|
|
|
|
20,
|
|
|
|
18
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"icon-image": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
"circle_dark_grey_4",
|
|
|
|
12,
|
|
|
|
"circle_dark_grey_6"
|
|
|
|
],
|
|
|
|
"text-field": ["get","name:latin"],
|
|
|
|
"visibility": "visible",
|
|
|
|
"text-anchor": ["literal","bottom-left"],
|
|
|
|
"text-offset": [
|
|
|
|
"literal",
|
|
|
|
[0.3,0.2]
|
|
|
|
],
|
|
|
|
"text-justify": "auto",
|
|
|
|
"text-padding": [
|
2021-03-05 20:04:52 +00:00
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
2,
|
|
|
|
13,
|
|
|
|
2,
|
|
|
|
14,
|
|
|
|
0
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-optional": false,
|
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 10,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-transform": "none",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-sort-key": [
|
|
|
|
"to-number",
|
|
|
|
["get","rank"]
|
|
|
|
],
|
|
|
|
"text-letter-spacing": 0.025
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-color": "rgba(64, 64, 64, 1)",
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
11,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
">",
|
|
|
|
30,
|
|
|
|
["get","rank"]
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
13,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
">",
|
|
|
|
31,
|
|
|
|
["get","rank"]
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
|
|
|
0
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
11,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
">",
|
|
|
|
30,
|
|
|
|
["get","rank"]
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
">",
|
|
|
|
31,
|
|
|
|
["get","rank"]
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
1
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["cubic-bezier",0,0.75,0.25,1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
12,
|
2022-08-06 15:52:35 +00:00
|
|
|
1,
|
2021-03-05 20:04:52 +00:00
|
|
|
16,
|
|
|
|
2
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","hamlet","isolated_dwelling"]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "place_country_exclave",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "place",
|
|
|
|
"minzoom": 11.0,
|
|
|
|
"maxzoom": 24.0,
|
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Condensed Regular"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
1,
|
2021-03-05 20:04:52 +00:00
|
|
|
11,
|
2022-08-06 15:52:35 +00:00
|
|
|
7,
|
2021-03-05 20:04:52 +00:00
|
|
|
14,
|
2022-08-06 15:52:35 +00:00
|
|
|
11,
|
|
|
|
16,
|
|
|
|
18,
|
|
|
|
24
|
|
|
|
],
|
|
|
|
"text-field": "{name:latin}",
|
|
|
|
"visibility": "visible",
|
|
|
|
"text-max-width": 10,
|
|
|
|
"text-transform": "uppercase",
|
|
|
|
"text-letter-spacing": 0.12
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(145, 70, 145, 0.9)",
|
|
|
|
"text-opacity": 1,
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(255, 255, 255, 0.8)",
|
|
|
|
"text-halo-width": 1
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","country"],
|
|
|
|
["in","iso_a2","DE","IT"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "place_village",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "place",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 7.0,
|
|
|
|
"maxzoom": 18.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Condensed Medium"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["cubic-bezier",0.5,0.1,0.7,1],
|
|
|
|
["zoom"],
|
|
|
|
4,
|
|
|
|
11,
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","population"]
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
14
|
|
|
|
],
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","population"]
|
|
|
|
],
|
|
|
|
28,
|
|
|
|
24
|
|
|
|
]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-image": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
"circle_dark_grey_4",
|
|
|
|
6,
|
|
|
|
"circle_dark_grey_4",
|
|
|
|
8,
|
|
|
|
"circle_dark_grey_6",
|
|
|
|
10,
|
|
|
|
"circle_dark_grey_8",
|
|
|
|
12,
|
|
|
|
"circle_dark_grey_10"
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-field": ["get","name:latin"],
|
|
|
|
"visibility": "visible",
|
|
|
|
"text-anchor": ["literal","bottom-left"],
|
|
|
|
"text-offset": [
|
|
|
|
"literal",
|
|
|
|
[0.4,0.2]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-justify": "auto",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-padding": 10,
|
|
|
|
"icon-optional": false,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-optional": false,
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 10,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-transform": "none",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-sort-key": [
|
|
|
|
"to-number",
|
|
|
|
["get","rank"]
|
|
|
|
],
|
|
|
|
"text-letter-spacing": 0.025
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(64, 64, 64, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
1,
|
|
|
|
13,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"text-opacity": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["cubic-bezier",0,0.75,0.25,1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
12,
|
2022-08-06 15:52:35 +00:00
|
|
|
1,
|
2021-03-05 20:04:52 +00:00
|
|
|
16,
|
|
|
|
2
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","class","village"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "aerodrome_label",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "aerodrome_label",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
11,
|
|
|
|
0.7,
|
|
|
|
14,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"text-font": ["Frutiger Neue Condensed Regular"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
11,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
"international",
|
|
|
|
16,
|
|
|
|
"regional",
|
|
|
|
16,
|
|
|
|
12
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","class"],
|
|
|
|
"international",
|
|
|
|
20,
|
|
|
|
"regional",
|
|
|
|
18,
|
|
|
|
16
|
|
|
|
]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-image": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"international",
|
|
|
|
"airplane_large_grey",
|
|
|
|
"regional",
|
|
|
|
"airplane_medium_grey",
|
|
|
|
"other",
|
|
|
|
"airplane_small_grey",
|
|
|
|
"helipad",
|
|
|
|
"helicopter_grey",
|
|
|
|
""
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-field": ["get","name:latin"],
|
|
|
|
"icon-anchor": "center",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-anchor": "left",
|
|
|
|
"text-offset": [
|
|
|
|
"match",
|
2022-08-06 15:52:35 +00:00
|
|
|
["get","class"],
|
2021-03-05 20:04:52 +00:00
|
|
|
"helipad",
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0.9,0.2]
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"literal",
|
|
|
|
[0.9,0]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-justify": "center",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-padding": 2,
|
|
|
|
"text-transform": "none"
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(64, 64, 64, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-opacity": ["literal",1],
|
|
|
|
"text-opacity": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.8)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
14,
|
|
|
|
1,
|
|
|
|
17,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["!=","class","helipad"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-06 15:52:35 +00:00
|
|
|
"id": "peaks_rank1",
|
2021-03-05 20:04:52 +00:00
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
2022-08-06 15:52:35 +00:00
|
|
|
"source-layer": "mountain_peak",
|
|
|
|
"minzoom": 9.0,
|
|
|
|
"maxzoom": 24.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-size": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
13,
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
12,
|
|
|
|
11
|
|
|
|
],
|
|
|
|
18,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
4000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
23,
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
22,
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
2000,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
21,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"icon-image": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
"dot_dark_grey_4",
|
|
|
|
14,
|
|
|
|
"dot_dark_grey_6",
|
|
|
|
18,
|
|
|
|
"dot_dark_grey_8"
|
|
|
|
],
|
|
|
|
"text-field": [
|
|
|
|
"format",
|
|
|
|
["get","name:latin"],
|
|
|
|
{},
|
|
|
|
"\n",
|
|
|
|
{},
|
|
|
|
["get","ele"],
|
|
|
|
{
|
|
|
|
"font-scale": 0.75
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"visibility": "visible",
|
|
|
|
"icon-anchor": "center",
|
|
|
|
"icon-offset": [0,0],
|
|
|
|
"text-anchor": "bottom",
|
|
|
|
"icon-padding": 2,
|
|
|
|
"text-justify": "auto",
|
|
|
|
"text-padding": 10,
|
|
|
|
"icon-optional": false,
|
|
|
|
"text-optional": false,
|
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 8,
|
|
|
|
"symbol-placement": "point",
|
|
|
|
"text-line-height": 1.15,
|
|
|
|
"icon-allow-overlap": false,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-radial-offset": 0.3,
|
|
|
|
"text-letter-spacing": 0.025,
|
|
|
|
"icon-pitch-alignment": "auto",
|
|
|
|
"icon-ignore-placement": false,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-ignore-placement": false,
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-rotation-alignment": "auto"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-color": "rgba(0, 0, 0, 1)",
|
|
|
|
"text-color": "rgba(48, 48, 48, 1)",
|
|
|
|
"icon-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3200,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
10,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
0,
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
3200,
|
|
|
|
["get","ele"]
|
|
|
|
],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
10,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"icon-halo-blur": 0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-halo-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"icon-halo-width": 0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
1.5,
|
|
|
|
18,
|
|
|
|
3
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","rank",1],
|
|
|
|
["!in","class","rocky_knoll","saddle","mountain_pass"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "place_town",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "place",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 6.0,
|
|
|
|
"maxzoom": 16.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Condensed Bold"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["cubic-bezier",0.5,0.1,0.7,1],
|
|
|
|
["zoom"],
|
|
|
|
4,
|
|
|
|
11,
|
|
|
|
16,
|
|
|
|
[
|
|
|
|
"case",
|
|
|
|
[
|
|
|
|
"<=",
|
|
|
|
30000,
|
|
|
|
["get","population"]
|
|
|
|
],
|
|
|
|
32,
|
|
|
|
28
|
|
|
|
]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-image": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
"circle_dark_grey_4",
|
|
|
|
6,
|
|
|
|
"circle_dark_grey_6",
|
|
|
|
8,
|
|
|
|
"circle_dark_grey_8",
|
|
|
|
10,
|
|
|
|
"circle_dark_grey_10",
|
|
|
|
12,
|
2022-08-06 15:52:35 +00:00
|
|
|
"circle_dark_grey_12"
|
|
|
|
],
|
|
|
|
"text-field": ["get","name:latin"],
|
|
|
|
"visibility": "visible",
|
|
|
|
"text-anchor": ["literal","bottom-left"],
|
|
|
|
"text-offset": [
|
|
|
|
"literal",
|
|
|
|
[0.35,0.1]
|
|
|
|
],
|
|
|
|
"text-justify": "auto",
|
|
|
|
"text-padding": 10,
|
|
|
|
"icon-optional": false,
|
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 10,
|
|
|
|
"text-transform": "uppercase",
|
|
|
|
"symbol-sort-key": [
|
|
|
|
"to-number",
|
|
|
|
["get","rank"]
|
|
|
|
],
|
|
|
|
"symbol-placement": "point",
|
|
|
|
"text-letter-spacing": 0.025
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(64, 64, 64, 1)",
|
|
|
|
"icon-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
1,
|
|
|
|
12,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"text-opacity": 1,
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
|
|
|
["cubic-bezier",0,0.75,0.25,1],
|
|
|
|
["zoom"],
|
|
|
|
12,
|
|
|
|
1,
|
|
|
|
16,
|
|
|
|
3
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","class","town"]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "water_name_point_label",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "water_name",
|
|
|
|
"minzoom": 7.0,
|
|
|
|
"maxzoom": 24.0,
|
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Italic"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9],
|
|
|
|
12,
|
|
|
|
[8,7],
|
|
|
|
10,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9],
|
|
|
|
22,
|
|
|
|
[8,7,6],
|
|
|
|
18,
|
|
|
|
[5,4],
|
|
|
|
16,
|
|
|
|
[3],
|
|
|
|
14,
|
|
|
|
[2],
|
|
|
|
12,
|
|
|
|
[1],
|
|
|
|
10,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9],
|
|
|
|
24,
|
|
|
|
[8,7],
|
|
|
|
22,
|
|
|
|
[6,5,4,3],
|
|
|
|
20,
|
|
|
|
[2],
|
|
|
|
16,
|
|
|
|
[1],
|
|
|
|
12,
|
|
|
|
12
|
|
|
|
],
|
|
|
|
14,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9],
|
|
|
|
28,
|
|
|
|
[8,7],
|
|
|
|
26,
|
|
|
|
[6,5,4,3],
|
|
|
|
24,
|
|
|
|
[2],
|
|
|
|
22,
|
|
|
|
[1],
|
|
|
|
14,
|
|
|
|
12
|
|
|
|
],
|
|
|
|
15,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9],
|
|
|
|
30,
|
|
|
|
[8,7],
|
|
|
|
28,
|
|
|
|
[6,5,4,3],
|
|
|
|
26,
|
|
|
|
[2],
|
|
|
|
24,
|
|
|
|
[1],
|
|
|
|
18,
|
|
|
|
18
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-field": "{name:latin}",
|
|
|
|
"visibility": "visible",
|
|
|
|
"text-rotate": ["get","direction"],
|
|
|
|
"text-padding": 2,
|
|
|
|
"symbol-spacing": 250,
|
|
|
|
"symbol-z-order": "auto",
|
|
|
|
"text-max-width": 20,
|
2021-03-05 20:04:52 +00:00
|
|
|
"symbol-placement": "point",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-keep-upright": true,
|
|
|
|
"text-allow-overlap": false,
|
|
|
|
"text-letter-spacing": [
|
2021-03-05 20:04:52 +00:00
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["linear"],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
2022-08-06 15:52:35 +00:00
|
|
|
7,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9,8],
|
|
|
|
0.1,
|
|
|
|
[7,6],
|
|
|
|
0.04,
|
|
|
|
[5,4,3],
|
|
|
|
0.02,
|
|
|
|
[2],
|
|
|
|
0.01,
|
|
|
|
0.05
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
16,
|
2022-08-06 15:52:35 +00:00
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9,8],
|
|
|
|
0.7,
|
|
|
|
[7,6],
|
|
|
|
0.5,
|
|
|
|
[5,4,3],
|
|
|
|
0.3,
|
|
|
|
[2],
|
|
|
|
0.2,
|
|
|
|
0.1
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-pitch-alignment": "map",
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "viewport"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-color": "rgba(20, 136, 205, 1)",
|
|
|
|
"text-opacity": [
|
|
|
|
"step",
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
0,
|
2022-08-06 15:52:35 +00:00
|
|
|
7,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9,8],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
8,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9,8,7,6],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
9,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9,8,7,6,4,3],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
10,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9,8,7,6,5,4,3,2],
|
|
|
|
1,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
12,
|
|
|
|
[
|
|
|
|
"match",
|
|
|
|
["get","size"],
|
|
|
|
[10,9,8,7,6,5,4,3,2,1],
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-halo-blur": 0.25,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": 1
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","$type","Point"],
|
|
|
|
["==","class","lake"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "park_label",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "park",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 8.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Regular"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["cubic-bezier",0.5,0.1,0.7,1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
8,
|
|
|
|
14,
|
|
|
|
16,
|
|
|
|
28
|
2022-08-06 15:52:35 +00:00
|
|
|
],
|
|
|
|
"text-field": "{name:latin}",
|
|
|
|
"text-padding": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
2,
|
|
|
|
14,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"symbol-z-order": ["literal","auto"]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(70, 130, 25, 0.9)",
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(255, 255, 255, 0.8)",
|
|
|
|
"text-halo-width": 1
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","national_park"],
|
|
|
|
["==","$type","Point"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "area_name_massif_label",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "area_name",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 11.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
|
|
|
"text-font": ["Frutiger Neue Regular"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
10,
|
|
|
|
14,
|
|
|
|
16,
|
|
|
|
23
|
|
|
|
],
|
|
|
|
"text-field": "{name:latin}",
|
|
|
|
"symbol-spacing": {
|
|
|
|
"stops": [
|
|
|
|
[12,250],
|
|
|
|
[14,550]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symbol-z-order": "auto",
|
|
|
|
"text-max-width": 99999,
|
|
|
|
"symbol-placement": "point",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-keep-upright": true,
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-avoid-edges": true,
|
|
|
|
"text-allow-overlap": false,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-letter-spacing": 0.07,
|
|
|
|
"text-pitch-alignment": "viewport",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-rotation-alignment": "viewport"
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(48, 48, 48, 1)",
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": 1
|
2022-08-06 15:52:35 +00:00
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","$type","Point"],
|
|
|
|
["in","subclass","massif"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "place_city",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "place",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 2.0,
|
|
|
|
"maxzoom": 14.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-size": 1,
|
|
|
|
"text-font": ["Frutiger Neue Condensed Bold"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["cubic-bezier",0.5,0.1,0.7,1],
|
|
|
|
["zoom"],
|
|
|
|
1,
|
|
|
|
11,
|
|
|
|
4,
|
|
|
|
12,
|
|
|
|
16,
|
|
|
|
48
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"icon-image": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
"dot_circle_dark_grey_6",
|
|
|
|
6,
|
|
|
|
"dot_circle_dark_grey_8",
|
|
|
|
8,
|
|
|
|
"circle_circle_dark_grey_10",
|
|
|
|
10,
|
|
|
|
"circle_circle_dark_grey_12",
|
|
|
|
12,
|
|
|
|
"circle_circle_dark_grey_12"
|
|
|
|
],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-field": ["get","name:latin"],
|
|
|
|
"visibility": "visible",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-anchor": "bottom-left",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-offset": [
|
|
|
|
"literal",
|
|
|
|
[0.35,0.1]
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-justify": "auto",
|
|
|
|
"text-padding": 10,
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-optional": false,
|
|
|
|
"symbol-z-order": ["literal","auto"],
|
|
|
|
"text-max-width": 10,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-transform": "uppercase",
|
2022-08-06 15:52:35 +00:00
|
|
|
"symbol-sort-key": [
|
|
|
|
"to-number",
|
|
|
|
["get","rank"]
|
|
|
|
],
|
|
|
|
"text-letter-spacing": 0.025
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(64, 64, 64, 1)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"icon-opacity": [
|
|
|
|
"step",
|
|
|
|
["zoom"],
|
|
|
|
1,
|
|
|
|
11,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"text-opacity": 1,
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(242, 242, 242, 0.6)",
|
|
|
|
"text-halo-width": [
|
|
|
|
"interpolate",
|
2022-08-06 15:52:35 +00:00
|
|
|
["cubic-bezier",0,0.75,0.25,1],
|
2021-03-05 20:04:52 +00:00
|
|
|
["zoom"],
|
|
|
|
12,
|
2022-08-06 15:52:35 +00:00
|
|
|
1,
|
2021-03-05 20:04:52 +00:00
|
|
|
16,
|
|
|
|
3
|
2022-08-06 15:52:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["==","class","city"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-06 15:52:35 +00:00
|
|
|
"id": "place_country_LI",
|
2021-03-05 20:04:52 +00:00
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "place",
|
2022-08-06 15:52:35 +00:00
|
|
|
"minzoom": 0.0,
|
|
|
|
"maxzoom": 7.0,
|
2021-03-05 20:04:52 +00:00
|
|
|
"layout": {
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-font": ["Frutiger Neue Condensed Regular"],
|
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
1,
|
|
|
|
12,
|
|
|
|
6,
|
|
|
|
16
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-field": "{name:latin}",
|
2022-08-06 15:52:35 +00:00
|
|
|
"visibility": "visible",
|
|
|
|
"text-max-width": 10,
|
|
|
|
"text-transform": "uppercase",
|
|
|
|
"text-letter-spacing": 0.12
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(145, 70, 145, 0.9)",
|
|
|
|
"text-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
6,
|
|
|
|
1,
|
|
|
|
7,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(255, 255, 255, 0.8)",
|
|
|
|
"text-halo-width": 1
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","country"],
|
|
|
|
["in","iso_a2","LI"]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "place_country_CH",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "swissmaptiles",
|
|
|
|
"source-layer": "place",
|
|
|
|
"minzoom": 0.0,
|
|
|
|
"maxzoom": 7.0,
|
|
|
|
"layout": {
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-font": ["Frutiger Neue Condensed Regular"],
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-size": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
1,
|
|
|
|
12,
|
|
|
|
6,
|
|
|
|
16
|
|
|
|
],
|
|
|
|
"text-field": "{name:latin}",
|
|
|
|
"visibility": "visible",
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-max-width": 10,
|
|
|
|
"text-transform": "uppercase",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-letter-spacing": 0.12
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(145, 70, 145, 0.9)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-opacity": [
|
|
|
|
"interpolate",
|
|
|
|
["linear"],
|
|
|
|
["zoom"],
|
|
|
|
6,
|
|
|
|
1,
|
|
|
|
7,
|
|
|
|
0
|
|
|
|
],
|
2021-03-05 20:04:52 +00:00
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-halo-color": "rgba(255, 255, 255, 0.8)",
|
2022-08-06 15:52:35 +00:00
|
|
|
"text-halo-width": 1
|
|
|
|
},
|
|
|
|
"filter": [
|
|
|
|
"all",
|
|
|
|
["in","class","country"],
|
|
|
|
["in","iso_a2","CH"]
|
|
|
|
]
|
2021-03-05 20:04:52 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"id": "summits_selected",
|
|
|
|
"type": "circle",
|
|
|
|
"source": "summits",
|
|
|
|
"source-layer": "summits",
|
|
|
|
"filter": ["all", ["in", "code"]],
|
|
|
|
"layout": {"visibility": "visible"},
|
|
|
|
"paint": {
|
|
|
|
"circle-color": "rgba(2, 153, 243, 1)",
|
|
|
|
"circle-radius": {"stops": [[6, 15], [20, 50]]},
|
|
|
|
"circle-opacity": 0.75,
|
|
|
|
"circle-stroke-color": "rgba(210, 255, 0, 0.05)",
|
|
|
|
"circle-stroke-width": 0,
|
|
|
|
"circle-stroke-opacity": 1,
|
|
|
|
"circle-blur": 0.7
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "summits_names",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "summits",
|
|
|
|
"source-layer": "summits",
|
|
|
|
"minzoom": 10,
|
|
|
|
"maxzoom": 24,
|
|
|
|
"filter": ["all", ["in", "code"]],
|
|
|
|
"layout": {
|
|
|
|
"visibility": "visible",
|
|
|
|
"text-field": "{name}\n{code}\n{alt} m",
|
|
|
|
"text-size": {"stops": [[10, 10], [20, 16]]},
|
|
|
|
"text-font": ["Frutiger Neue Regular"],
|
|
|
|
"text-anchor": "bottom",
|
|
|
|
"text-offset": {"stops": [[10, [0, -1]], [20, [0, -2]]]},
|
|
|
|
"icon-size": 1,
|
|
|
|
"symbol-spacing": 250,
|
|
|
|
"symbol-avoid-edges": false,
|
|
|
|
"text-keep-upright": true,
|
|
|
|
"text-transform": "none",
|
|
|
|
"text-optional": false,
|
|
|
|
"text-allow-overlap": {"stops": [[18, false], [19, true]]},
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-justify": "center",
|
|
|
|
"text-rotate": 0
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(51, 51, 51, 1)",
|
|
|
|
"text-halo-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"text-halo-width": 1,
|
|
|
|
"text-halo-blur": 1
|
|
|
|
}
|
|
|
|
},
|
2022-11-12 10:57:09 +00:00
|
|
|
{
|
|
|
|
"id": "summits_circles_all",
|
|
|
|
"type": "circle",
|
|
|
|
"source": "summits",
|
|
|
|
"source-layer": "summits",
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"paint": {
|
|
|
|
"circle-stroke-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"circle-color": [
|
|
|
|
"match",
|
|
|
|
["get", "points"],
|
|
|
|
[1],
|
2022-12-04 16:32:02 +00:00
|
|
|
"rgba(77, 122, 32, 0.5)",
|
2022-11-12 10:57:09 +00:00
|
|
|
[2],
|
2022-12-04 16:32:02 +00:00
|
|
|
"rgba(109, 165, 54, 0.5)",
|
2022-11-12 10:57:09 +00:00
|
|
|
[4],
|
2022-12-04 16:32:02 +00:00
|
|
|
"rgba(174, 167, 39, 0.5)",
|
2022-11-12 10:57:09 +00:00
|
|
|
[6],
|
2022-12-04 16:32:02 +00:00
|
|
|
"rgba(239, 168, 24, 0.5)",
|
2022-11-12 10:57:09 +00:00
|
|
|
[8],
|
|
|
|
"rgba(220, 93, 4, 0.5)",
|
|
|
|
[10],
|
|
|
|
"rgba(200, 16, 30, 0.5)",
|
|
|
|
"#000"
|
|
|
|
],
|
|
|
|
"circle-stroke-width": {"stops": [[4, 0], [15, 1]]},
|
2022-12-04 16:32:02 +00:00
|
|
|
"circle-radius": {"stops": [[0, 0.05], [10, 2.5], [22, 12]]}
|
2022-11-12 10:57:09 +00:00
|
|
|
}
|
|
|
|
},
|
2021-03-05 20:04:52 +00:00
|
|
|
{
|
|
|
|
"id": "summits_circles",
|
|
|
|
"type": "circle",
|
|
|
|
"source": "summits",
|
|
|
|
"source-layer": "summits",
|
|
|
|
"filter": ["all", ["in", "code"]],
|
|
|
|
"layout": {"visibility": "visible"},
|
|
|
|
"paint": {
|
|
|
|
"circle-stroke-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"circle-color": [
|
|
|
|
"match",
|
|
|
|
["get", "points"],
|
|
|
|
[1],
|
|
|
|
"rgba(77, 122, 32, 1)",
|
|
|
|
[2],
|
|
|
|
"rgba(109, 165, 54, 1)",
|
|
|
|
[4],
|
|
|
|
"rgba(174, 167, 39, 1)",
|
|
|
|
[6],
|
|
|
|
"rgba(239, 168, 24, 1)",
|
|
|
|
[8],
|
|
|
|
"rgba(220, 93, 4, 1)",
|
|
|
|
[10],
|
|
|
|
"rgba(200, 16, 30, 1)",
|
|
|
|
"#000"
|
|
|
|
],
|
|
|
|
"circle-stroke-width": {"stops": [[4, 0], [15, 2]]},
|
|
|
|
"circle-radius": {"stops": [[0, 0.1], [10, 8], [22, 20]]}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "summits_activations",
|
|
|
|
"type": "symbol",
|
|
|
|
"source": "summits",
|
|
|
|
"source-layer": "summits",
|
|
|
|
"minzoom": 10,
|
|
|
|
"maxzoom": 24,
|
|
|
|
"filter": ["all", ["in", "code"]],
|
|
|
|
"layout": {
|
|
|
|
"text-field": "{act}",
|
|
|
|
"text-font": ["Frutiger Neue Bold"],
|
|
|
|
"text-size": {"stops": [[10, 8], [20, 16]]},
|
|
|
|
"text-offset": [0,0.1]
|
|
|
|
},
|
|
|
|
"paint": {"text-color": "rgba(255, 255, 255, 1)"}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "summits_highlight",
|
|
|
|
"type": "circle",
|
|
|
|
"source": "summits",
|
|
|
|
"source-layer": "summits",
|
|
|
|
"filter": ["all", ["in", "code"]],
|
|
|
|
"layout": {"visibility": "visible"},
|
|
|
|
"paint": {
|
|
|
|
"circle-color": "rgba(2, 243, 198, 1)",
|
|
|
|
"circle-radius": {"stops": [[6, 15], [20, 50]]},
|
|
|
|
"circle-opacity": 0.75,
|
2022-05-25 08:31:25 +00:00
|
|
|
"circle-blur": 0.7
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "summits_highlight_alerts",
|
|
|
|
"type": "circle",
|
|
|
|
"source": "summits",
|
|
|
|
"source-layer": "summits",
|
|
|
|
"filter": ["all", ["in", "code"]],
|
|
|
|
"layout": {"visibility": "visible"},
|
|
|
|
"paint": {
|
|
|
|
"circle-color": "rgba(210, 255, 0, 1)",
|
|
|
|
"circle-radius": {"stops": [[6, 15], [20, 50]]},
|
|
|
|
"circle-opacity": 0.55,
|
2021-03-05 20:04:52 +00:00
|
|
|
"circle-blur": 0.7
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "summits_inactive_names",
|
|
|
|
"type": "symbol",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "inactive"
|
|
|
|
},
|
|
|
|
"source": "summits_inactive",
|
|
|
|
"source-layer": "summits_inactive",
|
|
|
|
"minzoom": 10,
|
|
|
|
"maxzoom": 24,
|
|
|
|
"filter": ["all", ["in", "code"]],
|
|
|
|
"layout": {
|
|
|
|
"visibility": "none",
|
|
|
|
"text-field": "{name}\n{code}\n{alt} m\n(inactive)",
|
|
|
|
"text-size": {"stops": [[10, 10], [20, 16]]},
|
|
|
|
"text-font": ["Frutiger Neue Regular"],
|
|
|
|
"text-anchor": "bottom",
|
|
|
|
"text-offset": {"stops": [[10, [0, -1]], [20, [0, -2]]]},
|
|
|
|
"icon-size": 1,
|
|
|
|
"symbol-spacing": 250,
|
|
|
|
"symbol-avoid-edges": false,
|
|
|
|
"text-keep-upright": true,
|
|
|
|
"text-transform": "none",
|
|
|
|
"text-optional": false,
|
|
|
|
"text-allow-overlap": {"stops": [[18, false], [19, true]]},
|
|
|
|
"text-ignore-placement": false,
|
|
|
|
"text-justify": "center",
|
|
|
|
"text-rotate": 0
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-color": "rgba(51, 51, 51, 1)",
|
|
|
|
"text-halo-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"text-halo-width": 1,
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-opacity": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "summits_inactive_circles",
|
|
|
|
"type": "circle",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "inactive"
|
|
|
|
},
|
|
|
|
"source": "summits_inactive",
|
|
|
|
"source-layer": "summits_inactive",
|
|
|
|
"filter": ["all", ["in", "code"]],
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"paint": {
|
|
|
|
"circle-stroke-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"circle-color": [
|
|
|
|
"match",
|
|
|
|
["get", "points"],
|
|
|
|
[1],
|
|
|
|
"rgba(77, 122, 32, 0.5)",
|
|
|
|
[2],
|
|
|
|
"rgba(109, 165, 54, 0.5)",
|
|
|
|
[4],
|
|
|
|
"rgba(174, 167, 39, 0.5)",
|
|
|
|
[6],
|
|
|
|
"rgba(239, 168, 24, 0.5)",
|
|
|
|
[8],
|
|
|
|
"rgba(220, 93, 4, 0.5)",
|
|
|
|
[10],
|
|
|
|
"rgba(200, 16, 30, 0.5)",
|
|
|
|
"#000"
|
|
|
|
],
|
|
|
|
"circle-stroke-width": {"stops": [[4, 0], [15, 2]]},
|
|
|
|
"circle-radius": {"stops": [[0, 0.1], [10, 8], [22, 20]]}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "regions_areas",
|
|
|
|
"type": "fill",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "regions"
|
|
|
|
},
|
|
|
|
"source": "regions",
|
|
|
|
"source-layer": "areas",
|
|
|
|
"minzoom": 0,
|
|
|
|
"layout": {"visibility": "none"},
|
|
|
|
"paint": {
|
|
|
|
"fill-opacity": 0.1,
|
|
|
|
"fill-antialias": false,
|
|
|
|
"fill-color": "rgba(0, 0, 0, 1)"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "regions_labels",
|
|
|
|
"type": "symbol",
|
|
|
|
"metadata": {
|
|
|
|
"sotlas-map-option": "regions"
|
|
|
|
},
|
|
|
|
"source": "regions",
|
|
|
|
"source-layer": "labels",
|
|
|
|
"layout": {
|
|
|
|
"visibility": "none",
|
|
|
|
"text-field": "{region}",
|
|
|
|
"text-anchor": "top-left",
|
|
|
|
"text-justify": "center",
|
|
|
|
"text-offset": [0.3, 0.3],
|
|
|
|
"text-font": ["Frutiger Neue Regular"],
|
|
|
|
"text-size": {"stops": [[6, 8], [10, 16]]}
|
|
|
|
},
|
|
|
|
"paint": {
|
|
|
|
"text-halo-color": "rgba(255, 255, 255, 1)",
|
|
|
|
"text-halo-width": 0.5,
|
|
|
|
"text-halo-blur": 1,
|
|
|
|
"text-translate": [0, 0]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": "b484873e-ac8c-45d6-a562-5402ab0f4985"
|
|
|
|
}
|