Fix deployment (once more)

This commit is contained in:
pietervdvn 2021-07-18 20:16:28 +02:00
parent 973cd7ada3
commit 76fa147670
2 changed files with 21 additions and 19 deletions

View file

@ -142,7 +142,7 @@
"if": "location=underground", "if": "location=underground",
"then": { "then": {
"en": "Located underground", "en": "Located underground",
"nl": "Bevindt zich ondergrounds" "nl": "Bevindt zich ondergronds"
}, },
"hideInAnswer": true "hideInAnswer": true
}, },

View file

@ -105,24 +105,26 @@
{ {
"builtin": "slow_roads", "builtin": "slow_roads",
"override": { "override": {
"+tagRenderings": { "+tagRenderings": [
"question": "Is dit een publiek toegankelijk pad?", {
"mappings": [ "question": "Is dit een publiek toegankelijk pad?",
{ "mappings": [
"if": "access=private", {
"then": "Dit is een privaat pad" "if": "access=private",
}, "then": "Dit is een privaat pad"
{ },
"if": "access=no", {
"then": "Dit is een privaat pad", "if": "access=no",
"hideInAnswer": true "then": "Dit is een privaat pad",
}, "hideInAnswer": true
{ },
"if": "access=permissive", {
"then": "Dit pad is duidelijk in private eigendom, maar er hangen geen verbodsborden dus mag men erover" "if": "access=permissive",
} "then": "Dit pad is duidelijk in private eigendom, maar er hangen geen verbodsborden dus mag men erover"
] }
}, ]
}
],
"calculatedTags": [ "calculatedTags": [
"_part_of_walking_routes=Array.from(new Set(feat.memberships().map(r => \"<a href='#relation/\"+r.relation.id+\"'>\" + r.relation.tags.name + \"</a>\"))).join(', ')", "_part_of_walking_routes=Array.from(new Set(feat.memberships().map(r => \"<a href='#relation/\"+r.relation.id+\"'>\" + r.relation.tags.name + \"</a>\"))).join(', ')",
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''" "_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"