forked from MapComplete/MapComplete
Refactoring: move the units into the layers instead of the themes
This commit is contained in:
parent
3492b5d403
commit
206aff2c9a
16 changed files with 259 additions and 300 deletions
|
@ -913,43 +913,6 @@
|
|||
"wayHandling": 0
|
||||
}
|
||||
],
|
||||
"units": [
|
||||
{
|
||||
"appliesToKey": [
|
||||
"climbing:length",
|
||||
"climbing:length:min",
|
||||
"climbing:length:max"
|
||||
],
|
||||
"applicableUnits": [
|
||||
{
|
||||
"canonicalDenomination": "",
|
||||
"alternativeDenomination": [
|
||||
"m",
|
||||
"meter",
|
||||
"meters"
|
||||
],
|
||||
"human": {
|
||||
"en": " meter",
|
||||
"nl": " meter",
|
||||
"fr": " mètres"
|
||||
},
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"canonicalDenomination": "ft",
|
||||
"alternativeDenomination": [
|
||||
"feet",
|
||||
"voet"
|
||||
],
|
||||
"human": {
|
||||
"en": " feet",
|
||||
"nl": " voet",
|
||||
"fr": " pieds"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"roamingRenderings": [
|
||||
{
|
||||
"#": "Website",
|
||||
|
@ -1466,6 +1429,7 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
|
||||
"overrideAll": {
|
||||
"titleIcons": [
|
||||
{
|
||||
|
@ -1497,6 +1461,43 @@
|
|||
"_embedding_feature:access=JSON.parse(feat.properties._embedding_features_with_access ?? '{}').access",
|
||||
"_embedding_feature:access:description=JSON.parse(feat.properties._embedding_features_with_access ?? '{}')['access:description']",
|
||||
"_embedding_feature:id=JSON.parse(feat.properties._embedding_features_with_access ?? '{}').id"
|
||||
],
|
||||
"units+": [
|
||||
{
|
||||
"appliesToKey": [
|
||||
"climbing:length",
|
||||
"climbing:length:min",
|
||||
"climbing:length:max"
|
||||
],
|
||||
"applicableUnits": [
|
||||
{
|
||||
"canonicalDenomination": "",
|
||||
"alternativeDenomination": [
|
||||
"m",
|
||||
"meter",
|
||||
"meters"
|
||||
],
|
||||
"human": {
|
||||
"en": " meter",
|
||||
"nl": " meter",
|
||||
"fr": " mètres"
|
||||
},
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"canonicalDenomination": "ft",
|
||||
"alternativeDenomination": [
|
||||
"feet",
|
||||
"voet"
|
||||
],
|
||||
"human": {
|
||||
"en": " feet",
|
||||
"nl": " voet",
|
||||
"fr": " pieds"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue