forked from MapComplete/MapComplete
Added color icon
This commit is contained in:
parent
33ee2e8747
commit
b9f32749b0
3 changed files with 38 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "street_lighting",
|
"id": "street_lighting",
|
||||||
"maintainer": "Robin van der Linde",
|
"maintainer": "Robin van der Linde",
|
||||||
"version": "20211018",
|
"version": "20211019",
|
||||||
"language": [
|
"language": [
|
||||||
"en",
|
"en",
|
||||||
"nl"
|
"nl"
|
||||||
|
@ -33,9 +33,35 @@
|
||||||
"render": {
|
"render": {
|
||||||
"en": "Street Lamp",
|
"en": "Street Lamp",
|
||||||
"nl": "Straatlantaarn"
|
"nl": "Straatlantaarn"
|
||||||
}
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "ref~*",
|
||||||
|
"then": {
|
||||||
|
"en": "Street Lamp {ref}",
|
||||||
|
"nl": "Straatlantaarn {ref}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"icon": "./assets/themes/street_lighting/street_lamp.svg",
|
"icon": "./assets/themes/street_lighting/street_lamp.svg",
|
||||||
|
"iconOverlays": [
|
||||||
|
{
|
||||||
|
"if": "light:colour=white",
|
||||||
|
"then": "circle:white",
|
||||||
|
"badge": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "light:colour=orange",
|
||||||
|
"then": "circle:#FFB000",
|
||||||
|
"badge": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "light:colour=green",
|
||||||
|
"then": "circle:#55FF55",
|
||||||
|
"badge": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"presets": [
|
"presets": [
|
||||||
{
|
{
|
||||||
"title": {
|
"title": {
|
||||||
|
|
|
@ -1370,6 +1370,11 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
|
"mappings": {
|
||||||
|
"0": {
|
||||||
|
"then": "Street Lamp {ref}"
|
||||||
|
}
|
||||||
|
},
|
||||||
"render": "Street Lamp"
|
"render": "Street Lamp"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -1040,6 +1040,11 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
|
"mappings": {
|
||||||
|
"0": {
|
||||||
|
"then": "Straatlantaarn {ref}"
|
||||||
|
}
|
||||||
|
},
|
||||||
"render": "Straatlantaarn"
|
"render": "Straatlantaarn"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue