generated from ztimson/template
init
This commit is contained in:
@@ -0,0 +1,846 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Whiteout",
|
||||
"id": "whiteout",
|
||||
"glyphs": "/fonts/{fontstack}/{range}.pbf",
|
||||
"sources": {
|
||||
"osm": {
|
||||
"type": "vector",
|
||||
"url": "mbtiles://osm"
|
||||
},
|
||||
"contours": {
|
||||
"type": "vector",
|
||||
"url": "mbtiles://contours"
|
||||
}
|
||||
},
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "#ffffff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landcover",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "landcover",
|
||||
"paint": {
|
||||
"fill-color": [
|
||||
"match",
|
||||
[
|
||||
"get",
|
||||
"class"
|
||||
],
|
||||
"wood",
|
||||
"#e6ecdd",
|
||||
"forest",
|
||||
"#e2e9d9",
|
||||
"grass",
|
||||
"#eef3e8",
|
||||
"grassland",
|
||||
"#eef3e8",
|
||||
"scrub",
|
||||
"#eaefe0",
|
||||
"heath",
|
||||
"#ecefe2",
|
||||
"wetland",
|
||||
"#e8eee6",
|
||||
"farmland",
|
||||
"#f4f2ea",
|
||||
"ice",
|
||||
"#ffffff",
|
||||
"#f3f2ee"
|
||||
],
|
||||
"fill-opacity": 0.8
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landuse",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "landuse",
|
||||
"paint": {
|
||||
"fill-color": [
|
||||
"match",
|
||||
[
|
||||
"get",
|
||||
"class"
|
||||
],
|
||||
"residential",
|
||||
"#fbfaf8",
|
||||
"commercial",
|
||||
"#f6f1ed",
|
||||
"industrial",
|
||||
"#f1efec",
|
||||
"retail",
|
||||
"#f7f1ec",
|
||||
"military",
|
||||
"#f2ece7",
|
||||
"cemetery",
|
||||
"#e6ebe2",
|
||||
"allotments",
|
||||
"#e8eee0",
|
||||
"farmland",
|
||||
"#f4f2ea",
|
||||
"farmyard",
|
||||
"#f4f2ea",
|
||||
"#fbfaf8"
|
||||
],
|
||||
"fill-opacity": 0.65
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "parks",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "park",
|
||||
"paint": {
|
||||
"fill-color": "#e3ecd9",
|
||||
"fill-opacity": 0.85
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "water",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "water",
|
||||
"paint": {
|
||||
"fill-color": "#c8d7d5"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "waterways",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "waterway",
|
||||
"minzoom": 5,
|
||||
"paint": {
|
||||
"line-color": "#b4c8c6",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
5,
|
||||
0.3,
|
||||
9,
|
||||
0.7,
|
||||
13,
|
||||
1.5,
|
||||
17,
|
||||
4
|
||||
],
|
||||
"line-opacity": 0.9
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "contours-line",
|
||||
"type": "line",
|
||||
"source": "contours",
|
||||
"source-layer": "contour",
|
||||
"minzoom": 10,
|
||||
"paint": {
|
||||
"line-color": "#cfc6b8",
|
||||
"line-opacity": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
10,
|
||||
0.2,
|
||||
14,
|
||||
0.55,
|
||||
18,
|
||||
0.7
|
||||
],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
10,
|
||||
0.35,
|
||||
14,
|
||||
0.8,
|
||||
18,
|
||||
1.1
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "boundary-admin-minor",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "boundary",
|
||||
"filter": [
|
||||
"all",
|
||||
[
|
||||
"has",
|
||||
"admin_level"
|
||||
],
|
||||
[
|
||||
"!=",
|
||||
"admin_level",
|
||||
2
|
||||
],
|
||||
[
|
||||
"!=",
|
||||
"admin_level",
|
||||
4
|
||||
],
|
||||
[
|
||||
"!=",
|
||||
"maritime",
|
||||
1
|
||||
]
|
||||
],
|
||||
"minzoom": 5,
|
||||
"paint": {
|
||||
"line-color": "#dcd6d0",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
5,
|
||||
0.35,
|
||||
9,
|
||||
0.7,
|
||||
13,
|
||||
1
|
||||
],
|
||||
"line-opacity": 0.75,
|
||||
"line-dasharray": [
|
||||
2,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "boundary-state",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "boundary",
|
||||
"filter": [
|
||||
"all",
|
||||
[
|
||||
"==",
|
||||
"admin_level",
|
||||
4
|
||||
],
|
||||
[
|
||||
"!=",
|
||||
"maritime",
|
||||
1
|
||||
]
|
||||
],
|
||||
"minzoom": 2,
|
||||
"paint": {
|
||||
"line-color": "#d0c8bc",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
2,
|
||||
0.4,
|
||||
5,
|
||||
0.8,
|
||||
9,
|
||||
1.4,
|
||||
13,
|
||||
1.8
|
||||
],
|
||||
"line-opacity": 0.85,
|
||||
"line-dasharray": [
|
||||
3,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "boundary-country",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "boundary",
|
||||
"filter": [
|
||||
"all",
|
||||
[
|
||||
"==",
|
||||
"admin_level",
|
||||
2
|
||||
],
|
||||
[
|
||||
"!=",
|
||||
"maritime",
|
||||
1
|
||||
]
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#c4b8aa",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
0,
|
||||
0.6,
|
||||
4,
|
||||
1.2,
|
||||
7,
|
||||
2,
|
||||
12,
|
||||
2.5
|
||||
],
|
||||
"line-opacity": 0.9
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "aeroway",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "aeroway",
|
||||
"minzoom": 10,
|
||||
"filter": [
|
||||
"in",
|
||||
"class",
|
||||
"runway",
|
||||
"taxiway"
|
||||
],
|
||||
"paint": {
|
||||
"fill-color": "#e8e4e0",
|
||||
"fill-outline-color": "#d0ccc4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-casing",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in",
|
||||
"class",
|
||||
"motorway",
|
||||
"trunk",
|
||||
"primary",
|
||||
"secondary",
|
||||
"tertiary",
|
||||
"minor",
|
||||
"service",
|
||||
"residential"
|
||||
],
|
||||
"minzoom": 5,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#e6e0d6",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
5,
|
||||
0.5,
|
||||
8,
|
||||
1.2,
|
||||
12,
|
||||
2.2,
|
||||
16,
|
||||
6
|
||||
],
|
||||
"line-opacity": 0.9
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-motorway",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in",
|
||||
"class",
|
||||
"motorway",
|
||||
"trunk"
|
||||
],
|
||||
"minzoom": 5,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#e0d0b8",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
5,
|
||||
0.7,
|
||||
8,
|
||||
1.5,
|
||||
12,
|
||||
3,
|
||||
16,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-primary",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in",
|
||||
"class",
|
||||
"primary",
|
||||
"secondary"
|
||||
],
|
||||
"minzoom": 5,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#e8dfd4",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
5,
|
||||
0.5,
|
||||
8,
|
||||
1.1,
|
||||
12,
|
||||
2.4,
|
||||
16,
|
||||
4.5
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-tertiary",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in",
|
||||
"class",
|
||||
"tertiary",
|
||||
"minor"
|
||||
],
|
||||
"minzoom": 7,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#f0ebe4",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
7,
|
||||
0.35,
|
||||
10,
|
||||
0.8,
|
||||
14,
|
||||
1.8,
|
||||
18,
|
||||
3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-local",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in",
|
||||
"class",
|
||||
"residential",
|
||||
"service",
|
||||
"living_street",
|
||||
"track",
|
||||
"path",
|
||||
"pedestrian",
|
||||
"footway",
|
||||
"cycleway",
|
||||
"bridleway",
|
||||
"steps"
|
||||
],
|
||||
"minzoom": 8,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#ebe5dc",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
8,
|
||||
0.3,
|
||||
11,
|
||||
0.6,
|
||||
14,
|
||||
1.2,
|
||||
18,
|
||||
2.5
|
||||
],
|
||||
"line-opacity": 0.95
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "railways",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in",
|
||||
"class",
|
||||
"rail",
|
||||
"light_rail",
|
||||
"subway",
|
||||
"tram"
|
||||
],
|
||||
"minzoom": 8,
|
||||
"paint": {
|
||||
"line-color": "#d0ccc4",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
8,
|
||||
0.4,
|
||||
12,
|
||||
1,
|
||||
16,
|
||||
2
|
||||
],
|
||||
"line-dasharray": [
|
||||
2,
|
||||
1
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "buildings",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "building",
|
||||
"minzoom": 13,
|
||||
"paint": {
|
||||
"fill-color": "#dfdbd7",
|
||||
"fill-outline-color": "#cfc9c2",
|
||||
"fill-opacity": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
13,
|
||||
0.3,
|
||||
15,
|
||||
0.9
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-labels",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation_name",
|
||||
"minzoom": 12,
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"text-field": [
|
||||
"coalesce",
|
||||
[
|
||||
"get",
|
||||
"name:en"
|
||||
],
|
||||
[
|
||||
"get",
|
||||
"name"
|
||||
]
|
||||
],
|
||||
"text-font": [
|
||||
"Noto Sans Regular"
|
||||
],
|
||||
"text-size": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
12,
|
||||
9,
|
||||
16,
|
||||
12,
|
||||
20,
|
||||
14
|
||||
],
|
||||
"text-max-angle": 30,
|
||||
"symbol-spacing": 250
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#6b6156",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "rail-labels",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation_name",
|
||||
"filter": [
|
||||
"in",
|
||||
"class",
|
||||
"rail",
|
||||
"transit"
|
||||
],
|
||||
"minzoom": 13,
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"text-field": [
|
||||
"coalesce",
|
||||
[
|
||||
"get",
|
||||
"name:en"
|
||||
],
|
||||
[
|
||||
"get",
|
||||
"name"
|
||||
]
|
||||
],
|
||||
"text-font": [
|
||||
"Noto Sans Regular"
|
||||
],
|
||||
"text-size": 10
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#8a8078",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1.2
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "place-labels",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "place",
|
||||
"minzoom": 2,
|
||||
"filter": [
|
||||
"!=",
|
||||
"class",
|
||||
"continent"
|
||||
],
|
||||
"layout": {
|
||||
"text-field": [
|
||||
"coalesce",
|
||||
[
|
||||
"get",
|
||||
"name:en"
|
||||
],
|
||||
[
|
||||
"get",
|
||||
"name_en"
|
||||
],
|
||||
[
|
||||
"get",
|
||||
"name"
|
||||
]
|
||||
],
|
||||
"text-font": [
|
||||
"Noto Sans Regular"
|
||||
],
|
||||
"text-size": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
2,
|
||||
10,
|
||||
6,
|
||||
12,
|
||||
10,
|
||||
14,
|
||||
14,
|
||||
16
|
||||
],
|
||||
"text-max-width": 10
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#6b6156",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "poi-labels",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "poi",
|
||||
"minzoom": 14,
|
||||
"layout": {
|
||||
"text-field": [
|
||||
"coalesce",
|
||||
[
|
||||
"get",
|
||||
"name:en"
|
||||
],
|
||||
[
|
||||
"get",
|
||||
"name_en"
|
||||
],
|
||||
[
|
||||
"get",
|
||||
"name"
|
||||
]
|
||||
],
|
||||
"text-font": [
|
||||
"Noto Sans Regular"
|
||||
],
|
||||
"text-size": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
14,
|
||||
9,
|
||||
18,
|
||||
12
|
||||
]
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#7a7068",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "airport-labels",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "aerodrome_label",
|
||||
"minzoom": 9,
|
||||
"layout": {
|
||||
"text-field": [
|
||||
"coalesce",
|
||||
[
|
||||
"get",
|
||||
"name:en"
|
||||
],
|
||||
[
|
||||
"get",
|
||||
"name"
|
||||
]
|
||||
],
|
||||
"text-font": [
|
||||
"Noto Sans Regular"
|
||||
],
|
||||
"text-size": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
9,
|
||||
10,
|
||||
14,
|
||||
13
|
||||
]
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#7a7068",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "house-numbers",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "housenumber",
|
||||
"minzoom": 17,
|
||||
"layout": {
|
||||
"text-field": [
|
||||
"to-string",
|
||||
[
|
||||
"get",
|
||||
"housenumber"
|
||||
]
|
||||
],
|
||||
"text-font": [
|
||||
"Noto Sans Regular"
|
||||
],
|
||||
"text-size": 10
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#8a8078",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user