This commit is contained in:
max-klaus 2020-11-09 19:02:19 +03:00
parent 31f9895bb4
commit a9c797ebd7

View file

@ -225,6 +225,13 @@ public class AnimateDraggingMapThread {
if (!stopped) {
animatingMoveInThread(mMoveX, mMoveY, animationTime, notifyListener, finishAnimationCallback);
} else if (finishAnimationCallback != null) {
tileView.getApplication().runInUIThread(new Runnable() {
@Override
public void run() {
finishAnimationCallback.run();
}
});
}
if (!stopped) {
tileView.setLatLonAnimate(finalLat, finalLon, notifyListener);