Interface MapViewLayerOperations


public interface MapViewLayerOperations
The narrow set of
invalid reference
MapsforgeMapView
operations that extracted overlay painters (border, magnifier) need: coordinate conversion, layer add/remove and centering. Kept as an interface so those painters can be unit-tested against a mock instead of a live map.
Author:
Christian Pesch
  • Method Details

    • getTileSize

      int getTileSize()
    • asLatLong

      org.mapsforge.core.model.LatLong asLatLong(NavigationPosition position)
    • asLatLong

      List<org.mapsforge.core.model.LatLong> asLatLong(List<NavigationPosition> positions)
    • addLayer

      void addLayer(org.mapsforge.map.layer.Layer layer)
    • addLayers

      void addLayers(List<org.mapsforge.map.layer.Layer> layers)
    • removeLayer

      void removeLayer(org.mapsforge.map.layer.Layer layer)
    • removeLayers

      void removeLayers(List<org.mapsforge.map.layer.Layer> layers)
    • getRouteBoundingBox

      BoundingBox getRouteBoundingBox()
    • centerAndZoom

      void centerAndZoom(BoundingBox mapBoundingBox, BoundingBox routeBoundingBox, boolean alwaysZoom, boolean alwaysRecenter)