android-example: enable building layer

This commit is contained in:
Hannes Janetzek 2014-10-09 04:01:58 +02:00
parent 7053cf8405
commit de04030257

View File

@ -17,6 +17,7 @@
import org.oscim.core.MapPosition; import org.oscim.core.MapPosition;
import org.oscim.core.MercatorProjection; import org.oscim.core.MercatorProjection;
import org.oscim.layers.tile.buildings.BuildingLayer;
import org.oscim.layers.tile.vector.labeling.LabelLayer; import org.oscim.layers.tile.vector.labeling.LabelLayer;
import org.oscim.map.Layers; import org.oscim.map.Layers;
import org.oscim.map.Map; import org.oscim.map.Map;
@ -34,7 +35,7 @@ public class SimpleMapActivity extends BaseMapActivity {
Map m = this.map(); Map m = this.map();
Layers layers = mMap.layers(); Layers layers = mMap.layers();
//layers.add(new BuildingLayer(mMap, mBaseLayer)); layers.add(new BuildingLayer(mMap, mBaseLayer));
layers.add(new LabelLayer(mMap, mBaseLayer)); layers.add(new LabelLayer(mMap, mBaseLayer));
m.setTheme(VtmThemes.DEFAULT); m.setTheme(VtmThemes.DEFAULT);