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