Samples improvements #32
This commit is contained in:
@@ -18,14 +18,14 @@ package org.oscim.test;
|
||||
import org.oscim.gdx.GdxMapApp;
|
||||
import org.oscim.utils.Parameters;
|
||||
|
||||
public class AtlasThemeMapTest extends MapTest {
|
||||
public class AtlasThemeTest extends SimpleMapTest {
|
||||
|
||||
private AtlasThemeMapTest() {
|
||||
private AtlasThemeTest() {
|
||||
Parameters.TEXTURE_ATLAS = true;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
GdxMapApp.init();
|
||||
GdxMapApp.run(new AtlasThemeMapTest());
|
||||
GdxMapApp.run(new AtlasThemeTest());
|
||||
}
|
||||
}
|
||||
@@ -24,7 +24,7 @@ import org.oscim.layers.tile.bitmap.BitmapTileLayer;
|
||||
import org.oscim.renderer.MapRenderer;
|
||||
import org.oscim.tiling.source.bitmap.DefaultSources;
|
||||
|
||||
public class BitmapLayerTest extends GdxMapImpl {
|
||||
public class BitmapTileTest extends GdxMapImpl {
|
||||
|
||||
private BitmapTileLayer mLayer = null;
|
||||
private BitmapTileLayer mShaded = null;
|
||||
@@ -73,6 +73,6 @@ public class BitmapLayerTest extends GdxMapImpl {
|
||||
|
||||
public static void main(String[] args) {
|
||||
GdxMapApp.init();
|
||||
GdxMapApp.run(new BitmapLayerTest(), null, 256);
|
||||
GdxMapApp.run(new BitmapTileTest(), null, 256);
|
||||
}
|
||||
}
|
||||
@@ -20,7 +20,7 @@ package org.oscim.test;
|
||||
import org.oscim.gdx.GdxMapApp;
|
||||
import org.oscim.utils.Parameters;
|
||||
|
||||
public class POTTextureTest extends MapTest {
|
||||
public class POTTextureTest extends SimpleMapTest {
|
||||
|
||||
private POTTextureTest() {
|
||||
Parameters.POT_TEXTURES = true;
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.oscim.tiling.TileSource;
|
||||
import org.oscim.tiling.source.OkHttpEngine;
|
||||
import org.oscim.tiling.source.oscimap4.OSciMap4TileSource;
|
||||
|
||||
public class MapTest extends GdxMapApp {
|
||||
public class SimpleMapTest extends GdxMapApp {
|
||||
|
||||
@Override
|
||||
public void createLayers() {
|
||||
@@ -68,6 +68,6 @@ public class MapTest extends GdxMapApp {
|
||||
|
||||
public static void main(String[] args) {
|
||||
GdxMapApp.init();
|
||||
GdxMapApp.run(new MapTest());
|
||||
GdxMapApp.run(new SimpleMapTest());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user