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 }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
MGLMapView viewport methods should cancel animations #2313
@incanus do you have an idea of how much work this is? The last good version for me was pre2, which seems to also contain some crashing bugs under iOS 9. I'm blocked on releasing an iOS 9 compatible version of my app at the moment.
@adam-mapbox, #2321 has been merged, but it doesn’t seem to be testing this scenario: -testSetCenterCancelsTransitions seems to:
Go to DC instantaneously.
Go to the west with animation.
Halfway through the animation:
Go back to DC instantaneously.
Immediately assert that step (i) happened.
However, to adequately test whether setting a coordinate cancels other animations, we need to perform (ii) after the animation in (2) runs to completion. This test doesn’t account for the possibility that the animation in (2) continues running after (3) is done, clobbering (i).
Activity
incanus commentedon Sep 11, 2015
This would probably help #1975 (comment).
incanus commentedon Sep 14, 2015
To be clear: the goal here is to avoid any sort of stale viewport changes to occur after applying another viewport change.
tomtaylor commentedon Sep 23, 2015
Just to confirm, while testing #2204, that this is an issue with
setCameratoo.tomtaylor commentedon Sep 23, 2015
@incanus do you have an idea of how much work this is? The last good version for me was pre2, which seems to also contain some crashing bugs under iOS 9. I'm blocked on releasing an iOS 9 compatible version of my app at the moment.
1ec5 commentedon Sep 23, 2015
@adam-mapbox, #2321 has been merged, but it doesn’t seem to be testing this scenario:
-testSetCenterCancelsTransitionsseems to:However, to adequately test whether setting a coordinate cancels other animations, we need to perform (ii) after the animation in (2) runs to completion. This test doesn’t account for the possibility that the animation in (2) continues running after (3) is done, clobbering (i).
[iOS] Ensure consistent willChange/didChange notifications
[iOS] Ensure consistent willChange/didChange notifications