From 45187168244016c75362d6567928fe8c914a1082 Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Sun, 24 Jul 2022 12:10:27 +0200 Subject: [PATCH] Use onwheels icon for parking --- assets/themes/onwheels/license_info.json | 10 ++++++++++ assets/themes/onwheels/onwheels.json | 18 +++++++++++------- assets/themes/onwheels/parking.svg | 1 + 3 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 assets/themes/onwheels/parking.svg diff --git a/assets/themes/onwheels/license_info.json b/assets/themes/onwheels/license_info.json index 9f2dcf81a..dab6006e7 100644 --- a/assets/themes/onwheels/license_info.json +++ b/assets/themes/onwheels/license_info.json @@ -6,5 +6,15 @@ "Free Wheelies" ], "sources": [] + }, + { + "path": "parking.svg", + "license": "CC-BY-SA", + "authors": [ + "CT Steward" + ], + "sources": [ + "https://www.ctsteward.com/" + ] } ] \ No newline at end of file diff --git a/assets/themes/onwheels/onwheels.json b/assets/themes/onwheels/onwheels.json index 274ec5e8e..a8a0d4b8d 100644 --- a/assets/themes/onwheels/onwheels.json +++ b/assets/themes/onwheels/onwheels.json @@ -22,7 +22,16 @@ "entrance", "food", "kerbs", - "parking", + { + "builtin": "parking", + "override": { + "mapRendering": [ + { + "icon": "./assets/themes/onwheels/parking.svg" + } + ] + } + }, "picnic_table", "school", "shops", @@ -68,11 +77,6 @@ ] } ], - "minzoom": "15", - "mapRendering": [ - { - "label": null - } - ] + "minzoom": "15" } } \ No newline at end of file diff --git a/assets/themes/onwheels/parking.svg b/assets/themes/onwheels/parking.svg new file mode 100644 index 000000000..2b4df1489 --- /dev/null +++ b/assets/themes/onwheels/parking.svg @@ -0,0 +1 @@ + \ No newline at end of file