S3DBLayer: add zoom limit options #475
This commit is contained in:
parent
51d4521e6a
commit
969c44717a
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## New since 0.9.2
|
## New since 0.9.2
|
||||||
|
|
||||||
- S3DB layer [#475](https://github.com/mapsforge/vtm/pull/475)
|
- Mapsforge maps **v5 beta** S3DB layer [#475](https://github.com/mapsforge/vtm/pull/475)
|
||||||
- OpenMapTiles GeoJSON vector tiles [#385](https://github.com/mapsforge/vtm/issues/385)
|
- OpenMapTiles GeoJSON vector tiles [#385](https://github.com/mapsforge/vtm/issues/385)
|
||||||
- Render theme fallback internal resources [#477](https://github.com/mapsforge/vtm/issues/477)
|
- Render theme fallback internal resources [#477](https://github.com/mapsforge/vtm/issues/477)
|
||||||
- Many other minor improvements and bug fixes
|
- Many other minor improvements and bug fixes
|
||||||
|
|||||||
@ -43,8 +43,8 @@ public class BuildingLayer extends Layer implements TileLoaderThemeHook {
|
|||||||
|
|
||||||
protected final static int BUILDING_LEVEL_HEIGHT = 280; // cm
|
protected final static int BUILDING_LEVEL_HEIGHT = 280; // cm
|
||||||
|
|
||||||
private final static int MIN_ZOOM = 17;
|
protected final static int MIN_ZOOM = 17;
|
||||||
private final static int MAX_ZOOM = 17;
|
protected final static int MAX_ZOOM = 17;
|
||||||
|
|
||||||
public static boolean POST_AA = false;
|
public static boolean POST_AA = false;
|
||||||
public static boolean TRANSLUCENT = true;
|
public static boolean TRANSLUCENT = true;
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2018 Gustl22
|
* Copyright 2018 Gustl22
|
||||||
|
* Copyright 2018 devemux86
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify it under the
|
* 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
|
* 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;
|
private boolean mColored = true;
|
||||||
|
|
||||||
public S3DBLayer(Map map, VectorTileLayer tileLayer) {
|
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() {
|
public boolean isColored() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user