gdx: simplify sub-classing GdxMap apps, add createLayers()

This commit is contained in:
Hannes Janetzek
2013-09-16 20:17:17 +02:00
parent 1498325ecd
commit a660048bcb
5 changed files with 57 additions and 58 deletions

View File

@@ -98,7 +98,7 @@ class GwtGdxMap extends GdxMap {
tileSource.setOption("url", url);
initDefaultMap(tileSource, false, true, true);
initDefaultLayers(tileSource, false, true, true);
if ("naturalearth".equals(c.getBackgroundLayer()))
mMap.setBackgroundMap(new BitmapTileLayer(mMap, NaturalEarth.INSTANCE));
@@ -139,4 +139,8 @@ class GwtGdxMap extends GdxMap {
};
timer.scheduleRepeating(5000);
}
@Override
protected void createLayers() {
}
}