Package org.oscim.gdx

Class GdxMap

java.lang.Object
org.oscim.gdx.GdxMap
All Implemented Interfaces:
com.badlogic.gdx.ApplicationListener

public abstract class GdxMap extends Object implements com.badlogic.gdx.ApplicationListener
  • Field Details

    • mMap

      protected org.oscim.map.Map mMap
    • mGestureDetector

      protected com.badlogic.gdx.input.GestureDetector mGestureDetector
    • mMapRenderer

      protected org.oscim.renderer.MapRenderer mMapRenderer
  • Constructor Details

    • GdxMap

      public GdxMap()
  • Method Details

    • initDefaultLayers

      protected void initDefaultLayers(org.oscim.tiling.TileSource tileSource, boolean tileGrid, boolean labels, boolean buildings)
    • create

      public void create()
      Specified by:
      create in interface com.badlogic.gdx.ApplicationListener
    • initGLAdapter

      protected abstract void initGLAdapter(com.badlogic.gdx.graphics.glutils.GLVersion version)
    • createLayers

      protected void createLayers()
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.ApplicationListener
    • render

      public void render()
      Specified by:
      render in interface com.badlogic.gdx.ApplicationListener
    • resize

      public void resize(int w, int h)
      Specified by:
      resize in interface com.badlogic.gdx.ApplicationListener
    • pause

      public void pause()
      Specified by:
      pause in interface com.badlogic.gdx.ApplicationListener
    • resume

      public void resume()
      Specified by:
      resume in interface com.badlogic.gdx.ApplicationListener
    • onKeyDown

      protected boolean onKeyDown(int keycode)
    • onKeyUp

      protected boolean onKeyUp(int keycode)
    • getMap

      public org.oscim.map.Map getMap()