hasJobQueue, isTransparent, jobQueue, tileCache
displayModel
Constructor and Description |
---|
TileStoreLayer(TileCache tileCache,
MapViewPosition mapViewPosition,
org.mapsforge.core.graphics.GraphicFactory graphicFactory,
boolean isTransparent) |
Modifier and Type | Method and Description |
---|---|
protected Job |
createJob(org.mapsforge.core.model.Tile tile) |
protected boolean |
isTileStale(org.mapsforge.core.model.Tile tile,
org.mapsforge.core.graphics.TileBitmap bitmap)
Whether the tile is stale and should be refreshed.
|
draw, getTileCache, retrieveLabelsOnly, setDisplayModel
getDisplayModel, getPosition, isVisible, onAdd, onDestroy, onLongPress, onRemove, onTap, requestRedraw, setVisible, setVisible
public TileStoreLayer(TileCache tileCache, MapViewPosition mapViewPosition, org.mapsforge.core.graphics.GraphicFactory graphicFactory, boolean isTransparent)
protected Job createJob(org.mapsforge.core.model.Tile tile)
protected boolean isTileStale(org.mapsforge.core.model.Tile tile, org.mapsforge.core.graphics.TileBitmap bitmap)
false
. Both arguments can be null.isTileStale
in class TileLayer<Job>
tile
- A tile.bitmap
- The bitmap for tile
currently held in the layer's cache.