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
{{ message }}
Repository navigation
Support overlapping and/or queued Camera animations #2820
The flyTo animation should continue, and the pitch should also be updated without breaking current animation.
Actual Behavior
Using setPitch cancels current animation (other methods too, like setBearing and so on).
This is the intended behavior of the current API. For simplicity's sake, we don't support queued or overlapping camera animations. I think this feature should be considered in the scope of #2801
PS. I'm also looking for a way to know if an event has been triggered manually (eg. scroll to zoom) or programmatically (eg. flyTo) as a workaround.
You can use the event.originalEvent property to determine this
Activity
lucaswoj commentedon Jul 7, 2016
This is the intended behavior of the current API. For simplicity's sake, we don't support queued or overlapping camera animations. I think this feature should be considered in the scope of #2801
You can use the
event.originalEventproperty to determine this[-]setPitch stops current animation[/-][+]Support overlapping and/or queued Camera animations[/+]nicooprat commentedon Jul 8, 2016
Yes, would be great to have more flexibility!
event.originalEventdid the trick anyway, thanks for your quick answer.