From 24c8b4c16f7a8ad1c2d5ed2f35aa76f134c7c93e Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Sun, 20 Apr 2014 00:23:14 +0200 Subject: [PATCH] fixme: re-init TileSet when count is zero.. --- vtm/src/org/oscim/layers/tile/TileManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtm/src/org/oscim/layers/tile/TileManager.java b/vtm/src/org/oscim/layers/tile/TileManager.java index 8ca2f5b7..b7434096 100644 --- a/vtm/src/org/oscim/layers/tile/TileManager.java +++ b/vtm/src/org/oscim/layers/tile/TileManager.java @@ -186,7 +186,7 @@ public class TileManager { public boolean update(MapPosition pos) { // FIXME cant expect init to be called otherwise - if (mNewTiles == null) + if (mNewTiles == null || mNewTiles.tiles.length == 0) init(); /* clear JobQueue and set tiles to state == NONE.