Formatting
This commit is contained in:
parent
7ca9ff4728
commit
700f1be11d
1 changed files with 28 additions and 19 deletions
|
@ -329,7 +329,6 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"tagRenderings": [
|
"tagRenderings": [
|
||||||
"images",
|
"images",
|
||||||
"questions",
|
"questions",
|
||||||
|
@ -842,23 +841,34 @@
|
||||||
],
|
],
|
||||||
"units": [
|
"units": [
|
||||||
{
|
{
|
||||||
"appliesToKey": ["climbing:length"],
|
"appliesToKey": [
|
||||||
"applicableUnits": [{
|
"climbing:length"
|
||||||
|
],
|
||||||
|
"applicableUnits": [
|
||||||
|
{
|
||||||
"canonicalDenomination": "m",
|
"canonicalDenomination": "m",
|
||||||
"alternativeDenomination": ["meter","meters"],
|
"alternativeDenomination": [
|
||||||
|
"meter",
|
||||||
|
"meters"
|
||||||
|
],
|
||||||
"human": {
|
"human": {
|
||||||
"en": " meter",
|
"en": " meter",
|
||||||
"nl": " meter"
|
"nl": " meter"
|
||||||
},
|
},
|
||||||
"default": true
|
"default": true
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
"canonicalDenomination": "ft",
|
"canonicalDenomination": "ft",
|
||||||
"alternativeDenomination": ["feet","voet"],
|
"alternativeDenomination": [
|
||||||
|
"feet",
|
||||||
|
"voet"
|
||||||
|
],
|
||||||
"human": {
|
"human": {
|
||||||
"en": " feet",
|
"en": " feet",
|
||||||
"nl": " voet"
|
"nl": " voet"
|
||||||
}
|
}
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"roamingRenderings": [
|
"roamingRenderings": [
|
||||||
|
@ -1358,15 +1368,14 @@
|
||||||
"key": "climbing:length"
|
"key": "climbing:length"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"render": "<div style='display:block ruby;' class='m-1 '><img src='./assets/themes/climbing/carabiner.svg' style='width:2rem; height:2rem'/>{climbing:bolted}</div>",
|
"render": "<div style='display:block ruby;' class='m-1 '><img src='./assets/themes/climbing/carabiner.svg' style='width:2rem; height:2rem'/>{climbing:bolted}</div>",
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "climbing:bolted"
|
"key": "climbing:bolted"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"defaults"
|
||||||
"defaults"],
|
],
|
||||||
"+calculatedTags": [
|
"+calculatedTags": [
|
||||||
"_embedding_feature_properties=feat.overlapWith('climbing').map(f => f.feat.properties).filter(p => p !== undefined).map(p => {return{access: p.access, id: p.id, name: p.name, climbing: p.climbing, 'access:description': p['access:description']}})",
|
"_embedding_feature_properties=feat.overlapWith('climbing').map(f => f.feat.properties).filter(p => p !== undefined).map(p => {return{access: p.access, id: p.id, name: p.name, climbing: p.climbing, 'access:description': p['access:description']}})",
|
||||||
"_embedding_features_with_access=JSON.parse(feat.properties._embedding_feature_properties ?? '[]').filter(p => p.access !== undefined)[0]",
|
"_embedding_features_with_access=JSON.parse(feat.properties._embedding_feature_properties ?? '[]').filter(p => p.access !== undefined)[0]",
|
||||||
|
|
Loading…
Reference in a new issue