generated from ztimson/template
init
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"options": {
|
||||
"paths": {
|
||||
"root": "/data",
|
||||
"styles": "/styles",
|
||||
"fonts": "/usr/src/app/node_modules/tileserver-gl-styles/fonts"
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"satelite": { "style": "/styles/satellite.json" },
|
||||
"black": { "style": "/styles/black.json" },
|
||||
"contrast": { "style": "/styles/contrast.json" },
|
||||
"dark": { "style": "/styles/dark.json" },
|
||||
"light": { "style": "/styles/light.json" },
|
||||
"white": { "style": "/styles/white.json" }
|
||||
},
|
||||
"data": {
|
||||
"contours": { "mbtiles": "/data/contours_50m.mbtiles" },
|
||||
"osm": { "mbtiles": "/data/osm.mbtiles" },
|
||||
"satellite": { "mbtiles": "/data/satellite-2017.mbtiles" }
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,846 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Blackout",
|
||||
"id": "blackout",
|
||||
"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": "#0a0a0a"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landcover",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "landcover",
|
||||
"paint": {
|
||||
"fill-color": [
|
||||
"match",
|
||||
[
|
||||
"get",
|
||||
"class"
|
||||
],
|
||||
"wood",
|
||||
"#1c231b",
|
||||
"forest",
|
||||
"#1a211a",
|
||||
"grass",
|
||||
"#20281f",
|
||||
"grassland",
|
||||
"#20281f",
|
||||
"scrub",
|
||||
"#232a20",
|
||||
"heath",
|
||||
"#242a21",
|
||||
"wetland",
|
||||
"#1f2826",
|
||||
"farmland",
|
||||
"#1f211c",
|
||||
"ice",
|
||||
"#3a3e3f",
|
||||
"#191c18"
|
||||
],
|
||||
"fill-opacity": 0.9
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landuse",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "landuse",
|
||||
"paint": {
|
||||
"fill-color": [
|
||||
"match",
|
||||
[
|
||||
"get",
|
||||
"class"
|
||||
],
|
||||
"residential",
|
||||
"#121212",
|
||||
"commercial",
|
||||
"#1a1716",
|
||||
"industrial",
|
||||
"#181817",
|
||||
"retail",
|
||||
"#1b1716",
|
||||
"military",
|
||||
"#1c1715",
|
||||
"cemetery",
|
||||
"#1c231d",
|
||||
"allotments",
|
||||
"#1d241c",
|
||||
"farmland",
|
||||
"#1f211c",
|
||||
"farmyard",
|
||||
"#1e1f1b",
|
||||
"#121212"
|
||||
],
|
||||
"fill-opacity": 0.8
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "parks",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "park",
|
||||
"paint": {
|
||||
"fill-color": "#1d261d",
|
||||
"fill-opacity": 0.9
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "water",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "water",
|
||||
"paint": {
|
||||
"fill-color": "#1e2832"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "waterways",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "waterway",
|
||||
"minzoom": 5,
|
||||
"paint": {
|
||||
"line-color": "#2c4152",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
5,
|
||||
0.4,
|
||||
9,
|
||||
0.8,
|
||||
13,
|
||||
1.6,
|
||||
17,
|
||||
4
|
||||
],
|
||||
"line-opacity": 0.95
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "contours-line",
|
||||
"type": "line",
|
||||
"source": "contours",
|
||||
"source-layer": "contour",
|
||||
"minzoom": 10,
|
||||
"paint": {
|
||||
"line-color": "#4a4840",
|
||||
"line-opacity": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
10,
|
||||
0.2,
|
||||
14,
|
||||
0.5,
|
||||
18,
|
||||
0.65
|
||||
],
|
||||
"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": "#3a3a3c",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
5,
|
||||
0.35,
|
||||
9,
|
||||
0.7,
|
||||
13,
|
||||
1
|
||||
],
|
||||
"line-opacity": 0.8,
|
||||
"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": "#4a4648",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
2,
|
||||
0.4,
|
||||
5,
|
||||
0.8,
|
||||
9,
|
||||
1.4,
|
||||
13,
|
||||
1.8
|
||||
],
|
||||
"line-opacity": 0.9,
|
||||
"line-dasharray": [
|
||||
3,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "boundary-country",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "boundary",
|
||||
"filter": [
|
||||
"all",
|
||||
[
|
||||
"==",
|
||||
"admin_level",
|
||||
2
|
||||
],
|
||||
[
|
||||
"!=",
|
||||
"maritime",
|
||||
1
|
||||
]
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#6a6468",
|
||||
"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": "#1e1e20",
|
||||
"fill-outline-color": "#3a3a3c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "#050505",
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"linear"
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
5,
|
||||
0.7,
|
||||
8,
|
||||
1.5,
|
||||
12,
|
||||
2.8,
|
||||
16,
|
||||
6.5
|
||||
],
|
||||
"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": "#5a504a",
|
||||
"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": "#4a4440",
|
||||
"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": "#3a3838",
|
||||
"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": "#2e2d2f",
|
||||
"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": "#4a4650",
|
||||
"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": "#26262a",
|
||||
"fill-outline-color": "#333336",
|
||||
"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": "#8a8688",
|
||||
"text-halo-color": "#0a0a0a",
|
||||
"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": "#6a666e",
|
||||
"text-halo-color": "#0a0a0a",
|
||||
"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": "#a0969a",
|
||||
"text-halo-color": "#0a0a0a",
|
||||
"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": "#8a8688",
|
||||
"text-halo-color": "#0a0a0a",
|
||||
"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": "#8a8688",
|
||||
"text-halo-color": "#0a0a0a",
|
||||
"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": "#6a686a",
|
||||
"text-halo-color": "#0a0a0a",
|
||||
"text-halo-width": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,515 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "High Contrast",
|
||||
"id": "high-contrast",
|
||||
"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", "#e5e5e5",
|
||||
"forest", "#e5e5e5",
|
||||
"grass", "#f5f5f5",
|
||||
"grassland", "#f5f5f5",
|
||||
"scrub", "#eeeeee",
|
||||
"heath", "#eeeeee",
|
||||
"wetland", "#ededed",
|
||||
"farmland", "#f8f8f8",
|
||||
"ice", "#ffffff",
|
||||
"#f4f4f4"
|
||||
],
|
||||
"fill-opacity": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landuse",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "landuse",
|
||||
"paint": {
|
||||
"fill-color": [
|
||||
"match", ["get", "class"],
|
||||
"military", "#e8e8e8",
|
||||
"industrial", "#eeeeee",
|
||||
"commercial", "#f0f0f0",
|
||||
"retail", "#f0f0f0",
|
||||
"cemetery", "#e9e9e9",
|
||||
"allotments", "#eeeeee",
|
||||
"farmland", "#f8f8f8",
|
||||
"farmyard", "#f8f8f8",
|
||||
"residential", "#ffffff",
|
||||
"#ffffff"
|
||||
],
|
||||
"fill-outline-color": "#d0d0d0",
|
||||
"fill-opacity": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "parks",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "park",
|
||||
"paint": {
|
||||
"fill-color": "#eeeeee",
|
||||
"fill-outline-color": "#b0b0b0",
|
||||
"fill-opacity": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "water",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "water",
|
||||
"paint": {
|
||||
"fill-color": "#e5e5e5",
|
||||
"fill-outline-color": "#777777"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "waterways",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "waterway",
|
||||
"minzoom": 5,
|
||||
"paint": {
|
||||
"line-color": "#777777",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
5, 0.5, 9, 0.9, 13, 1.6, 17, 3.5
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "contours-line",
|
||||
"type": "line",
|
||||
"source": "contours",
|
||||
"source-layer": "contour",
|
||||
"minzoom": 10,
|
||||
"paint": {
|
||||
"line-color": "#888888",
|
||||
"line-opacity": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
10, 0.45, 14, 0.7, 18, 0.85
|
||||
],
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
10, 0.35, 14, 0.65, 18, 0.9
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "#888888",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
5, 0.45, 9, 0.7, 13, 1
|
||||
],
|
||||
"line-opacity": 1,
|
||||
"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": "#555555",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
2, 0.6, 5, 0.9, 9, 1.3, 13, 1.8
|
||||
],
|
||||
"line-opacity": 1,
|
||||
"line-dasharray": [4, 2]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "boundary-country",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "boundary",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "admin_level", 2],
|
||||
["!=", "maritime", 1]
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#111111",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
0, 0.8, 4, 1.4, 7, 2, 12, 2.6
|
||||
],
|
||||
"line-opacity": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "aeroway",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "aeroway",
|
||||
"minzoom": 10,
|
||||
"filter": ["in", "class", "runway", "taxiway"],
|
||||
"paint": {
|
||||
"fill-color": "#dedede",
|
||||
"fill-outline-color": "#555555"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-casing-minor",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in", "class",
|
||||
"minor", "service", "residential", "living_street"
|
||||
],
|
||||
"minzoom": 11,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#999999",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
11, 0.6, 14, 2, 16, 3.6, 18, 6
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-casing",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in", "class",
|
||||
"motorway", "trunk", "primary", "secondary", "tertiary"
|
||||
],
|
||||
"minzoom": 5,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#333333",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
5, 1, 8, 1.8, 12, 3, 16, 7
|
||||
],
|
||||
"line-opacity": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "#ffffff",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
5, 0.5, 8, 1.1, 12, 2.2, 16, 5
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "#ffffff",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
5, 0.35, 8, 0.9, 12, 2, 16, 4
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-tertiary",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["==", "class", "tertiary"],
|
||||
"minzoom": 7,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#ffffff",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
7, 0.3, 10, 0.7, 14, 1.8, 18, 3.5
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-minor",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in", "class",
|
||||
"minor", "service", "residential", "living_street"
|
||||
],
|
||||
"minzoom": 11,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#ffffff",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
11, 0.3, 14, 1.1, 16, 2.2, 18, 4
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-path",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in", "class",
|
||||
"path", "track", "pedestrian", "footway",
|
||||
"cycleway", "bridleway", "steps"
|
||||
],
|
||||
"minzoom": 13,
|
||||
"layout": {
|
||||
"line-cap": "butt",
|
||||
"line-join": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#808080",
|
||||
"line-opacity": 0.85,
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.3, 15, 0.5, 18, 1
|
||||
],
|
||||
"line-dasharray": [3, 2]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "railways",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["in", "class", "rail", "light_rail", "subway", "tram"],
|
||||
"minzoom": 8,
|
||||
"paint": {
|
||||
"line-color": "#333333",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
8, 0.5, 12, 1, 16, 1.8
|
||||
],
|
||||
"line-dasharray": [2, 1]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "buildings",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "building",
|
||||
"minzoom": 13,
|
||||
"paint": {
|
||||
"fill-color": "#e5e5e5",
|
||||
"fill-outline-color": "#777777",
|
||||
"fill-opacity": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 0.5, 15, 1
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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, 10, 16, 12, 20, 14
|
||||
],
|
||||
"text-max-angle": 30,
|
||||
"symbol-spacing": 250
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#111111",
|
||||
"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": "#222222",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "#111111",
|
||||
"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": "#111111",
|
||||
"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": "#111111",
|
||||
"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": "#222222",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,534 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Dark Topographic",
|
||||
"id": "dark-matter-basic",
|
||||
"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": "#202722"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landcover",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "landcover",
|
||||
"paint": {
|
||||
"fill-color": [
|
||||
"match", ["get", "class"],
|
||||
"wood", "#304b37",
|
||||
"forest", "#294631",
|
||||
"grass", "#394b35",
|
||||
"grassland", "#394b35",
|
||||
"scrub", "#46513a",
|
||||
"heath", "#4a503b",
|
||||
"wetland", "#354b42",
|
||||
"farmland", "#4b4b38",
|
||||
"ice", "#626e70",
|
||||
"#343c34"
|
||||
],
|
||||
"fill-opacity": 0.9
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landuse",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "landuse",
|
||||
"paint": {
|
||||
"fill-color": [
|
||||
"match", ["get", "class"],
|
||||
"residential", "#303632",
|
||||
"commercial", "#3d3432",
|
||||
"industrial", "#383735",
|
||||
"retail", "#403432",
|
||||
"military", "#403331",
|
||||
"cemetery", "#304235",
|
||||
"allotments", "#344533",
|
||||
"farmland", "#4b4b38",
|
||||
"farmyard", "#454537",
|
||||
"#303632"
|
||||
],
|
||||
"fill-opacity": 0.8
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "parks",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "park",
|
||||
"paint": {
|
||||
"fill-color": "#304b37",
|
||||
"fill-opacity": 0.9
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "water",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "water",
|
||||
"paint": {
|
||||
"fill-color": "#233f50"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "waterways",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "waterway",
|
||||
"minzoom": 5,
|
||||
"paint": {
|
||||
"line-color": "#426e86",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
5, 0.4,
|
||||
9, 0.8,
|
||||
13, 1.6,
|
||||
17, 4
|
||||
],
|
||||
"line-opacity": 0.95
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "contours-line",
|
||||
"type": "line",
|
||||
"source": "contours",
|
||||
"source-layer": "contour",
|
||||
"minzoom": 10,
|
||||
"paint": {
|
||||
"line-color": "#827d65",
|
||||
"line-opacity": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
10, 0.2,
|
||||
14, 0.5,
|
||||
18, 0.65
|
||||
],
|
||||
"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": "#59635d",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
5, 0.35,
|
||||
9, 0.7,
|
||||
13, 1
|
||||
],
|
||||
"line-opacity": 0.8,
|
||||
"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": "#747c73",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
2, 0.4,
|
||||
5, 0.8,
|
||||
9, 1.4,
|
||||
13, 1.8
|
||||
],
|
||||
"line-opacity": 0.9,
|
||||
"line-dasharray": [3, 2]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "boundary-country",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "boundary",
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "admin_level", 2],
|
||||
["!=", "maritime", 1]
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#9b9d8c",
|
||||
"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": "#454b4a",
|
||||
"fill-outline-color": "#646c68"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "#171c19",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
5, 0.7,
|
||||
8, 1.5,
|
||||
12, 2.8,
|
||||
16, 6.5
|
||||
],
|
||||
"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": "#9a7c5c",
|
||||
"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": "#857a63",
|
||||
"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": "#636a61",
|
||||
"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": "#4f574f",
|
||||
"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": "#a394b5",
|
||||
"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": "#424943",
|
||||
"fill-outline-color": "#596158",
|
||||
"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": "#d4d5c9",
|
||||
"text-halo-color": "#252c27",
|
||||
"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": "#b8a9c6",
|
||||
"text-halo-color": "#252c27",
|
||||
"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": "#e0e0d5",
|
||||
"text-halo-color": "#252c27",
|
||||
"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": "#d6d8ce",
|
||||
"text-halo-color": "#252c27",
|
||||
"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": "#d6d8ce",
|
||||
"text-halo-color": "#252c27",
|
||||
"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": "#b5b7ad",
|
||||
"text-halo-color": "#252c27",
|
||||
"text-halo-width": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,535 @@
|
||||
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Light Topographic",
|
||||
"id": "light-matter-basic",
|
||||
"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": "#f0eee6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landcover",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "landcover",
|
||||
"paint": {
|
||||
"fill-color": [
|
||||
"match", ["get", "class"],
|
||||
"wood", "#c1d5ae",
|
||||
"forest", "#b8d1a6",
|
||||
"grass", "#dce7c9",
|
||||
"grassland", "#dce7c9",
|
||||
"scrub", "#d2dfb9",
|
||||
"heath", "#d8dfbf",
|
||||
"wetland", "#d4dfc3",
|
||||
"farmland", "#e8e2c9",
|
||||
"ice", "#f5f5f0",
|
||||
"#e8e5d9"
|
||||
],
|
||||
"fill-opacity": 0.8
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landuse",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "landuse",
|
||||
"paint": {
|
||||
"fill-color": [
|
||||
"match", ["get", "class"],
|
||||
"residential", "#e9e5dc",
|
||||
"commercial", "#eadfd5",
|
||||
"industrial", "#e4dfd9",
|
||||
"retail", "#eee0d7",
|
||||
"military", "#e6d9d0",
|
||||
"cemetery", "#d4dfc8",
|
||||
"allotments", "#d7e4c5",
|
||||
"farmland", "#e8e2c9",
|
||||
"farmyard", "#e8e2c9",
|
||||
"#e9e5dc"
|
||||
],
|
||||
"fill-opacity": 0.65
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "parks",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "park",
|
||||
"paint": {
|
||||
"fill-color": "#c9dfb6",
|
||||
"fill-opacity": 0.85
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "water",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "water",
|
||||
"paint": {
|
||||
"fill-color": "#a9d0e4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "waterways",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "waterway",
|
||||
"minzoom": 5,
|
||||
"paint": {
|
||||
"line-color": "#91c5df",
|
||||
"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": "#b5a48c",
|
||||
"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": "#bdb4ac",
|
||||
"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": "#a69b92",
|
||||
"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": "#8f8178",
|
||||
"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": "#d0c9bd",
|
||||
"fill-outline-color": "#b4aa9c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "#d0c5b4",
|
||||
"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": "#e8ad76",
|
||||
"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": "#f2d29a",
|
||||
"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": "#fffdf7",
|
||||
"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": "#fffdf7",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
8, 0.3,
|
||||
11, 0.6,
|
||||
14, 1.2,
|
||||
18, 2.5
|
||||
],
|
||||
"line-opacity": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "railways",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": [
|
||||
"in", "class", "rail", "light_rail", "subway", "tram"
|
||||
],
|
||||
"minzoom": 8,
|
||||
"paint": {
|
||||
"line-color": "#9e91a6",
|
||||
"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": "#ded5c6",
|
||||
"fill-outline-color": "#c9bca9",
|
||||
"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": "#655d53",
|
||||
"text-halo-color": "#f7f5ee",
|
||||
"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": "#786a82",
|
||||
"text-halo-color": "#f7f5ee",
|
||||
"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": "#514a42",
|
||||
"text-halo-color": "#f7f5ee",
|
||||
"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": "#514a42",
|
||||
"text-halo-color": "#f7f5ee",
|
||||
"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": "#514a42",
|
||||
"text-halo-color": "#f7f5ee",
|
||||
"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": "#71685e",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,289 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Satellite",
|
||||
"id": "satellite",
|
||||
"sources": {
|
||||
"satellite": {
|
||||
"type": "raster",
|
||||
"url": "mbtiles://satellite"
|
||||
},
|
||||
"osm": {
|
||||
"type": "vector",
|
||||
"url": "mbtiles://osm"
|
||||
}
|
||||
},
|
||||
"glyphs": "/fonts/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "satellite-raster",
|
||||
"type": "raster",
|
||||
"source": "satellite",
|
||||
"paint": {
|
||||
"raster-opacity": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-small",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["in", "class", "residential", "service", "track", "path"],
|
||||
"minzoom": 5,
|
||||
"paint": {
|
||||
"line-color": "#ddd",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
5, 0.15,
|
||||
7, 0.25,
|
||||
12, 0.6,
|
||||
16, 1
|
||||
],
|
||||
"line-opacity": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
5, 0.1,
|
||||
7, 0.2,
|
||||
12, 0.6
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-local",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["==", "class", "minor"],
|
||||
"minzoom": 6,
|
||||
"paint": {
|
||||
"line-color": "#ddd",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
6, 0.15,
|
||||
8, 0.3,
|
||||
12, 0.8,
|
||||
16, 1.2
|
||||
],
|
||||
"line-opacity": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
6, 0.1,
|
||||
8, 0.3,
|
||||
12, 0.6
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-primary",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["in", "class", "primary", "secondary"],
|
||||
"minzoom": 7,
|
||||
"paint": {
|
||||
"line-color": "#eee",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
7, 0.3,
|
||||
12, 1.5,
|
||||
16, 3
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "roads-motorway",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["in", "class", "motorway", "trunk"],
|
||||
"minzoom": 6,
|
||||
"paint": {
|
||||
"line-color": "#fff",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
6, 0.5,
|
||||
10, 2,
|
||||
14, 5
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "boundary-country",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "boundary",
|
||||
"filter": ["all", ["==", "admin_level", 2], ["!=", "maritime", 1]],
|
||||
"paint": {
|
||||
"line-color": "hsl(0, 0%, 60%)",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
0, 0.5,
|
||||
4, 1.5,
|
||||
6, 2
|
||||
],
|
||||
"line-opacity": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "boundary-state",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "boundary",
|
||||
"filter": ["all", ["==", "admin_level", 4], ["!=", "maritime", 1]],
|
||||
"minzoom": 2,
|
||||
"paint": {
|
||||
"line-color": "hsla(0, 0%, 60%, 0.5)",
|
||||
"line-dasharray": [2, 1],
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
2, 0.5,
|
||||
5, 1,
|
||||
8, 2
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "boundary-local",
|
||||
"type": "line",
|
||||
"source": "osm",
|
||||
"source-layer": "boundary",
|
||||
"filter": ["all", ["==", "admin_level", 6], ["!=", "maritime", 1]],
|
||||
"minzoom": 6,
|
||||
"paint": {
|
||||
"line-color": "#bbbbbb",
|
||||
"line-width": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
6, 0.5,
|
||||
10, 1.2
|
||||
],
|
||||
"line-opacity": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "buildings",
|
||||
"type": "fill",
|
||||
"source": "osm",
|
||||
"source-layer": "building",
|
||||
"minzoom": 14,
|
||||
"paint": {
|
||||
"fill-color": "rgba(222, 211, 190, 1)",
|
||||
"fill-opacity": { "base": 1, "stops": [[13, 0], [15, 1]] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "house-numbers",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "housenumber",
|
||||
"minzoom": 15,
|
||||
"layout": {
|
||||
"text-field": "{housenumber}",
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-size": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
15, 10,
|
||||
29, 14
|
||||
]
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "rgba(100,100,100,0.75)",
|
||||
"text-halo-color": "rgba(255,255,255,0.6)",
|
||||
"text-halo-width": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "road-labels",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation_name",
|
||||
"minzoom": 13,
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"text-field": ["coalesce", ["get", "name:en"], ["get", "name"]],
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-size": [
|
||||
"interpolate", ["linear"], ["zoom"],
|
||||
13, 10,
|
||||
16, 14
|
||||
]
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#444",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "rail-labels",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "transportation",
|
||||
"filter": ["==", "class", "rail"],
|
||||
"minzoom": 14,
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"text-field": ["coalesce", ["get", "name:en"], ["get", "name"]],
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-size": 11
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#444",
|
||||
"text-halo-color": "rgba(255,255,255,0.6)",
|
||||
"text-halo-width": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "airport-labels",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "aeroway",
|
||||
"minzoom": 14,
|
||||
"layout": {
|
||||
"text-field": ["coalesce", ["get", "name:en"], ["get", "name"]],
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-size": 12
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#444",
|
||||
"text-halo-color": "rgba(255,255,255,0.6)",
|
||||
"text-halo-width": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"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, 13
|
||||
]
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#444",
|
||||
"text-halo-color": "rgba(255,255,255,0.6)",
|
||||
"text-halo-width": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "places",
|
||||
"type": "symbol",
|
||||
"source": "osm",
|
||||
"source-layer": "place",
|
||||
"minzoom": 2,
|
||||
"filter": ["!=", "class", "continent"],
|
||||
"layout": {
|
||||
"text-size": 12,
|
||||
"text-font": ["Noto Sans Regular"],
|
||||
"text-field": ["coalesce", ["get", "name:en"], ["get", "name_en"], ["get", "name"]]
|
||||
},
|
||||
"paint": {
|
||||
"text-color": "#444",
|
||||
"text-halo-color": "#ffffff",
|
||||
"text-halo-width": 2
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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