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
I'm using v4 now, but as i see my issue works the same in v5.
So when you clicking on marker and using viewer.animate to point the camera to the marker - you expect that nothing will break this animation and viewer.animate.then will work to set new panorama by using viewer.setPanorama.
But if you click in any point of the viewer during animation, it stopped, because StartMove fires and it tries to start new rotation of the viewer.
It`ll be great if you give ability to control StartMove method with some property.
Alternatives you've considered
For my goals, i had to create new global variable ignoreMoving and set it true before animate() and set it false when .then() fired. And i changed method __startMove() in library by adding return if ignoreMoving eq true.
Describe the feature
I'm using v4 now, but as i see my issue works the same in v5.
So when you clicking on marker and using viewer.animate to point the camera to the marker - you expect that nothing will break this animation and viewer.animate.then will work to set new panorama by using viewer.setPanorama.
But if you click in any point of the viewer during animation, it stopped, because
StartMove
fires and it tries to start new rotation of the viewer.It`ll be great if you give ability to control StartMove method with some property.
Alternatives you've considered
For my goals, i had to create new global variable
ignoreMoving
and set ittrue
before animate() and set itfalse
when .then() fired. And i changed method __startMove() in library by adding return if ignoreMoving eqtrue
.Additional context
No response
The text was updated successfully, but these errors were encountered: