From 4fb70c49fc2d198047cde5d03a4ce50c83524efd Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Mon, 17 May 2021 17:27:28 +0200 Subject: [PATCH] Add layer icons --- Models/Constants.ts | 2 +- assets/layers/slow_roads/license_info.json | 11 +++++++++++ assets/layers/slow_roads/slow_road.svg | 15 +++++++++++++++ assets/layers/slow_roads/slow_roads.json | 7 ++----- assets/themes/speelplekken/license_info.json | 11 +++++++++++ assets/themes/speelplekken/speelplekken.json | 1 + assets/themes/speelplekken/walking_route.svg | 10 ++++++++++ 7 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 assets/layers/slow_roads/slow_road.svg create mode 100644 assets/themes/speelplekken/walking_route.svg diff --git a/Models/Constants.ts b/Models/Constants.ts index 9d05191b4..48b852e23 100644 --- a/Models/Constants.ts +++ b/Models/Constants.ts @@ -2,7 +2,7 @@ import { Utils } from "../Utils"; export default class Constants { - public static vNumber = "0.7.2j"; + public static vNumber = "0.7.2k"; // The user journey states thresholds when a new feature gets unlocked public static userJourney = { diff --git a/assets/layers/slow_roads/license_info.json b/assets/layers/slow_roads/license_info.json index ecfb5f62f..b11a7d29f 100644 --- a/assets/layers/slow_roads/license_info.json +++ b/assets/layers/slow_roads/license_info.json @@ -8,5 +8,16 @@ "sources": [ "https://nl.wikipedia.org/wiki/Bestand:Belgian_road_sign_F12a.svg" ] + }, + { + "authors": [ + "Gitte Loos (Createlli) in opdracht van Provincie Antwerpen " + ], + "path": "slow_road.svg", + "license": "CC-BY-SA 4.0", + "sources": [ + "https://createlli.com/", + "https://www.provincieantwerpen.be/" + ] } ] \ No newline at end of file diff --git a/assets/layers/slow_roads/slow_road.svg b/assets/layers/slow_roads/slow_road.svg new file mode 100644 index 000000000..52382b309 --- /dev/null +++ b/assets/layers/slow_roads/slow_road.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/assets/layers/slow_roads/slow_roads.json b/assets/layers/slow_roads/slow_roads.json index 2bcec9981..7583cfe42 100644 --- a/assets/layers/slow_roads/slow_roads.json +++ b/assets/layers/slow_roads/slow_roads.json @@ -3,6 +3,7 @@ "name": { "nl": "Paadjes, trage wegen en autoluwe straten" }, + "icon": "./assets/layers/slow_roads/slow_road.svg", "minzoom": 16, "source": { "osmTags": { @@ -158,10 +159,6 @@ } ], "hideUnderlayingFeaturesMinPercentage": 0, - "icon": { - "render": "./assets/svg/bug.svg", - "mappings": [] - }, "width": { "render": "7" }, @@ -196,4 +193,4 @@ }, "presets": [ ] -} \ No newline at end of file +} diff --git a/assets/themes/speelplekken/license_info.json b/assets/themes/speelplekken/license_info.json index 02d8a04a3..0332a9a40 100644 --- a/assets/themes/speelplekken/license_info.json +++ b/assets/themes/speelplekken/license_info.json @@ -20,6 +20,17 @@ "https://www.provincieantwerpen.be/" ] }, + { + "authors": [ + "Gitte Loos (Createlli) in opdracht van Provincie Antwerpen " + ], + "path": "walking_route.svg", + "license": "CC-BY-SA 4.0", + "sources": [ + "https://createlli.com/", + "https://www.provincieantwerpen.be/" + ] + }, { "authors": [ "Gitte Loos (Createlli) in opdracht van Provincie Antwerpen " diff --git a/assets/themes/speelplekken/speelplekken.json b/assets/themes/speelplekken/speelplekken.json index b729935c1..19b06092d 100644 --- a/assets/themes/speelplekken/speelplekken.json +++ b/assets/themes/speelplekken/speelplekken.json @@ -130,6 +130,7 @@ }, { "id": "walking_routes", + "icon": "./assets/themes/speelplekken/walking_route.svg", "name": { "nl": "Wandelroutes van provincie Antwerpen" }, diff --git a/assets/themes/speelplekken/walking_route.svg b/assets/themes/speelplekken/walking_route.svg new file mode 100644 index 000000000..5e4fc3449 --- /dev/null +++ b/assets/themes/speelplekken/walking_route.svg @@ -0,0 +1,10 @@ + + + + + +