Open
Description
https://github.com/tangrams/tangram-docs/blob/gh-pages/pages/draw.md#angle
when returning a value for angle
with a function, it looks like it expect radians, not degrees.
draw:
mapzen_icon_library: # _points:
sprite: airport
collide: false
# angle: 180
angle: |
function(){
return 3.14/2
// return 180
}
returning 180 does not point south, while pi/2 does...
Note that passing degrees without a function, e.g. angle: 180,
works as expected.
Metadata
Metadata
Assignees
Labels
No labels