2020-11-17 02:22:48 +01:00
|
|
|
{
|
|
|
|
"id": "direction",
|
|
|
|
"name": {
|
|
|
|
"en": "Direction visualization"
|
|
|
|
},
|
|
|
|
"minzoom": 16,
|
|
|
|
"overpassTags": {
|
|
|
|
"or": ["camera:direction~*","direction~*"]
|
|
|
|
},
|
|
|
|
"doNotDownload": true,
|
|
|
|
"passAllFeatures": true,
|
|
|
|
"title": null,
|
|
|
|
"description": {
|
|
|
|
"en": "This layer visualizes directions"
|
|
|
|
},
|
|
|
|
"tagRenderings": [],
|
|
|
|
"icon": "./assets/svg/direction_gradient.svg",
|
|
|
|
"rotation": {
|
2020-11-17 16:29:51 +01:00
|
|
|
"render": "{camera:direction}deg",
|
2020-11-17 02:22:48 +01:00
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "direction~*",
|
2020-11-17 16:29:51 +01:00
|
|
|
"then": "{direction}deg"
|
2020-11-17 02:22:48 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"iconSize": "200,200,center",
|
|
|
|
"color": "--catch-detail-color",
|
|
|
|
"stroke": "0",
|
|
|
|
"presets": [],
|
|
|
|
"wayHandling": 2
|
|
|
|
}
|