vtm-gdx-poi3d module (#600)

This commit is contained in:
Izumi Kawashima
2018-11-07 15:12:07 +09:00
committed by Emux
parent e20b941eb9
commit 09a6cf2497
17 changed files with 57 additions and 12 deletions

View File

@@ -3,6 +3,7 @@
<entry-point class="org.oscim.web.client.GwtLauncher" />
<inherits name="org.oscim.gdx.VtmWeb" />
<inherits name="VtmGdxPoi3D" />
<set-property name='gwt.logging.enabled' value='TRUE' />
<set-property name='gwt.logging.consoleHandler' value='ENABLED' />

View File

@@ -33,6 +33,7 @@ import org.oscim.gdx.GdxMap;
import org.oscim.gdx.client.GwtGdxGraphics;
import org.oscim.gdx.client.MapConfig;
import org.oscim.gdx.client.MapUrl;
import org.oscim.gdx.poi3d.Poi3DLayer;
import org.oscim.layers.tile.bitmap.BitmapTileLayer;
import org.oscim.layers.tile.buildings.BuildingLayer;
import org.oscim.layers.tile.buildings.S3DBTileLayer;
@@ -154,6 +155,8 @@ class GwtMap extends GdxMap {
mMap.layers().add(mBuildingLayer);
}
mMap.layers().add(new Poi3DLayer(mMap, l));
if (!nolabels)
mMap.layers().add(new LabelLayer(mMap, l));
}