diff --git a/assets/layers/mobility_hub/hub.svg b/assets/layers/mobility_hub/hub.svg
new file mode 100644
index 000000000..5b68cc05b
--- /dev/null
+++ b/assets/layers/mobility_hub/hub.svg
@@ -0,0 +1,55 @@
+
+
+
+
diff --git a/assets/layers/mobility_hub/hub.svg.license b/assets/layers/mobility_hub/hub.svg.license
new file mode 100644
index 000000000..75299f884
--- /dev/null
+++ b/assets/layers/mobility_hub/hub.svg.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: Robin van der Linde
+SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
diff --git a/assets/layers/mobility_hub/license_info.json b/assets/layers/mobility_hub/license_info.json
index adbbfec8e..084bb73cf 100644
--- a/assets/layers/mobility_hub/license_info.json
+++ b/assets/layers/mobility_hub/license_info.json
@@ -10,6 +10,24 @@
"https://ovbureau.nl/"
]
},
+ {
+ "path": "hub.svg",
+ "license": "CC0-1.0",
+ "authors": [
+ "Robin van der Linde"
+ ],
+ "sources": []
+ },
+ {
+ "path": "logo-hoppin.svg",
+ "license": "CC0-1.0",
+ "authors": [
+ "original unknown; traced by M!dgard"
+ ],
+ "sources": [
+ "https://commons.wikimedia.org/wiki/File:Hoppin_logo.svg"
+ ]
+ },
{
"path": "logo-hub.svg",
"license": "ALL-RIGHTS-RESERVED",
diff --git a/assets/layers/mobility_hub/logo-hoppin.svg b/assets/layers/mobility_hub/logo-hoppin.svg
new file mode 100644
index 000000000..8c060c239
--- /dev/null
+++ b/assets/layers/mobility_hub/logo-hoppin.svg
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/assets/layers/mobility_hub/logo-hoppin.svg.license b/assets/layers/mobility_hub/logo-hoppin.svg.license
new file mode 100644
index 000000000..ee8b987bb
--- /dev/null
+++ b/assets/layers/mobility_hub/logo-hoppin.svg.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: original unknown; traced by M!dgard
+SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
diff --git a/assets/layers/mobility_hub/mobility_hub.json b/assets/layers/mobility_hub/mobility_hub.json
index 5b168c864..0cdfd81c0 100644
--- a/assets/layers/mobility_hub/mobility_hub.json
+++ b/assets/layers/mobility_hub/mobility_hub.json
@@ -11,12 +11,36 @@
{
"icon": {
"mappings": [
+ {
+ "if": "network=Hoppin",
+ "then": "square_rounded"
+ }
+ ]
+ },
+ "color": "white"
+ },
+ {
+ "icon": {
+ "mappings": [
+ {
+ "if": {
+ "and": [
+ "_country=nl",
+ "network!=Groningen-Drenthe"
+ ]
+ },
+ "then": "./assets/layers/mobility_hub/logo-hub.svg"
+ },
{
"if": "network=Groningen-Drenthe",
"then": "./assets/layers/mobility_hub/hub-gd.svg"
+ },
+ {
+ "if": "network=Hoppin",
+ "then": "./assets/layers/mobility_hub/logo-hoppin.svg"
}
],
- "render": "./assets/layers/mobility_hub/logo-hub.svg"
+ "render": "./assets/layers/mobility_hub/hub.svg"
}
}
],
@@ -69,7 +93,35 @@
"render": {
"en": "This mobility hub belongs to the network {network}",
"nl": "Deze mobiliteitshub hoort bij het netwerk {network}"
- }
+ },
+ "mappings": [
+ {
+ "if": "network=Groningen-Drenthe",
+ "then": {
+ "en": "This mobility hub belongs to the Groningen-Drenthe network",
+ "nl": "Deze mobiliteitshub hoort bij het netwerk Groningen-Drenthe"
+ },
+ "hideInAnswer": "_country!=nl",
+ "icon": "./assets/layers/mobility_hub/hub-gd.svg"
+ },
+ {
+ "if": "network=Hoppin",
+ "then": {
+ "en": "This mobility hub belongs to the Hoppin network",
+ "nl": "Deze mobiliteitshub hoort bij het Hoppin netwerk"
+ },
+ "hideInAnswer": "_country!=be",
+ "icon": "./assets/layers/mobility_hub/logo-hoppin.svg"
+ },
+ {
+ "if": "network=Jelbi",
+ "then": {
+ "en": "This mobility hub belongs to the Jelbi network",
+ "nl": "Deze mobiliteitshub hoort bij het Jelbi netwerk"
+ },
+ "hideInAnswer": "_country!=de"
+ }
+ ]
},
"website"
],