forked from MapComplete/MapComplete
refactoring: more state splitting, basic layoutFeatureSource
This commit is contained in:
parent
8e2f04c0d0
commit
b94a8f5745
54 changed files with 1067 additions and 1969 deletions
|
@ -1,70 +0,0 @@
|
|||
{
|
||||
"id": "grass_in_parks",
|
||||
"name": {
|
||||
"nl": "Toegankelijke grasvelden in parken"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"or": [
|
||||
"name=Park Oude God",
|
||||
{
|
||||
"and": [
|
||||
"landuse=grass",
|
||||
{
|
||||
"or": [
|
||||
"access=public",
|
||||
"access=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"overpassScript": "way[\"leisure\"=\"park\"];node(w);is_in;area._[\"leisure\"=\"park\"];(way(area)[\"landuse\"=\"grass\"]; node(w); );"
|
||||
},
|
||||
"minzoom": 0,
|
||||
"title": {
|
||||
"render": {
|
||||
"nl": "Speelweide in een park"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "name~*",
|
||||
"then": {
|
||||
"nl": "{name}"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
"id": "explanation",
|
||||
"render": "Op dit grasveld in het park mag je spelen, picnicken, zitten, ..."
|
||||
},
|
||||
{
|
||||
"id": "grass-in-parks-reviews",
|
||||
"render": "{reviews(name, landuse=grass )}"
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/playgrounds/playground.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": "#0f0",
|
||||
"width": "1"
|
||||
}
|
||||
],
|
||||
"description": {
|
||||
"en": "Searches for all accessible grass patches within public parks - these are 'groenzones'",
|
||||
"nl": "Dit zoekt naar alle toegankelijke grasvelden binnen publieke parken - dit zijn 'groenzones'",
|
||||
"de": "Sucht nach allen zugänglichen Grasflächen in öffentlichen Parks - dies sind 'Grünzonen'",
|
||||
"ca": "Cerques per a tots els camins d'herba accessibles dins dels parcs públics - aquests són «groenzones»"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue