From dff8f51a6aff2f4b20c00f55212491a060f28736 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 13 Jul 2022 13:13:08 +0200 Subject: [PATCH] Fix icons, rename same-as --- assets/themes/cyclofix/cyclofix.json | 23 +++++++++-- assets/themes/cyclofix/key.svg | 40 +++++++++++++++++++ .../toerisme_vlaanderen.json | 4 +- 3 files changed, 61 insertions(+), 6 deletions(-) create mode 100644 assets/themes/cyclofix/key.svg diff --git a/assets/themes/cyclofix/cyclofix.json b/assets/themes/cyclofix/cyclofix.json index 09775e433f..ce47e0a4de 100644 --- a/assets/themes/cyclofix/cyclofix.json +++ b/assets/themes/cyclofix/cyclofix.json @@ -44,9 +44,19 @@ "bicycle_rental" ], "override": { - "id": "charging_station_non_docking", + "id": "bicycle_rental_non_docking", "minzoom": 14, "=presets": [], + "=mapRendering": [ + { + "icon": "pin:#ba2792;./assets/themes/cyclofix/key.svg", + "iconSize": "40,40,bottom", + "location": [ + "point", + "centroid" + ] + } + ], "source": { "osmTags": { "and+": [ @@ -62,12 +72,17 @@ "override": { "name": null, "filter": { - "sameAs": "charging_station_non_docking" + "sameAs": "bicycle_rental_non_docking" }, "minzoom": 18, - "mapRendering": [ + "=mapRendering": [ { - "icon": "pin:blue;./assets/themes/cyclofix/key.svg" + "icon": "pin:#ba2792;./assets/themes/cyclofix/key.svg", + "iconSize": "40,40,bottom", + "location": [ + "point", + "centroid" + ] } ] } diff --git a/assets/themes/cyclofix/key.svg b/assets/themes/cyclofix/key.svg new file mode 100644 index 0000000000..bb4c55df7c --- /dev/null +++ b/assets/themes/cyclofix/key.svg @@ -0,0 +1,40 @@ + + + + + + diff --git a/assets/themes/toerisme_vlaanderen/toerisme_vlaanderen.json b/assets/themes/toerisme_vlaanderen/toerisme_vlaanderen.json index 1746a59d65..3693711bb9 100644 --- a/assets/themes/toerisme_vlaanderen/toerisme_vlaanderen.json +++ b/assets/themes/toerisme_vlaanderen/toerisme_vlaanderen.json @@ -208,7 +208,7 @@ "bicycle_rental" ], "override": { - "id": "charging_station_non_docking", + "id": "bicycle_rental_non_docking", "minzoom": 14, "source": { "osmTags": { @@ -225,7 +225,7 @@ "override": { "name": null, "filter": { - "sameAs": "charging_station_non_docking" + "sameAs": "bicycle_rental_non_docking" }, "minzoom": 18 }