Class OverlayManager
java.lang.Object
slash.navigation.mapview.mapsforge.overlays.OverlayManager
Manages the tile-server overlay download layers for the
: keeps them on
their own
invalid reference
MapsforgeMapView
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceTheinteractions the overlay handling needs.invalid reference
MapsforgeMapView -
Constructor Summary
ConstructorsConstructorDescriptionOverlayManager(TileLayerFactory tileLayerFactory, ItemTableModel<TileServer> appliedOverlaysModel, OverlayManager.Context context) -
Method Summary
-
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)
-