{ "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 } } ] }