Bump version number

This commit is contained in:
Pieter Vander Vennet 2021-03-31 11:39:56 +02:00
commit a875e2f767
35 changed files with 361 additions and 178 deletions

View file

@ -227,6 +227,24 @@
}
}
]
},
{
"question":{
"en": "When was this bench last surveyed?"
},
"render": {
"en": "This bench was last surveyed on {survey:date}"
},
"freeform": {
"key": "survey:date",
"type": "date"
},
"mappings": [
{
"if": "survey:date:={_now:date}",
"then": "Surveyed today!"
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 0,

View file

@ -41,6 +41,10 @@
]
}
},
"calculatedTags": [
"_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,
"wayHandling": 1,
"presets": [
@ -122,6 +126,12 @@
}
}
]
},
{
"render":{
"en": "<a href='#{_closest_other_drinking_water_id}'>There is another drinking water fountain at {_closest_other_drinking_water_distance} meter</a>",
"nl": "<a href='#{_closest_other_drinking_water_id}'>Er bevindt zich een ander drinkwaterpunt op {_closest_other_drinking_water_distance} meter</a>"
}
}
]
}
}