diff --git a/assets/layers/indoors/indoors.json b/assets/layers/indoors/indoors.json index 38b1cdd9b2..bae08331a6 100644 --- a/assets/layers/indoors/indoors.json +++ b/assets/layers/indoors/indoors.json @@ -30,27 +30,39 @@ "mappings": [ { "if": "indoor=room", - "then": "Indoor Room {name}" + "then": { + "en": "Indoor Room {name}" + } }, { "if": "indoor=area", - "then": "Indoor Area {name}" + "then": { + "en": "Indoor Area {name}" + } }, { "if": "indoor=wall", - "then": "Indoor Wall {name}" + "then": { + "en": "Indoor Wall {name}" + } }, { "if": "indoor=corridor", - "then": "Indoor Corridor {name}" + "then": { + "en": "Indoor Corridor {name}" + } }, { "if": "indoor=door", - "then": "Indoor Door {name}" + "then": { + "en": "Indoor Door {name}" + } }, { "if": "indoor=level", - "then": "Indoor Level {name}" + "then": { + "en": "Indoor Level {name}" + } } ] }, @@ -96,7 +108,34 @@ "location": [ "point", "centroid" - ] + ], + "icon": { + "render": null, + "condition": "indoor=room", + "mappings": [ + { + "if": "room=auditorium", + "then": "./assets/layers/indoors/room_auditorium.svg" + }, + { + "if": "room=conference", + "then": "./assets/layers/indoors/room_conference.svg" + }, + { + "if": "room=storage", + "then": "./assets/layers/indoors/room_storage.svg" + }, + { + "if": "room=toilet", + "then": "./assets/layers/indoors/room_toilet.svg" + }, + { + "if": "room=toilets", + "then": "./assets/layers/indoors/room_toilets.svg" + } + ] + }, + "iconSize": "15,15, center" } ] } \ No newline at end of file diff --git a/assets/layers/indoors/license_info.json b/assets/layers/indoors/license_info.json new file mode 100644 index 0000000000..ba436bce03 --- /dev/null +++ b/assets/layers/indoors/license_info.json @@ -0,0 +1,52 @@ +[ + { + "path": "room_auditorium.svg", + "license": "GNU", + "authors": [ + "Adrien Pavie" + ], + "sources": [ + "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_auditorium.svg" + ] + }, + { + "path": "room_conference.svg", + "license": "GNU", + "authors": [ + "Adrien Pavie" + ], + "sources": [ + "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_conference.svg" + ] + }, + { + "path": "room_storage.svg", + "license": "GNU", + "authors": [ + "Adrien Pavie" + ], + "sources": [ + "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_storage.svg" + ] + }, + { + "path": "room_toilet.svg", + "license": "GNU", + "authors": [ + "Adrien Pavie" + ], + "sources": [ + "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_toilet.svg" + ] + }, + { + "path": "room_toilets.svg", + "license": "GNU", + "authors": [ + "Adrien Pavie" + ], + "sources": [ + "https://framagit.org/OpenLevelUp/OpenLevelUp/-/blob/master/src/img/features-vector/room_toilets.svg" + ] + } +] \ No newline at end of file diff --git a/assets/layers/indoors/room_auditorium.svg b/assets/layers/indoors/room_auditorium.svg new file mode 100644 index 0000000000..7c08539433 --- /dev/null +++ b/assets/layers/indoors/room_auditorium.svg @@ -0,0 +1,137 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/indoors/room_conference.svg b/assets/layers/indoors/room_conference.svg new file mode 100644 index 0000000000..5ee49fb50e --- /dev/null +++ b/assets/layers/indoors/room_conference.svg @@ -0,0 +1,118 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/indoors/room_storage.svg b/assets/layers/indoors/room_storage.svg new file mode 100644 index 0000000000..2c6c28308b --- /dev/null +++ b/assets/layers/indoors/room_storage.svg @@ -0,0 +1,94 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/assets/layers/indoors/room_toilet.svg b/assets/layers/indoors/room_toilet.svg new file mode 100644 index 0000000000..e41fc9954c --- /dev/null +++ b/assets/layers/indoors/room_toilet.svg @@ -0,0 +1,132 @@ + + + + + + + + image/svg+xml + + + en + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/indoors/room_toilets.svg b/assets/layers/indoors/room_toilets.svg new file mode 100644 index 0000000000..e41fc9954c --- /dev/null +++ b/assets/layers/indoors/room_toilets.svg @@ -0,0 +1,132 @@ + + + + + + + + image/svg+xml + + + en + + + + + + + + + + + + + + + + + + +