update of Tile- and OverlayManager need to be done async for this

This commit is contained in:
Hannes Janetzek 2013-02-04 01:05:07 +01:00
parent 0d87aabd3d
commit e9f135b3ab

View File

@ -280,8 +280,8 @@ public class MapView extends RelativeLayout {
if (mPausing || this.getWidth() == 0 || this.getHeight() == 0) if (mPausing || this.getWidth() == 0 || this.getHeight() == 0)
return; return;
if (changedPos) //if (changedPos)
render(); // render();
if (AndroidUtils.currentThreadIsUiThread()) { if (AndroidUtils.currentThreadIsUiThread()) {
boolean changed = mMapViewPosition.getMapPosition(mMapPosition, null); boolean changed = mMapViewPosition.getMapPosition(mMapPosition, null);