Class OverlayManager

java.lang.Object
slash.navigation.mapview.mapsforge.overlays.OverlayManager

public class OverlayManager extends Object
Manages the tile-server overlay download layers for the
invalid reference
MapsforgeMapView
: keeps them on their own GroupLayer and adds/removes them as the applied-overlays model changes. The tile layer construction is delegated to a TileLayerFactory and the view interactions go through OverlayManager.Context, so this orchestration can be unit-tested against mocks.
Author:
Christian Pesch
  • Constructor Details

  • Method Details

    • getLayer

      public org.mapsforge.map.layer.GroupLayer getLayer()
    • insert

      public void insert(int firstRow, int lastRow)
    • delete

      public void delete(int firstRow, int lastRow)