MapComplete/assets/layers/beehive/beehive.json
2024-12-02 00:37:56 +01:00

75 lines
No EOL
1.2 KiB
JSON

{
"id": "beehive",
"name": {
"en": "Beehives"
},
"description": {
"en": "Layer showing beehives"
},
"source": {
"osmTags": "man_made=beehive"
},
"minzoom": 11,
"title": {
"en": "Beehive"
},
"presets": [
{
"title": {
"en": "a beehive"
},
"tags": [
"man_made=beehive"
]
}
],
"tagRenderings": [
"images",
{
"id": "capacity",
"question": {
"en": "How many beehives are there?"
},
"freeform": {
"key": "capacity",
"type": "pnat",
"placeholder": {
"en": "Number of beehives"
}
},
"render": {
"en": "There are {capacity} beehives"
},
"mappings": [
{
"if": "capacity=1",
"then": {
"en": "There is 1 beehive"
}
}
]
}
],
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "./assets/layers/beehive/beehive.svg"
}
]
}
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": true
},
"deletion": true
}