Interface TileLayerFactory
- All Known Implementing Classes:
DefaultTileLayerFactory
public interface TileLayerFactory
Creates the concrete mapsforge tile layers (
.
TileRendererLayer,
MBTiles, download and overlay layers with their tile caches) for the
invalid reference
MapsforgeMapView
Kept behind an interface so the layer-management orchestration (map switch, overlays, background) can be tested against a mock while this real construction - which needs map files, tile caches and network sources - stays isolated here.
- Author:
- Christian Pesch
-
Method Summary
Modifier and TypeMethodDescriptionorg.mapsforge.map.layer.LayercreateBackgroundLayer(File backgroundMap) org.mapsforge.map.layer.Layerorg.mapsforge.map.layer.download.TileDownloadLayercreateOverlayLayer(TileServer tileServer)
-
Method Details
-
createBackgroundLayer