From 9d20c6373ade1934de4902737bacb07e3e6de4bd Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Sun, 25 Dec 2022 19:50:45 +0100 Subject: [PATCH] Add disabled parking spaces to OnWheels --- assets/layers/parking_spaces/parking_spaces.json | 1 + assets/themes/onwheels/onwheels.json | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/assets/layers/parking_spaces/parking_spaces.json b/assets/layers/parking_spaces/parking_spaces.json index 783410564..8648b02d5 100644 --- a/assets/layers/parking_spaces/parking_spaces.json +++ b/assets/layers/parking_spaces/parking_spaces.json @@ -15,6 +15,7 @@ "osmTags": "amenity=parking_space" }, "tagRenderings": [ + "images", { "id": "type", "question": { diff --git a/assets/themes/onwheels/onwheels.json b/assets/themes/onwheels/onwheels.json index d5fa4d346..f54ed6490 100644 --- a/assets/themes/onwheels/onwheels.json +++ b/assets/themes/onwheels/onwheels.json @@ -189,6 +189,20 @@ ] } }, + { + "builtin": "parking_spaces", + "override": { + "source": { + "osmTags": "parking_space=disabled" + }, + "mapRendering": [ + { + "render": "./assets/themes/onwheels/parking.svg" + } + ] + }, + "hideTagRenderingsWithLabels": ["type", "capacity"] + }, { "builtin": "shops", "override": {