Last active
April 11, 2024 10:13
-
-
Save oberhamsi/cd51a723375f4131860d41593e919040 to your computer and use it in GitHub Desktop.
style-orfon.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": 8, | |
| "name": "versatiles-colorful", | |
| "metadata": { | |
| "maputnik:renderer": "mbgljs", | |
| "license": "https://creativecommons.org/publicdomain/zero/1.0/" | |
| }, | |
| "sources": { | |
| "versatiles-shortbread": { | |
| "tilejson": "3.0.0", | |
| "attribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors", | |
| "tiles": ["https://tiles.versatiles.org/tiles/osm/{z}/{x}/{y}"], | |
| "type": "vector", | |
| "scheme": "xyz", | |
| "format": "pbf", | |
| "bounds": [-180, -85.0511287798066, 180, 85.0511287798066], | |
| "minzoom": 0, | |
| "maxzoom": 14, | |
| "vector_layers": [ | |
| { | |
| "id": "place_labels", | |
| "fields": { | |
| "kind": "String", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String", | |
| "population": "Number" | |
| }, | |
| "minzoom": 3, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "boundaries", | |
| "fields": { | |
| "admin_level": "Number", | |
| "coastline": "Boolean", | |
| "disputed": "Boolean", | |
| "maritime": "Boolean" | |
| }, | |
| "minzoom": 0, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "boundary_labels", | |
| "fields": { | |
| "admin_level": "Number", | |
| "land_area": "Number", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String", | |
| "name_single": "String", | |
| "way_area": "Number" | |
| }, | |
| "minzoom": 2, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "addresses", | |
| "fields": {"housename": "String", "housenumber": "String"}, | |
| "minzoom": 14, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "water_lines", | |
| "fields": { | |
| "bridge": "Boolean", | |
| "kind": "String", | |
| "tunnel": "Boolean" | |
| }, | |
| "minzoom": 4, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "water_lines_labels", | |
| "fields": { | |
| "bridge": "Boolean", | |
| "kind": "String", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String", | |
| "tunnel": "Boolean" | |
| }, | |
| "minzoom": 4, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "dam_lines", | |
| "fields": {"kind": "String"}, | |
| "minzoom": 12, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "dam_polygons", | |
| "fields": {"kind": "String"}, | |
| "minzoom": 12, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "pier_lines", | |
| "fields": {"kind": "String"}, | |
| "minzoom": 12, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "pier_polygons", | |
| "fields": {"kind": "String"}, | |
| "minzoom": 12, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "bridges", | |
| "fields": {"kind": "String"}, | |
| "minzoom": 12, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "street_polygons", | |
| "fields": { | |
| "bridge": "Boolean", | |
| "kind": "String", | |
| "rail": "Boolean", | |
| "service": "String", | |
| "surface": "String", | |
| "tunnel": "Boolean" | |
| }, | |
| "minzoom": 11, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "streets_polygons_labels", | |
| "fields": { | |
| "kind": "String", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String" | |
| }, | |
| "minzoom": 14, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "ferries", | |
| "fields": { | |
| "kind": "String", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String" | |
| }, | |
| "minzoom": 8, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "streets", | |
| "fields": { | |
| "bicycle": "String", | |
| "bridge": "Boolean", | |
| "horse": "String", | |
| "kind": "String", | |
| "link": "Boolean", | |
| "oneway": "Boolean", | |
| "oneway_reverse": "Boolean", | |
| "rail": "Boolean", | |
| "service": "String", | |
| "surface": "String", | |
| "tracktype": "String", | |
| "tunnel": "Boolean" | |
| }, | |
| "minzoom": 5, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "street_labels", | |
| "fields": { | |
| "kind": "String", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String", | |
| "ref": "String", | |
| "ref_cols": "Number", | |
| "ref_rows": "Number", | |
| "tunnel": "Boolean" | |
| }, | |
| "minzoom": 10, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "street_labels_points", | |
| "fields": { | |
| "kind": "String", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String", | |
| "ref": "String" | |
| }, | |
| "minzoom": 12, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "aerialways", | |
| "fields": {"kind": "String"}, | |
| "minzoom": 12, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "public_transport", | |
| "fields": { | |
| "iata": "String", | |
| "kind": "String", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String", | |
| "station": "String" | |
| }, | |
| "minzoom": 11, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "buildings", | |
| "fields": { | |
| "amenity": "String", | |
| "dummy": "Number", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String" | |
| }, | |
| "minzoom": 14, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "water_polygons", | |
| "fields": {"kind": "String", "way_area": "Number"}, | |
| "minzoom": 4, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "ocean", | |
| "fields": {"x": "Number", "y": "Number"}, | |
| "minzoom": 0, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "water_polygons_labels", | |
| "fields": { | |
| "kind": "String", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String", | |
| "way_area": "Number" | |
| }, | |
| "minzoom": 14, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "land", | |
| "fields": {"kind": "String"}, | |
| "minzoom": 7, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "sites", | |
| "fields": { | |
| "amenity": "String", | |
| "kind": "String", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String" | |
| }, | |
| "minzoom": 14, | |
| "maxzoom": 14 | |
| }, | |
| { | |
| "id": "pois", | |
| "fields": { | |
| "amenity": "String", | |
| "atm": "Boolean", | |
| "cuisine": "String", | |
| "denomination": "String", | |
| "emergency": "String", | |
| "highway": "String", | |
| "historic": "String", | |
| "information": "String", | |
| "leisure": "String", | |
| "man_made": "String", | |
| "name": "String", | |
| "name_de": "String", | |
| "name_en": "String", | |
| "recycling:clothes": "Boolean", | |
| "recycling:glass_bottles": "Boolean", | |
| "recycling:paper": "Boolean", | |
| "recycling:scrap_metal": "Boolean", | |
| "religion": "String", | |
| "shop": "String", | |
| "sport": "String", | |
| "tourism": "String", | |
| "tower:type": "String", | |
| "vending": "String" | |
| }, | |
| "minzoom": 14, | |
| "maxzoom": 14 | |
| } | |
| ] | |
| } | |
| }, | |
| "sprite": "https://tiles.versatiles.org/assets/sprites/sprites", | |
| "glyphs": "https://pipe.orf.at/mvt-fonts/{fontstack}/{range}.pbf", | |
| "layers": [ | |
| { | |
| "id": "background", | |
| "type": "background", | |
| "paint": {"background-color": "#fefefe"} | |
| }, | |
| { | |
| "id": "water-ocean", | |
| "type": "fill", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "ocean", | |
| "paint": {"fill-color": "#beddf3"} | |
| }, | |
| { | |
| "id": "landuse-res-com", | |
| "type": "fill", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "land", | |
| "minzoom": 10, | |
| "maxzoom": 14, | |
| "filter": [ | |
| "all", | |
| ["in", "kind", "residential", "commercial", "industrial"] | |
| ], | |
| "layout": {"visibility": "visible"}, | |
| "paint": { | |
| "fill-color": "#CBCBCB", | |
| "fill-opacity": {"stops": [[10, 0.5], [14, 1]], "base": 1} | |
| } | |
| }, | |
| { | |
| "id": "landuse-forest", | |
| "type": "fill", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "land", | |
| "filter": ["all", ["in", "kind", "forest"]], | |
| "paint": {"fill-color": "#E1ECD6"} | |
| }, | |
| { | |
| "id": "buildings", | |
| "type": "fill", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "buildings", | |
| "paint": {"fill-color": "#B4B4B4"} | |
| }, | |
| { | |
| "id": "roads-low", | |
| "type": "line", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "streets", | |
| "minzoom": 7, | |
| "maxzoom": 9, | |
| "filter": ["all", ["!=", "link", true]], | |
| "paint": { | |
| "line-color": "#ffea7f", | |
| "line-width": {"stops": [[5, 0.4], [10, 1]]} | |
| } | |
| }, | |
| { | |
| "id": "roads-med", | |
| "type": "line", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "streets", | |
| "minzoom": 9, | |
| "maxzoom": 11, | |
| "filter": [ | |
| "all", | |
| ["in", "kind", "motorway", "trunk", "primary", "secondary"] | |
| ], | |
| "layout": {"visibility": "visible"}, | |
| "paint": {"line-color": "#ffea7f"} | |
| }, | |
| { | |
| "id": "roads-high-major", | |
| "type": "line", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "streets", | |
| "minzoom": 11, | |
| "filter": ["all", ["in", "kind", "motorway", "trunk", "primary"]], | |
| "paint": {"line-width": 2.5, "line-color": "#ffea7f"} | |
| }, | |
| { | |
| "id": "roads-high-minor", | |
| "type": "line", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "streets", | |
| "minzoom": 11, | |
| "filter": ["all", ["!in", "kind", "motorway", "trunk", "primary"]], | |
| "layout": {"visibility": "visible"}, | |
| "paint": {"line-width": 0.8, "line-color": "#ffea7f"} | |
| }, | |
| { | |
| "id": "boundary-country:outline", | |
| "type": "line", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "boundaries", | |
| "filter": [ | |
| "all", | |
| ["==", "admin_level", 2], | |
| ["!=", "maritime", true], | |
| ["!=", "disputed", true], | |
| ["!=", "coastline", true] | |
| ], | |
| "layout": {"line-cap": "round", "line-join": "round"}, | |
| "paint": { | |
| "line-blur": 1, | |
| "line-width": {"stops": [[2, 0], [3, 2], [10, 4]], "base": 1}, | |
| "line-opacity": 0.75, | |
| "line-color": "#afafaf" | |
| } | |
| }, | |
| { | |
| "id": "boundary-state", | |
| "type": "line", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "boundaries", | |
| "filter": [ | |
| "all", | |
| ["==", "admin_level", 4], | |
| ["!=", "maritime", true], | |
| ["!=", "disputed", true], | |
| ["!=", "coastline", true] | |
| ], | |
| "layout": {"line-cap": "round", "line-join": "round"}, | |
| "paint": { | |
| "line-color": "#afafaf", | |
| "line-width": {"stops": [[7, 0], [8, 1], [10, 2]]} | |
| } | |
| }, | |
| { | |
| "id": "label-address-housenumber", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "addresses", | |
| "minzoom": 17, | |
| "filter": ["has", "housenumber"], | |
| "layout": { | |
| "text-field": "{housenumber}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "symbol-placement": "point", | |
| "text-anchor": "center", | |
| "text-size": {"stops": [[17, 8], [19, 10]]} | |
| }, | |
| "paint": { | |
| "text-halo-color": "#f9f6f2", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1, | |
| "icon-color": "#c7a481", | |
| "text-color": "#c7a481" | |
| } | |
| }, | |
| { | |
| "id": "label-motorway-shield", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "street_labels", | |
| "minzoom": 14, | |
| "filter": ["==", "kind", "motorway"], | |
| "layout": { | |
| "text-field": "{ref}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "symbol-placement": "line", | |
| "text-anchor": "center", | |
| "text-size": {"stops": [[14, 10], [18, 12], [20, 16]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#ffffff", | |
| "text-color": "#ffffff", | |
| "text-halo-color": "#ffcc88", | |
| "text-halo-width": 0.1, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-street-pedestrian", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "street_labels", | |
| "minzoom": 12, | |
| "filter": ["==", "kind", "pedestrian"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "symbol-placement": "line", | |
| "text-anchor": "center", | |
| "text-size": {"stops": [[12, 10], [15, 13]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-street-livingstreet", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "street_labels", | |
| "minzoom": 12, | |
| "filter": ["==", "kind", "living_street"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "symbol-placement": "line", | |
| "text-anchor": "center", | |
| "text-size": {"stops": [[12, 10], [15, 13]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-street-residential", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "street_labels", | |
| "minzoom": 12, | |
| "filter": ["==", "kind", "residential"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "symbol-placement": "line", | |
| "text-anchor": "center", | |
| "text-size": {"stops": [[12, 10], [15, 13]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-street-unclassified", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "street_labels", | |
| "minzoom": 12, | |
| "filter": ["==", "kind", "unclassified"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "symbol-placement": "line", | |
| "text-anchor": "center", | |
| "text-size": {"stops": [[12, 10], [15, 13]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-street-tertiary", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "street_labels", | |
| "minzoom": 12, | |
| "filter": ["==", "kind", "tertiary"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "symbol-placement": "line", | |
| "text-anchor": "center", | |
| "text-size": {"stops": [[12, 10], [15, 13]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-street-secondary", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "street_labels", | |
| "minzoom": 12, | |
| "filter": ["==", "kind", "secondary"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "symbol-placement": "line", | |
| "text-anchor": "center", | |
| "text-size": {"stops": [[12, 10], [15, 13]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-street-primary", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "street_labels", | |
| "minzoom": 12, | |
| "filter": ["==", "kind", "primary"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "symbol-placement": "line", | |
| "text-anchor": "center", | |
| "text-size": {"stops": [[12, 10], [15, 13]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-street-trunk", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "street_labels", | |
| "minzoom": 12, | |
| "filter": ["==", "kind", "trunk"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "symbol-placement": "line", | |
| "text-anchor": "center", | |
| "text-size": {"stops": [[12, 10], [15, 13]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-place-neighbourhood", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "place_labels", | |
| "minzoom": 14, | |
| "filter": ["==", "kind", "neighbourhood"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-size": {"stops": [[14, 12]]}, | |
| "text-transform": "uppercase" | |
| }, | |
| "paint": { | |
| "icon-color": "#284349", | |
| "text-color": "#284349", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-place-quarter", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "place_labels", | |
| "minzoom": 13, | |
| "filter": ["==", "kind", "quarter"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-size": {"stops": [[13, 13]]}, | |
| "text-transform": "uppercase" | |
| }, | |
| "paint": { | |
| "icon-color": "#283e49", | |
| "text-color": "#283e49", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-place-suburb", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "place_labels", | |
| "minzoom": 11, | |
| "filter": ["==", "kind", "suburb"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-size": {"stops": [[11, 11], [13, 14]]}, | |
| "text-transform": "none" | |
| }, | |
| "paint": { | |
| "icon-color": "#283949", | |
| "text-color": "#283949", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-place-hamlet", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "place_labels", | |
| "minzoom": 13, | |
| "filter": ["==", "kind", "hamlet"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-size": {"stops": [[10, 11], [12, 14]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#283049", | |
| "text-color": "#283049", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-place-village", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "place_labels", | |
| "minzoom": 11, | |
| "filter": ["==", "kind", "village"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-size": {"stops": [[9, 11], [12, 14]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#283049", | |
| "text-color": "#283049", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-place-town", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "place_labels", | |
| "minzoom": 9, | |
| "filter": ["==", "kind", "town"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-size": {"stops": [[8, 11], [12, 14]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#283049", | |
| "text-color": "#283049", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-boundary-state", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "boundary_labels", | |
| "minzoom": 5, | |
| "filter": ["in", "admin_level", 4, "4"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-transform": "uppercase", | |
| "text-anchor": "top", | |
| "text-offset": [0, 0.2], | |
| "text-padding": 0, | |
| "text-optional": true, | |
| "text-size": {"stops": [[5, 8], [8, 12]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#363647", | |
| "text-color": "#363647", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-place-city", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "place_labels", | |
| "minzoom": 7, | |
| "filter": ["==", "kind", "city"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-size": {"stops": [[7, 11], [10, 14]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#283049", | |
| "text-color": "#283049", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-place-statecapital", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "place_labels", | |
| "minzoom": 6, | |
| "filter": ["==", "kind", "state_capital"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-size": {"stops": [[6, 11], [10, 15]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#283049", | |
| "text-color": "#283049", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-place-capital", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "place_labels", | |
| "minzoom": 5, | |
| "filter": ["==", "kind", "capital"], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-size": {"stops": [[5, 12], [10, 16]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#283049", | |
| "text-color": "#283049", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-boundary-country-small", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "boundary_labels", | |
| "minzoom": 4, | |
| "filter": [ | |
| "all", | |
| ["in", "admin_level", 2, "2"], | |
| ["<=", "way_area", 10000000] | |
| ], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-transform": "uppercase", | |
| "text-anchor": "top", | |
| "text-offset": [0, 0.2], | |
| "text-padding": 0, | |
| "text-optional": true, | |
| "text-size": {"stops": [[4, 8], [5, 11]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-boundary-country-medium", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "boundary_labels", | |
| "minzoom": 3, | |
| "filter": [ | |
| "all", | |
| ["in", "admin_level", 2, "2"], | |
| ["<", "way_area", 90000000], | |
| [">", "way_area", 10000000] | |
| ], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-transform": "uppercase", | |
| "text-anchor": "top", | |
| "text-offset": [0, 0.2], | |
| "text-padding": 0, | |
| "text-optional": true, | |
| "text-size": {"stops": [[3, 8], [5, 12]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| }, | |
| { | |
| "id": "label-boundary-country-large", | |
| "type": "symbol", | |
| "source": "versatiles-shortbread", | |
| "source-layer": "boundary_labels", | |
| "minzoom": 2, | |
| "filter": [ | |
| "all", | |
| ["in", "admin_level", 2, "2"], | |
| [">=", "way_area", 90000000] | |
| ], | |
| "layout": { | |
| "text-field": "{name_de}", | |
| "text-font": ["orf-universal-tf-tx-cd-rg"], | |
| "text-transform": "uppercase", | |
| "text-anchor": "top", | |
| "text-offset": [0, 0.2], | |
| "text-padding": 0, | |
| "text-optional": true, | |
| "text-size": {"stops": [[2, 8], [5, 13]]} | |
| }, | |
| "paint": { | |
| "icon-color": "#333344", | |
| "text-color": "#333344", | |
| "text-halo-color": "rgba(255, 255, 255, 0.8)", | |
| "text-halo-width": 2, | |
| "text-halo-blur": 1 | |
| } | |
| } | |
| ], | |
| "id": "cjc04e7" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment