2020-11-17 02:22:48 +01:00
{
"id" : "direction" ,
"name" : {
"en" : "Direction visualization"
} ,
"minzoom" : 16 ,
"overpassTags" : {
2021-01-04 04:06:21 +01:00
"or" : [
"camera:direction~*" ,
"direction~*"
]
2020-11-17 02:22:48 +01:00
} ,
"doNotDownload" : true ,
"passAllFeatures" : true ,
"title" : null ,
"description" : {
"en" : "This layer visualizes directions"
} ,
"tagRenderings" : [ ] ,
2021-01-04 04:06:21 +01:00
"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" : {
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
}
]
} ,
2021-01-04 04:06:21 +01:00
"iconSize" : "200,200,center" ,
2020-11-17 02:22:48 +01:00
"color" : "--catch-detail-color" ,
"stroke" : "0" ,
"presets" : [ ] ,
"wayHandling" : 2
}