forked from MapComplete/MapComplete
Small improvements to the charging station theme, don't update tagging of new features if they are selected
This commit is contained in:
parent
fea020956a
commit
7e053b3ada
4 changed files with 3655 additions and 3681 deletions
|
@ -47,6 +47,11 @@ export default class SelectedElementTagsUpdater {
|
|||
return;
|
||||
}
|
||||
|
||||
if(id.indexOf("-") >= 0){
|
||||
// This is a new object
|
||||
return;
|
||||
}
|
||||
|
||||
OsmObject.DownloadPropertiesOf(id).then(tags => {
|
||||
SelectedElementTagsUpdater.applyUpdate(state, tags, id)
|
||||
}).catch(e => {
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -37,9 +37,6 @@
|
|||
"ru": "Зарядная станция",
|
||||
"zh_Hant": "充電站"
|
||||
},
|
||||
"calculatedTags": [
|
||||
"motorcar=feat.properties.motorcar ?? feat.properties.car"
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
|
@ -58,13 +55,7 @@
|
|||
},
|
||||
{
|
||||
"if": "motorcar=yes",
|
||||
"extraTags": "car=",
|
||||
"ifnot": {
|
||||
"and": [
|
||||
"car=",
|
||||
"motorcar=no"
|
||||
]
|
||||
},
|
||||
"ifnot": "motorcar=no",
|
||||
"then": {
|
||||
"en": "<b>Cars</b> can be charged here"
|
||||
}
|
||||
|
@ -212,7 +203,7 @@
|
|||
"if": "authentication:none=yes",
|
||||
"ifnot": "authentication:none=no",
|
||||
"then": {
|
||||
"en": "No authentication is needed"
|
||||
"en": "Charging here is (also) possible without authentication"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -1040,7 +1040,7 @@
|
|||
"then": "Authentication via debit card is available"
|
||||
},
|
||||
"7": {
|
||||
"then": "No authentication is needed"
|
||||
"then": "Charging here is (also) possible without authentication"
|
||||
}
|
||||
},
|
||||
"question": "What kind of authentication is available at the charging station?"
|
||||
|
|
Loading…
Reference in a new issue