You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A LocationAnnotationNode does not appear on screen at the same spot as a LocationNode created with the same location. This appears to be intentional, caused by this line near the end of updatePositionAndScale(...):
I propose exposing that offset factor as a property on LocationAnnotationNode, to allow nodes to be drawn at their correct spatial location, or above it, or even below it. Call it labelYOffsetFactor.
I think it would be more intuitive to have a positive value of the property mean "up" than for it to mean "down". So the labelYOffsetFactor's default value would be 1.1, to allow current behavior. If I want no displacement, I'll set it to 0. If I want the label drawn below instead of above, I'll set it to -1.1.
The text was updated successfully, but these errors were encountered:
A
LocationAnnotationNode
does not appear on screen at the same spot as aLocationNode
created with the same location. This appears to be intentional, caused by this line near the end ofupdatePositionAndScale(...)
:I propose exposing that offset factor as a property on
LocationAnnotationNode
, to allow nodes to be drawn at their correct spatial location, or above it, or even below it. Call itlabelYOffsetFactor
.I think it would be more intuitive to have a positive value of the property mean "up" than for it to mean "down". So the
labelYOffsetFactor
's default value would be 1.1, to allow current behavior. If I want no displacement, I'll set it to 0. If I want the label drawn below instead of above, I'll set it to -1.1.The text was updated successfully, but these errors were encountered: