Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-07-03 17:23:12 +02:00
commit 8c76bdf65e

View file

@ -601,6 +601,8 @@ public class MapRenderRepositories {
public synchronized void loadMap(RotatedTileBox tileRect, MapTileDownloader mapTileDownloader) { public synchronized void loadMap(RotatedTileBox tileRect, MapTileDownloader mapTileDownloader) {
boolean prevInterrupted = interrupted; boolean prevInterrupted = interrupted;
interrupted = false; interrupted = false;
// added to avoid zoomAnimation != 0 which produces wrong map position on the screen
tileRect.setZoomAndAnimation(tileRect.getZoom(), 0);
// prevent editing // prevent editing
requestedBox = new RotatedTileBox(tileRect); requestedBox = new RotatedTileBox(tileRect);
log.info("RENDER MAP: new request " + tileRect ); log.info("RENDER MAP: new request " + tileRect );