{ "version": 8, "name": "OSM Bright", "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": "#f4f1ea" } }, { "id": "landcover-wood", "type": "fill", "source": "openmaptiles", "source-layer": "landcover", "filter": ["==", "class", "wood"], "paint": { "fill-color": "#c6ddb4", "fill-opacity": 0.8 } }, { "id": "landcover-grass", "type": "fill", "source": "openmaptiles", "source-layer": "landcover", "filter": ["==", "class", "grass"], "paint": { "fill-color": "#d8e8c8", "fill-opacity": 0.7 } }, { "id": "landcover-farmland", "type": "fill", "source": "openmaptiles", "source-layer": "landcover", "filter": ["==", "class", "farmland"], "paint": { "fill-color": "#e8e4c8", "fill-opacity": 0.6 } }, { "id": "landuse-residential", "type": "fill", "source": "openmaptiles", "source-layer": "landuse", "filter": ["==", "class", "residential"], "paint": { "fill-color": "#e8e0d8", "fill-opacity": 0.5 } }, { "id": "park", "type": "fill", "source": "openmaptiles", "source-layer": "park", "paint": { "fill-color": "#cdebb0", "fill-opacity": 0.7 } }, { "id": "water", "type": "fill", "source": "openmaptiles", "source-layer": "water", "filter": ["==", "$type", "Polygon"], "paint": { "fill-color": "#7eb6d9" } }, { "id": "waterway", "type": "line", "source": "openmaptiles", "source-layer": "waterway", "paint": { "line-color": "#7eb6d9", "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": "#d9d0c7", "fill-outline-color": "#c4bbb2", "fill-opacity": { "base": 1, "stops": [[13, 0], [14, 1]] } } }, { "id": "transportation-tunnel", "type": "line", "source": "openmaptiles", "source-layer": "transportation", "filter": ["==", "brunnel", "tunnel"], "paint": { "line-color": "#d0d0d0", "line-dasharray": [1, 1], "line-width": { "base": 1.4, "stops": [[6, 0.5], [14, 4], [18, 16]] } } }, { "id": "road-minor-casing", "type": "line", "source": "openmaptiles", "source-layer": "transportation", "minzoom": 12, "filter": ["all", ["in", "class", "minor", "service", "track"], ["!=", "brunnel", "tunnel"]], "paint": { "line-color": "#cfcdca", "line-width": { "base": 1.2, "stops": [[12, 1.2], [18, 10]] } } }, { "id": "road-minor", "type": "line", "source": "openmaptiles", "source-layer": "transportation", "minzoom": 12, "filter": ["all", ["in", "class", "minor", "service", "track"], ["!=", "brunnel", "tunnel"]], "paint": { "line-color": "#ffffff", "line-width": { "base": 1.2, "stops": [[12, 0.8], [18, 8]] } } }, { "id": "road-tertiary-casing", "type": "line", "source": "openmaptiles", "source-layer": "transportation", "minzoom": 8, "filter": ["all", ["==", "class", "tertiary"], ["!=", "brunnel", "tunnel"]], "paint": { "line-color": "#c4b9a6", "line-width": { "base": 1.2, "stops": [[8, 1.5], [18, 14]] } } }, { "id": "road-tertiary", "type": "line", "source": "openmaptiles", "source-layer": "transportation", "minzoom": 8, "filter": ["all", ["==", "class", "tertiary"], ["!=", "brunnel", "tunnel"]], "paint": { "line-color": "#ffffff", "line-width": { "base": 1.2, "stops": [[8, 0.8], [18, 12]] } } }, { "id": "road-secondary-casing", "type": "line", "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["in", "class", "primary", "secondary"], ["!=", "brunnel", "tunnel"]], "paint": { "line-color": "#d4b98a", "line-width": { "base": 1.2, "stops": [[6, 1.4], [18, 18]] } } }, { "id": "road-secondary", "type": "line", "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["in", "class", "primary", "secondary"], ["!=", "brunnel", "tunnel"]], "paint": { "line-color": "#feeaa2", "line-width": { "base": 1.2, "stops": [[6, 0.8], [18, 14]] } } }, { "id": "road-motorway-casing", "type": "line", "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["in", "class", "motorway", "trunk"], ["!=", "brunnel", "tunnel"]], "paint": { "line-color": "#d05a3a", "line-width": { "base": 1.2, "stops": [[5, 1.6], [18, 22]] } } }, { "id": "road-motorway", "type": "line", "source": "openmaptiles", "source-layer": "transportation", "filter": ["all", ["in", "class", "motorway", "trunk"], ["!=", "brunnel", "tunnel"]], "paint": { "line-color": "#e8923d", "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": "#9a8f86", "line-width": { "base": 1.2, "stops": [[8, 0.4], [16, 2]] } } }, { "id": "boundary", "type": "line", "source": "openmaptiles", "source-layer": "boundary", "filter": ["in", "admin_level", 2, 4], "paint": { "line-color": "#9e8f80", "line-dasharray": [3, 2], "line-width": { "base": 1, "stops": [[2, 0.6], [10, 1.8]] }, "line-opacity": 0.7 } }, { "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": "#4a433c", "text-halo-color": "#ffffff", "text-halo-width": 1.2 } }, { "id": "water-name", "type": "symbol", "source": "openmaptiles", "source-layer": "water_name", "layout": { "text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]], "text-font": ["Noto Sans Regular"], "text-size": { "stops": [[10, 11], [14, 16]] } }, "paint": { "text-color": "#3d6e8c", "text-halo-color": "#d6ecf7", "text-halo-width": 1.2 } }, { "id": "place-village", "type": "symbol", "source": "openmaptiles", "source-layer": "place", "minzoom": 9, "filter": ["==", "class", "village"], "layout": { "text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]], "text-font": ["Noto Sans Regular"], "text-size": 11 }, "paint": { "text-color": "#333333", "text-halo-color": "#ffffff", "text-halo-width": 1.4 } }, { "id": "place-town", "type": "symbol", "source": "openmaptiles", "source-layer": "place", "minzoom": 7, "filter": ["==", "class", "town"], "layout": { "text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]], "text-font": ["Noto Sans Regular"], "text-size": { "stops": [[7, 12], [12, 16]] } }, "paint": { "text-color": "#222222", "text-halo-color": "#ffffff", "text-halo-width": 1.5 } }, { "id": "place-city", "type": "symbol", "source": "openmaptiles", "source-layer": "place", "filter": ["==", "class", "city"], "layout": { "text-field": ["coalesce", ["get", "name"], ["get", "name:latin"]], "text-font": ["Noto Sans Bold"], "text-size": { "stops": [[4, 12], [10, 20]] } }, "paint": { "text-color": "#111111", "text-halo-color": "#ffffff", "text-halo-width": 1.6 } } ] }