fix: show tiles at the highest scale

need to investigate the real cause..
This commit is contained in:
Hannes Janetzek 2014-10-10 03:51:47 +02:00
parent f7b539f5c7
commit bbe6067569
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ public abstract class TileRenderer extends LayerRenderer {
tiles[i].isVisible = false;
/* no renderable tile can be locked at this point */
if (tileZoom > v.pos.zoomLevel + 2 || tileZoom < v.pos.zoomLevel - 4) {
if (tileZoom < v.pos.zoomLevel - 4) {
return;
}

View File

@ -36,7 +36,7 @@ import org.oscim.utils.FastMath;
public class Viewport {
//static final Logger log = LoggerFactory.getLogger(Viewport.class);
public final static int MAX_ZOOMLEVEL = 22;
public final static int MAX_ZOOMLEVEL = 20;
public final static int MIN_ZOOMLEVEL = 2;
public final static double MAX_SCALE = (1 << MAX_ZOOMLEVEL);