mapcomplete/assets/layers/direction/direction.json

43 lines
1 KiB
JSON
Raw Normal View History

2020-11-17 02:22:48 +01:00
{
"id": "direction",
"name": {
"en": "Direction visualization",
"nl": "Richtingsvisualisatie"
2020-11-17 02:22:48 +01:00
},
"minzoom": 16,
"source": {
"osmTags": {
"or": [
"camera:direction~*",
"direction~*"
]
}
2020-11-17 02:22:48 +01:00
},
"doNotDownload": true,
"passAllFeatures": true,
"title": null,
"description": {
"en": "This layer visualizes directions",
"nl": "Deze laag toont de oriëntatie van een object"
2020-11-17 02:22:48 +01:00
},
"tagRenderings": [],
"icon": {
"render": "direction_gradient:var(--catch-detail-color)",
"#": "For some weird reason, showing the icon in the layer control panel breaks the svg-gradient (because the svg gradient has a global color or smthng) - so we use a different icon without gradient",
"mappings": [
{
"if": "id=node/-1",
"then": "direction:var(--catch-detail-color)"
}
]
},
2020-11-17 02:22:48 +01:00
"rotation": {
"render": "{_direction:numerical}deg"
2020-11-17 02:22:48 +01:00
},
"iconSize": "200,200,center",
2020-11-17 02:22:48 +01:00
"color": "--catch-detail-color",
"stroke": "0",
"presets": [],
"wayHandling": 2
}