S3DBLayer: add zoom limit options #475
This commit is contained in:
@@ -43,8 +43,8 @@ public class BuildingLayer extends Layer implements TileLoaderThemeHook {
|
||||
|
||||
protected final static int BUILDING_LEVEL_HEIGHT = 280; // cm
|
||||
|
||||
private final static int MIN_ZOOM = 17;
|
||||
private final static int MAX_ZOOM = 17;
|
||||
protected final static int MIN_ZOOM = 17;
|
||||
protected final static int MAX_ZOOM = 17;
|
||||
|
||||
public static boolean POST_AA = false;
|
||||
public static boolean TRANSLUCENT = true;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright 2018 Gustl22
|
||||
* Copyright 2018 devemux86
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
@@ -46,7 +47,11 @@ public class S3DBLayer extends BuildingLayer {
|
||||
private boolean mColored = true;
|
||||
|
||||
public S3DBLayer(Map map, VectorTileLayer tileLayer) {
|
||||
super(map, tileLayer, true);
|
||||
this(map, tileLayer, MIN_ZOOM, MAX_ZOOM);
|
||||
}
|
||||
|
||||
public S3DBLayer(Map map, VectorTileLayer tileLayer, int zoomMin, int zoomMax) {
|
||||
super(map, tileLayer, zoomMin, zoomMax, true);
|
||||
}
|
||||
|
||||
public boolean isColored() {
|
||||
|
||||
Reference in New Issue
Block a user