gdx: simplify sub-classing GdxMap apps, add createLayers()
This commit is contained in:
@@ -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() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user