Add pedestrian paths to entrance-layer, fix rendering in location-input element, fallback to OSM if map layer is not available

This commit is contained in:
Pieter Vander Vennet 2021-12-09 01:22:57 +01:00
parent fc2ede2259
commit f29c62ab19
7 changed files with 64 additions and 4 deletions

View file

@ -0,0 +1,35 @@
{
"id": "pedestrian_path",
"name": {
"en": "Pedestrain paths"
},
"minzoom": 18,
"source": {
"osmTags": {
"or": [
"highway=footway",
"highway=path",
"highway=corridor",
"highway=steps"
]
}
},
"title": {},
"description": {
"en": "Pedestrian footpaths, especially used for indoor navigation and snapping entrances to this layer"
},
"mapRendering": [
{
"icon": "./assets/svg/bug.svg",
"location": [
"point"
]
},
{
"color": "#b33",
"width": 4,
"dashArray": "12 6"
}
]
}