Created
May 24, 2022 19:03
-
-
Save gislars/674b75b87001f05b70a663c2ae2b0dab to your computer and use it in GitHub Desktop.
This file contains 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": "Strassenraum", | |
"metadata": { | |
"maputnik:license": "https://github.com/maputnik/osm-liberty/blob/gh-pages/LICENSE.md", | |
"maputnik:renderer": "mbgljs", | |
"openmaptiles:version": "3.x" | |
}, | |
"sources": { | |
"vts_pl_tiles": { | |
"type": "vector", | |
"tiles": [ | |
"https://vts.mapwebbing.eu/public.parking_segments/{z}/{x}/{y}.pbf" | |
], | |
"minZoom": 14, | |
"maxZoom": 22 | |
} | |
}, | |
"layers": [ | |
{ | |
"id": "vts_pl", | |
"type": "line", | |
"source": "vts_pl_tiles", | |
"source-layer": "public.parking_segments", | |
"filter": [ | |
"all", | |
[ | |
"in", | |
"orientation", | |
"half_on_kerb", | |
"marked", | |
"mixed", | |
"parallel", | |
"perpendicular", | |
"street_side", | |
"yes", | |
"diagonal" | |
] | |
], | |
"paint": {"line-width": 4, "line-color": "rgba(110, 165, 9, 1)"} | |
}, | |
{ | |
"id": "vts_pl_label", | |
"type": "symbol", | |
"source": "vts_pl_tiles", | |
"source-layer": "public.parking_segments", | |
"layout": { | |
"text-field": "{capacity}", | |
"symbol-placement": "line-center" | |
}, | |
"paint": { | |
"text-halo-color": "rgba(255, 255, 255, 1)", | |
"text-halo-width": 1 | |
} | |
} | |
], | |
"id": "osm-liberty" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment