Class AwtGraphicMapView

java.lang.Object
java.awt.Component
java.awt.Container
slash.navigation.mapview.mapsforge.AwtGraphicMapView
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, org.mapsforge.map.view.MapView

public class AwtGraphicMapView extends Container implements org.mapsforge.map.view.MapView
Implementation of a MapView Container.
Author:
Christian Pesch, inspired by org.mapsforge.map.swing.view.MapView
See Also:
  • Method Details

    • addLayer

      public void addLayer(org.mapsforge.map.layer.Layer layer)
      Specified by:
      addLayer in interface org.mapsforge.map.view.MapView
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.mapsforge.map.view.MapView
    • destroyAll

      public void destroyAll()
      Specified by:
      destroyAll in interface org.mapsforge.map.view.MapView
    • getBoundingBox

      public org.mapsforge.core.model.BoundingBox getBoundingBox()
      Specified by:
      getBoundingBox in interface org.mapsforge.map.view.MapView
    • getDimension

      public org.mapsforge.core.model.Dimension getDimension()
      Specified by:
      getDimension in interface org.mapsforge.map.view.MapView
    • getFpsCounter

      public org.mapsforge.map.view.FpsCounter getFpsCounter()
      Specified by:
      getFpsCounter in interface org.mapsforge.map.view.MapView
    • getFrameBuffer

      public org.mapsforge.map.view.FrameBuffer getFrameBuffer()
      Specified by:
      getFrameBuffer in interface org.mapsforge.map.view.MapView
    • getLayerManager

      public org.mapsforge.map.layer.LayerManager getLayerManager()
      Specified by:
      getLayerManager in interface org.mapsforge.map.view.MapView
    • getMapRotation

      public org.mapsforge.core.model.Rotation getMapRotation()
      Specified by:
      getMapRotation in interface org.mapsforge.map.view.MapView
    • getMapScaleBar

      public org.mapsforge.map.scalebar.MapScaleBar getMapScaleBar()
      Specified by:
      getMapScaleBar in interface org.mapsforge.map.view.MapView
    • getMapViewCenterX

      public float getMapViewCenterX()
      Specified by:
      getMapViewCenterX in interface org.mapsforge.map.view.MapView
    • getMapViewCenterY

      public float getMapViewCenterY()
      Specified by:
      getMapViewCenterY in interface org.mapsforge.map.view.MapView
    • getMapViewProjection

      public org.mapsforge.map.util.MapViewProjection getMapViewProjection()
      Specified by:
      getMapViewProjection in interface org.mapsforge.map.view.MapView
    • getModel

      public org.mapsforge.map.model.Model getModel()
      Specified by:
      getModel in interface org.mapsforge.map.view.MapView
    • getOffsetX

      public float getOffsetX()
      Specified by:
      getOffsetX in interface org.mapsforge.map.view.MapView
    • getOffsetY

      public float getOffsetY()
      Specified by:
      getOffsetY in interface org.mapsforge.map.view.MapView
    • paint

      public void paint(Graphics graphics)
      Overrides:
      paint in class Container
    • rotate

      public void rotate(org.mapsforge.core.model.Rotation rotation)
      Specified by:
      rotate in interface org.mapsforge.map.view.MapView
    • setCenter

      public void setCenter(org.mapsforge.core.model.LatLong center)
      Specified by:
      setCenter in interface org.mapsforge.map.view.MapView
    • setMapScaleBar

      public void setMapScaleBar(org.mapsforge.map.scalebar.MapScaleBar mapScaleBar)
      Specified by:
      setMapScaleBar in interface org.mapsforge.map.view.MapView
    • setMapViewCenterX

      public void setMapViewCenterX(float mapViewCenterX)
      Specified by:
      setMapViewCenterX in interface org.mapsforge.map.view.MapView
    • setMapViewCenterY

      public void setMapViewCenterY(float mapViewCenterY)
      Specified by:
      setMapViewCenterY in interface org.mapsforge.map.view.MapView
    • setZoomLevel

      public void setZoomLevel(byte zoomLevel)
      Specified by:
      setZoomLevel in interface org.mapsforge.map.view.MapView
    • setZoomLevelMax

      public void setZoomLevelMax(byte zoomLevelMax)
      Specified by:
      setZoomLevelMax in interface org.mapsforge.map.view.MapView
    • setZoomLevelMin

      public void setZoomLevelMin(byte zoomLevelMin)
      Specified by:
      setZoomLevelMin in interface org.mapsforge.map.view.MapView