Package org.mapsforge.map.layer.renderer
Class RendererJob
- java.lang.Object
-
- org.mapsforge.map.layer.queue.Job
-
- org.mapsforge.map.layer.renderer.RendererJob
-
public class RendererJob extends Job
-
-
Field Summary
Fields Modifier and Type Field Description DisplayModel
displayModel
boolean
labelsOnly
MapDataStore
mapDataStore
RenderThemeFuture
renderThemeFuture
float
textScale
-
Constructor Summary
Constructors Constructor Description RendererJob(org.mapsforge.core.model.Tile tile, MapDataStore mapFile, RenderThemeFuture renderThemeFuture, DisplayModel displayModel, float textScale, boolean isTransparent, boolean labelsOnly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
RendererJob
otherTile(org.mapsforge.core.model.Tile tile)
Just a way of generating a hash key for a tile if only the RendererJob is known.void
setRetrieveLabelsOnly()
Indicates that for this job only the labels should be generated.-
Methods inherited from class org.mapsforge.map.layer.queue.Job
composeKey, getKey
-
-
-
-
Field Detail
-
displayModel
public final DisplayModel displayModel
-
labelsOnly
public boolean labelsOnly
-
mapDataStore
public final MapDataStore mapDataStore
-
renderThemeFuture
public final RenderThemeFuture renderThemeFuture
-
textScale
public final float textScale
-
-
Constructor Detail
-
RendererJob
public RendererJob(org.mapsforge.core.model.Tile tile, MapDataStore mapFile, RenderThemeFuture renderThemeFuture, DisplayModel displayModel, float textScale, boolean isTransparent, boolean labelsOnly)
-
-
Method Detail
-
otherTile
public RendererJob otherTile(org.mapsforge.core.model.Tile tile)
Just a way of generating a hash key for a tile if only the RendererJob is known.- Parameters:
tile
- the tile that changes- Returns:
- a RendererJob based on the current one, only tile changes
-
setRetrieveLabelsOnly
public void setRetrieveLabelsOnly()
Indicates that for this job only the labels should be generated.
-
-