Added accessible static value as default building height (#351)
This commit is contained in:
parent
5d4d630ce0
commit
6b4bb7d8bf
@ -42,6 +42,7 @@ public class BuildingLayer extends Layer implements TileLoaderThemeHook {
|
|||||||
|
|
||||||
private final static boolean POST_AA = false;
|
private final static boolean POST_AA = false;
|
||||||
public static boolean TRANSLUCENT = true;
|
public static boolean TRANSLUCENT = true;
|
||||||
|
public static int DEFAULT_HEIGHT = 12;
|
||||||
|
|
||||||
private static final Object BUILDING_DATA = BuildingLayer.class.getName();
|
private static final Object BUILDING_DATA = BuildingLayer.class.getName();
|
||||||
|
|
||||||
@ -87,7 +88,7 @@ public class BuildingLayer extends Layer implements TileLoaderThemeHook {
|
|||||||
|
|
||||||
/* 12m default */
|
/* 12m default */
|
||||||
if (height == 0)
|
if (height == 0)
|
||||||
height = 12 * 100;
|
height = DEFAULT_HEIGHT * 100;
|
||||||
|
|
||||||
ExtrusionBuckets ebs = get(tile);
|
ExtrusionBuckets ebs = get(tile);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user