diff --git a/vtm-playground/src/org/oscim/test/MapboxTest.java b/vtm-playground/src/org/oscim/test/MapboxTest.java index 3a361322..46cf603d 100644 --- a/vtm-playground/src/org/oscim/test/MapboxTest.java +++ b/vtm-playground/src/org/oscim/test/MapboxTest.java @@ -27,7 +27,7 @@ public class MapboxTest extends GdxMapApp { @Override public void createLayers() { UrlTileSource tileSource = MapboxTileSource.builder() - .apiKey("vector-tiles-xxxxxxx") // Put a proper API key + .apiKey("mapzen-xxxxxxx") // Put a proper API key .build(); VectorTileLayer l = mMap.setBaseMap(tileSource); diff --git a/vtm-themes/resources/assets/vtm/mapzen.xml b/vtm-themes/resources/assets/vtm/mapzen.xml index d04dd675..5456e1f2 100644 --- a/vtm-themes/resources/assets/vtm/mapzen.xml +++ b/vtm-themes/resources/assets/vtm/mapzen.xml @@ -120,10 +120,10 @@ - + - + @@ -136,11 +136,11 @@ - + - + @@ -160,9 +160,9 @@ stroke="#e4e4e4" width="0.2" /> --> - + - + @@ -172,16 +172,14 @@ - - + - - - + + - + @@ -199,7 +197,7 @@ - + @@ -208,13 +206,13 @@ - + - + - + @@ -227,7 +225,7 @@ - + @@ -239,43 +237,41 @@ - + - + - - - - - - - + + + + --> + + + + - - - - + + + + - + @@ -291,7 +287,7 @@ - + @@ -319,31 +315,31 @@ e="way" k="area" v="~|no|false"> --> + - - + + - - - - - - + + - - + + + + + + - - - - - + + + + - + @@ -386,10 +382,12 @@ + @@ -402,7 +400,7 @@ - + @@ -421,13 +419,13 @@ - + - + - + @@ -514,7 +512,7 @@ - + @@ -524,7 +522,7 @@ - + @@ -555,7 +553,7 @@ --> - + @@ -583,7 +581,7 @@ - + - + @@ -835,7 +833,7 @@ - + @@ -846,7 +844,7 @@ - + @@ -856,39 +854,39 @@ - - + + - + - + - + - + - + - + - + - + @@ -901,7 +899,7 @@ --> - + @@ -920,12 +918,12 @@ --> - - + + - + @@ -939,21 +937,21 @@ --> - + - + - + - + @@ -966,7 +964,7 @@ - + @@ -983,7 +981,7 @@ - + @@ -997,15 +995,28 @@ - - + + + + + + + + + + + + + + + - + @@ -1043,7 +1054,7 @@ - + - - + + - + - + - + - + - + - + @@ -1113,7 +1124,7 @@ - + @@ -1122,37 +1133,37 @@ - + - + - + - + - + - + - + - + - + - + @@ -1175,22 +1186,22 @@ - + - + - + - + - + - + @@ -1199,13 +1210,13 @@ - + - + @@ -1220,17 +1231,13 @@ - - - - - + @@ -1271,7 +1278,7 @@ - + @@ -1280,7 +1287,7 @@ - + diff --git a/vtm/src/org/oscim/layers/tile/buildings/BuildingLayer.java b/vtm/src/org/oscim/layers/tile/buildings/BuildingLayer.java index b899d530..6bbcdbcc 100644 --- a/vtm/src/org/oscim/layers/tile/buildings/BuildingLayer.java +++ b/vtm/src/org/oscim/layers/tile/buildings/BuildingLayer.java @@ -81,11 +81,11 @@ public class BuildingLayer extends Layer implements TileLoaderThemeHook { String v = element.tags.getValue(Tag.KEY_HEIGHT); if (v != null) - height = Integer.parseInt(v); + height = (int) Float.parseFloat(v); v = element.tags.getValue(Tag.KEY_MIN_HEIGHT); if (v != null) - minHeight = Integer.parseInt(v); + minHeight = (int) Float.parseFloat(v); /* 12m default */ if (height == 0)