Fix #5310
This commit is contained in:
parent
31f9895bb4
commit
a9c797ebd7
1 changed files with 7 additions and 0 deletions
|
@ -225,6 +225,13 @@ public class AnimateDraggingMapThread {
|
||||||
|
|
||||||
if (!stopped) {
|
if (!stopped) {
|
||||||
animatingMoveInThread(mMoveX, mMoveY, animationTime, notifyListener, finishAnimationCallback);
|
animatingMoveInThread(mMoveX, mMoveY, animationTime, notifyListener, finishAnimationCallback);
|
||||||
|
} else if (finishAnimationCallback != null) {
|
||||||
|
tileView.getApplication().runInUIThread(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
finishAnimationCallback.run();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
if (!stopped) {
|
if (!stopped) {
|
||||||
tileView.setLatLonAnimate(finalLat, finalLon, notifyListener);
|
tileView.setLatLonAnimate(finalLat, finalLon, notifyListener);
|
||||||
|
|
Loading…
Reference in a new issue