Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
8c76bdf65e
1 changed files with 2 additions and 0 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue