mapcomplete/assets/layers/lighthouse/lighthouse.json

81 lines
No EOL
1.4 KiB
JSON

{
"id": "lighthouse",
"name": {
"en": "lighthouse",
"de": "Leuchtturm"
},
"source": {
"osmTags": "man_made=lighthouse"
},
"minzoom": 5,
"title": {
"render": {
"en": "lighthouse",
"de": "Leuchtturm"
},
"mappings": [
{
"if": "name~*",
"then": {
"en": "{name}",
"de": "{name}"
}
}
]
},
"tagRenderings": [
"images",
"wikipedia",
{
"render": {
"en": "The height of this lighthouse is {height} metres.",
"de": "Die Höhe dieses Leuchtturms beträgt {height} Meter."
},
"question": {
"en": "What is the height of this lighthouse, in metres?",
"de": "Wie hoch ist dieser Leuchtturm in Metern?"
},
"freeform": {
"key": "height",
"type": "pfloat"
},
"id": "lighthouse-height"
}
],
"presets": [
{
"tags": [
"man_made=lighthouse"
],
"title": {
"en": "a lighthouse",
"de": "ein Leuchtturm"
}
}
],
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "./assets/themes/lighthouses/lighthouse.svg"
}
],
"anchor": "bottom"
}
],
"lineRendering": [],
"units": [
{
"height": {
"quantity": "distance",
"denominations": [
"m"
]
}
}
]
}