Files
2026-09-21 03:53:15 +03:00

119 lines
3.7 KiB
JSON

{
"version": 8,
"name": "Dark",
"metadata": { "tile-server:kind": "openmaptiles" },
"sources": {
"openmaptiles": { "type": "vector", "url": "{{tilejson}}" }
},
"glyphs": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
"layers": [
{ "id": "background", "type": "background", "paint": { "background-color": "#1b1f24" } },
{
"id": "landcover-wood",
"type": "fill",
"source": "openmaptiles",
"source-layer": "landcover",
"filter": ["==", "class", "wood"],
"paint": { "fill-color": "#243026", "fill-opacity": 0.9 }
},
{
"id": "park",
"type": "fill",
"source": "openmaptiles",
"source-layer": "park",
"paint": { "fill-color": "#2a382c", "fill-opacity": 0.7 }
},
{
"id": "water",
"type": "fill",
"source": "openmaptiles",
"source-layer": "water",
"filter": ["==", "$type", "Polygon"],
"paint": { "fill-color": "#1a3347" }
},
{
"id": "waterway",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"paint": { "line-color": "#1a3347", "line-width": { "base": 1.3, "stops": [[8, 0.5], [16, 4]] } }
},
{
"id": "building",
"type": "fill",
"source": "openmaptiles",
"source-layer": "building",
"minzoom": 13,
"paint": { "fill-color": "#2b3138", "fill-outline-color": "#3a414a" }
},
{
"id": "road-minor",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"minzoom": 12,
"filter": ["in", "class", "minor", "service", "track"],
"paint": { "line-color": "#3d4450", "line-width": { "base": 1.2, "stops": [[12, 0.8], [18, 8]] } }
},
{
"id": "road-secondary",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["in", "class", "primary", "secondary", "tertiary"],
"paint": { "line-color": "#5a6270", "line-width": { "base": 1.2, "stops": [[6, 0.8], [18, 14]] } }
},
{
"id": "road-motorway",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["in", "class", "motorway", "trunk"],
"paint": { "line-color": "#c47a3a", "line-width": { "base": 1.2, "stops": [[5, 0.8], [18, 18]] } }
},
{
"id": "road-rail",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": ["==", "class", "rail"],
"paint": { "line-color": "#4a4450", "line-width": 0.8 }
},
{
"id": "boundary",
"type": "line",
"source": "openmaptiles",
"source-layer": "boundary",
"filter": ["in", "admin_level", 2, 4],
"paint": { "line-color": "#6a7380", "line-dasharray": [3, 2], "line-width": 1, "line-opacity": 0.6 }
},
{
"id": "road-name",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "transportation_name",
"minzoom": 12,
"layout": {
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
"text-font": ["Noto Sans Regular"],
"text-size": 11,
"symbol-placement": "line"
},
"paint": { "text-color": "#d7dde6", "text-halo-color": "#1b1f24", "text-halo-width": 1.2 }
},
{
"id": "place-city",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "place",
"filter": ["in", "class", "city", "town"],
"layout": {
"text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]],
"text-font": ["Noto Sans Bold"],
"text-size": { "stops": [[4, 12], [10, 18]] }
},
"paint": { "text-color": "#f2f5f8", "text-halo-color": "#1b1f24", "text-halo-width": 1.6 }
}
]
}