forked from MapComplete/MapComplete
Merge pull request #328 from pietervdvn/develop
Last changes to the speelplekken theme
This commit is contained in:
commit
17ba9f28e9
98 changed files with 218 additions and 25 deletions
|
@ -44,11 +44,12 @@
|
|||
"isOsmCache": true
|
||||
},
|
||||
"icon": "./assets/themes/speelplekken/speelbos.svg",
|
||||
"minzoom": 12
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
||||
]
|
||||
"minzoom": 12,
|
||||
"calculatedTags": [
|
||||
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''",
|
||||
"_video:id=new URL(feat.properties.video).searchParams.get('v')"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "playground",
|
||||
|
@ -62,7 +63,8 @@
|
|||
"isOsmCache": true
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
||||
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''",
|
||||
"_video:id=new URL(feat.properties.video).searchParams.get('v')"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -78,7 +80,8 @@
|
|||
"isOsmCache": true
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
||||
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''",
|
||||
"_video:id=new URL(feat.properties.video).searchParams.get('v')"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -94,7 +97,8 @@
|
|||
"isOsmCache": true
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
||||
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''",
|
||||
"_video:id=new URL(feat.properties.video).searchParams.get('v')"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -109,7 +113,8 @@
|
|||
"isOsmCache": true
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
||||
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''",
|
||||
"_video:id=new URL(feat.properties.video).searchParams.get('v')"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -252,12 +257,10 @@
|
|||
"condition": "_part_of_walking_routes~*"
|
||||
},
|
||||
{
|
||||
"render": "<a href='{video}' target='blank'>Een kinder-reportage vinden jullie hier<a/>",
|
||||
"freeform": {
|
||||
"key": "video",
|
||||
"type": "url"
|
||||
"key": "_video:id"
|
||||
},
|
||||
"question": "Wat is de link naar de video-reportage?"
|
||||
"render": "<iframe style='width: 100%; height: 300px' src=\"https://www.youtube-nocookie.com/embed/{_video:id}\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>"
|
||||
}
|
||||
],
|
||||
"overrideAll": {
|
||||
|
|
|
@ -239,6 +239,14 @@
|
|||
{
|
||||
"render": "Maakt deel uit van {_part_of_walking_routes}",
|
||||
"condition": "_part_of_walking_routes~*"
|
||||
},
|
||||
{
|
||||
"render": "<a href='{video}' target='blank'>Een kinder-reportage vinden jullie hier<a/>",
|
||||
"freeform": {
|
||||
"key": "video",
|
||||
"type": "url"
|
||||
},
|
||||
"question": "Wat is de link naar de video-reportage?"
|
||||
}
|
||||
],
|
||||
"overrideAll": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue