Getting Started example in Samples #32

This commit is contained in:
Emux
2018-02-24 16:31:22 +02:00
parent 27bf0316de
commit 88d94ede01
19 changed files with 144 additions and 37 deletions

View File

@@ -48,11 +48,6 @@ public abstract class GdxMap implements ApplicationListener {
protected void initDefaultLayers(TileSource tileSource, boolean tileGrid, boolean labels,
boolean buildings) {
initDefaultLayers(tileSource, tileGrid, labels, buildings, 1);
}
protected void initDefaultLayers(TileSource tileSource, boolean tileGrid, boolean labels,
boolean buildings, float scale) {
Layers layers = mMap.layers();
if (tileSource != null) {
@@ -67,7 +62,7 @@ public abstract class GdxMap implements ApplicationListener {
}
if (tileGrid)
layers.add(new TileGridLayer(mMap, scale));
layers.add(new TileGridLayer(mMap));
}
@Override