fix: show tiles at the highest scale
need to investigate the real cause..
This commit is contained in:
parent
f7b539f5c7
commit
bbe6067569
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user