public abstract class GdxMap
extends java.lang.Object
implements com.badlogic.gdx.ApplicationListener
| Modifier and Type | Field and Description |
|---|---|
protected com.badlogic.gdx.input.GestureDetector |
mGestureDetector |
protected org.oscim.map.Map |
mMap |
protected org.oscim.renderer.MapRenderer |
mMapRenderer |
| Constructor and Description |
|---|
GdxMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
create() |
protected void |
createLayers() |
void |
dispose() |
org.oscim.map.Map |
getMap() |
protected void |
initDefaultLayers(org.oscim.tiling.TileSource tileSource,
boolean tileGrid,
boolean labels,
boolean buildings) |
protected void |
initDefaultLayers(org.oscim.tiling.TileSource tileSource,
boolean tileGrid,
boolean labels,
boolean buildings,
float scale) |
protected boolean |
onKeyDown(int keycode) |
void |
pause() |
void |
render() |
void |
resize(int w,
int h) |
void |
resume() |
protected org.oscim.map.Map mMap
protected com.badlogic.gdx.input.GestureDetector mGestureDetector
protected org.oscim.renderer.MapRenderer mMapRenderer
protected void initDefaultLayers(org.oscim.tiling.TileSource tileSource,
boolean tileGrid,
boolean labels,
boolean buildings)
protected void initDefaultLayers(org.oscim.tiling.TileSource tileSource,
boolean tileGrid,
boolean labels,
boolean buildings,
float scale)
public void create()
create in interface com.badlogic.gdx.ApplicationListenerprotected void createLayers()
public void dispose()
dispose in interface com.badlogic.gdx.ApplicationListenerpublic void render()
render in interface com.badlogic.gdx.ApplicationListenerpublic void resize(int w,
int h)
resize in interface com.badlogic.gdx.ApplicationListenerpublic void pause()
pause in interface com.badlogic.gdx.ApplicationListenerpublic void resume()
resume in interface com.badlogic.gdx.ApplicationListenerprotected boolean onKeyDown(int keycode)
public org.oscim.map.Map getMap()