forked from MapComplete/MapComplete
More refactoring, move minimap behind facade
This commit is contained in:
parent
c11ff652b8
commit
d5c1ba4cd1
79 changed files with 1848 additions and 1118 deletions
|
@ -48,7 +48,7 @@
|
|||
}
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_closest_other_drinking_water_id=feat.closest('drinking_water').id",
|
||||
"_closest_other_drinking_water_id=feat.closest('drinking_water')?.id",
|
||||
"_closest_other_drinking_water_distance=Math.floor(feat.distanceTo(feat.closest('drinking_water')) * 1000)"
|
||||
],
|
||||
"minzoom": 13,
|
||||
|
|
|
@ -401,5 +401,43 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
{
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
"en": "Wheelchair accessible"
|
||||
},
|
||||
"osmTags": "wheelchair=yes"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
"en": "Has a changing table"
|
||||
},
|
||||
"osmTags": "changing_table=yes"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
"en": "Free to use"
|
||||
},
|
||||
"osmTags": {
|
||||
"or": [
|
||||
"fee=no",
|
||||
"fee=0",
|
||||
"charge=0"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -39,7 +39,7 @@
|
|||
"startLat": 0,
|
||||
"startLon": 0,
|
||||
"startZoom": 1,
|
||||
"widenFactor": 0.05,
|
||||
"widenFactor": 1,
|
||||
"roamingRenderings": [],
|
||||
"layers": [
|
||||
"public_bookcase"
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"defaultBackgroundId": "CartoDB.Voyager",
|
||||
"startLon": 4.351697,
|
||||
"startZoom": 16,
|
||||
"widenFactor": 0.05,
|
||||
"widenFactor": 2,
|
||||
"layers": [
|
||||
"drinking_water"
|
||||
],
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
{
|
||||
"#": "Nature reserve overview from cache, points only, z < 13",
|
||||
"builtin": "nature_reserve",
|
||||
"wayHandling": 1,
|
||||
"override": {
|
||||
"source": {
|
||||
"osmTags": {
|
||||
|
@ -63,6 +64,7 @@
|
|||
]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_nature_reserve_points.geojson",
|
||||
"geoJsonZoomLevel": 0,
|
||||
"isOsmCache": "duplicate"
|
||||
},
|
||||
"minzoom": 1,
|
||||
|
|
|
@ -152,7 +152,7 @@
|
|||
]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 14,
|
||||
"geoJsonZoomLevel": 11,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"title": {
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "This object has no house number"
|
||||
"en": "This building has no house number"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue