diff --git a/docs/Changelog.md b/docs/Changelog.md index abbdf697..7ad5da3b 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -6,7 +6,7 @@ - Improved gestures implementation [#253](https://github.com/mapsforge/vtm/issues/253) - Polygon label position enhancements [#80](https://github.com/mapsforge/vtm/issues/80) - vtm-web modules update [#51](https://github.com/mapsforge/vtm/issues/51) -- Mapbox vector tiles [#57](https://github.com/mapsforge/vtm/issues/57) +- Mapbox (Mapzen) vector tiles [#57](https://github.com/mapsforge/vtm/issues/57) - SVG resources scaling in themes [#214](https://github.com/mapsforge/vtm/issues/214) - Circle map style [#122](https://github.com/mapsforge/vtm/issues/122) - Oneway arrows in themes [#275](https://github.com/mapsforge/vtm/issues/275) diff --git a/vtm-android-example/src/org/oscim/android/test/MapboxMapActivity.java b/vtm-android-example/src/org/oscim/android/test/MapboxMapActivity.java index 3f89684c..7b0a5744 100644 --- a/vtm-android-example/src/org/oscim/android/test/MapboxMapActivity.java +++ b/vtm-android-example/src/org/oscim/android/test/MapboxMapActivity.java @@ -30,7 +30,7 @@ public class MapboxMapActivity extends MapActivity { super.onCreate(savedInstanceState); 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 5456e1f2..02f8b7c9 100644 --- a/vtm-themes/resources/assets/vtm/mapzen.xml +++ b/vtm-themes/resources/assets/vtm/mapzen.xml @@ -172,7 +172,7 @@ - + @@ -315,26 +315,26 @@ e="way" k="area" v="~|no|false"> --> - - - + + - - + + + + + + - - + + - - - - - - - + + + + @@ -382,12 +382,11 @@ - + + --> @@ -500,10 +499,10 @@ - - + @@ -891,11 +890,11 @@ stipple-width="0.8" stroke="#aaa6a4" width="2.0" /> - - @@ -1136,7 +1135,7 @@ - @@ -1231,6 +1230,11 @@ + + + diff --git a/vtm/src/org/oscim/layers/tile/buildings/BuildingLayer.java b/vtm/src/org/oscim/layers/tile/buildings/BuildingLayer.java index 6bbcdbcc..a8d320ec 100644 --- a/vtm/src/org/oscim/layers/tile/buildings/BuildingLayer.java +++ b/vtm/src/org/oscim/layers/tile/buildings/BuildingLayer.java @@ -1,6 +1,7 @@ /* * Copyright 2013 Hannes Janetzek * Copyright 2016 devemux86 + * Copyright 2016 Robin Boldt * * This file is part of the OpenScienceMap project (http://www.opensciencemap.org). * @@ -33,11 +34,8 @@ import org.oscim.renderer.bucket.RenderBuckets; import org.oscim.theme.styles.ExtrusionStyle; import org.oscim.theme.styles.RenderStyle; import org.oscim.utils.pool.Inlist; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; public class BuildingLayer extends Layer implements TileLoaderThemeHook { - static final Logger log = LoggerFactory.getLogger(BuildingLayer.class); private final static int MIN_ZOOM = 17; private final static int MAX_ZOOM = 17;