{ "version": 8, "name": "Dark Topographic", "sources": { "osm": { "type": "vector", "url": "mbtiles://osm" }, "contours": { "type": "vector", "url": "mbtiles://contours" } }, "glyphs": "/fonts/{fontstack}/{range}.pbf", "layers": [ { "id": "background", "type": "background", "paint": { "background-color": "rgb(12,12,12)" } }, { "id": "water", "type": "fill", "source": "osm", "source-layer": "water", "paint": { "fill-color": "rgb(27,27,29)" } }, { "id": "residential", "type": "fill", "source": "osm", "source-layer": "landuse", "filter": ["==", "class", "residential"], "paint": { "fill-color": "hsl(0,2%,5%)", "fill-opacity": 0.4 } }, { "id": "landcover-wood", "type": "fill", "source": "osm", "source-layer": "landcover", "filter": ["==", "class", "wood"], "paint": { "fill-color": "rgb(170,170,170)", "fill-opacity": 0.075 } }, { "id": "landcover-wetland", "type": "fill", "source": "osm", "source-layer": "landcover", "filter": ["==", "class", "wetland"], "paint": { "fill-color": "rgb(150,150,150)", "fill-opacity": 0.075 } }, { "id": "parks", "type": "fill", "source": "osm", "source-layer": "landuse", "filter": ["==", "class", "park"], "paint": { "fill-color": "rgb(0,180,0)", "fill-opacity": 0.075, "fill-outline-color": "rgb(0,120,0)" } }, { "id": "roads-small", "type": "line", "source": "osm", "source-layer": "transportation", "filter": ["in", "class", "residential", "service", "track", "path"], "minzoom": 5, "paint": { "line-color": "#1f1f1f", "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": "#2a2a2a", "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": "#333333", "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": "#555555", "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": "#888", "line-width": [ "interpolate", ["linear"], ["zoom"], 0, 0.5, 4, 1.5, 6, 2 ], "line-opacity": [ "interpolate", ["linear"], ["zoom"], 0, 0.3, 3, 0.6, 5, 0.8 ] } }, { "id": "boundary-state", "type": "line", "source": "osm", "source-layer": "boundary", "filter": ["all", ["==", "admin_level", 4], ["!=", "maritime", 1]], "minzoom": 2, "paint": { "line-color": "#666", "line-width": [ "interpolate", ["linear"], ["zoom"], 2, 0.5, 5, 1, 8, 2 ], "line-opacity": [ "interpolate", ["linear"], ["zoom"], 2, 0, 4, 0.5, 6, 0.8 ] } }, { "id": "boundary-local", "type": "line", "source": "osm", "source-layer": "boundary", "filter": ["all", ["==", "admin_level", 6], ["!=", "maritime", 1]], "minzoom": 6, "paint": { "line-color": "#444", "line-width": [ "interpolate", ["linear"], ["zoom"], 6, 0.5, 10, 1.2 ], "line-opacity": [ "interpolate", ["linear"], ["zoom"], 6, 0, 8, 0.5, 12, 0.8 ] } }, { "id": "buildings", "type": "fill", "source": "osm", "source-layer": "building", "minzoom": 14, "paint": { "fill-color": "#222222", "fill-opacity": 0.7 } }, { "id": "places", "type": "symbol", "source": "osm", "source-layer": "place", "minzoom": 2, "layout": { "text-size": 12, "text-font": ["Noto Sans Regular"], "text-field": ["coalesce", ["get", "name:en"], ["get", "name_en"], ["get", "name"]] }, "filter": ["!=", "class", "continent"], "paint": { "text-color": "rgba(200,200,200,0.4)", "text-halo-color": "rgba(0,0,0,0.6)", "text-halo-width": 2 } }, { "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": "rgba(200,200,200,0.4)", "text-halo-color": "rgba(0,0,0,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": "rgba(200,200,200,0.4)", "text-halo-color": "rgba(0,0,0,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": "rgba(200,200,200,0.4)", "text-halo-color": "rgba(0,0,0,0.6)", "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": "rgba(200,200,200,0.4)", "text-halo-color": "rgba(0,0,0,0.6)", "text-halo-width": 1 } }, { "id": "natural-labels", "type": "symbol", "source": "osm", "source-layer": "natural", "minzoom": 14, "layout": { "text-field": ["coalesce", ["get", "name:en"], ["get", "name"]], "text-font": ["Noto Sans Regular"], "text-size": 11 }, "paint": { "text-color": "rgba(200,200,200,0.4)", "text-halo-color": "rgba(0,0,0,0.6)", "text-halo-width": 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(200,200,200,0.2)", "text-halo-color": "rgba(0,0,0,0.6)", "text-halo-width": 1 } }, { "id": "contours-line", "type": "line", "source": "contours", "source-layer": "contour", "minzoom": 10, "paint": { "line-color": "#555555", "line-opacity": [ "interpolate", ["linear"], ["zoom"], 10, 0.2, 14, 0.6 ], "line-width": [ "interpolate", ["linear"], ["zoom"], 10, 0.5, 14, 1.5 ] } } ], "id": "dark-matter-slim" }