BuildingLayer: add shadow parameter #575
This commit is contained in:
@@ -68,8 +68,7 @@ public class MapsforgeTest extends GdxMapApp {
|
||||
VectorTileLayer l = mMap.setBaseMap(tileSource);
|
||||
loadTheme(null);
|
||||
|
||||
BuildingLayer.SHADOW = SHADOWS;
|
||||
BuildingLayer buildingLayer = s3db ? new S3DBLayer(mMap, l) : new BuildingLayer(mMap, l);
|
||||
BuildingLayer buildingLayer = s3db ? new S3DBLayer(mMap, l, SHADOWS) : new BuildingLayer(mMap, l, false, SHADOWS);
|
||||
mMap.layers().add(buildingLayer);
|
||||
|
||||
if (poi3d)
|
||||
@@ -117,9 +116,6 @@ public class MapsforgeTest extends GdxMapApp {
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
if (SHADOWS)
|
||||
BuildingLayer.SHADOW = false;
|
||||
|
||||
MapPreferences.saveMapPosition(mMap.getMapPosition());
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user