make TileManager non static

This commit is contained in:
Hannes Janetzek
2013-10-09 01:55:50 +02:00
parent 45122270b1
commit db93fbe4f6
2 changed files with 25 additions and 53 deletions
+2 -2
View File
@@ -154,7 +154,7 @@ public class MapView extends RelativeLayout {
mJobQueue = new JobQueue();
mTileManager = TileManager.create(this);
mTileManager = new TileManager(this);
mGLView = new GLView(context, this);
@@ -479,7 +479,7 @@ public class MapView extends RelativeLayout {
if (width != 0 && height != 0)
mMapViewPosition.setViewport(width, height);
TileManager.onSizeChanged(width, height);
mTileManager.onSizeChanged(width, height);
mapWorkersProceed();
}