public class ThreadedLabelLayer extends LabelLayer
elementsToDraw, labelStore, lastLabelStoreVersion, lowerRight, matrix, upperLeftdisplayModel| Constructor and Description |
|---|
ThreadedLabelLayer(org.mapsforge.core.graphics.GraphicFactory graphicFactory,
LabelStore labelStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(org.mapsforge.core.model.BoundingBox boundingBox,
byte zoomLevel,
org.mapsforge.core.graphics.Canvas canvas,
org.mapsforge.core.model.Point topLeftPoint)
Draws this
Layer on the given canvas. |
protected void |
getData(org.mapsforge.core.model.Tile upperLeft,
org.mapsforge.core.model.Tile lowerRight) |
void |
onDestroy() |
drawgetDisplayModel, getPosition, isVisible, onAdd, onLongPress, onRemove, onTap, requestRedraw, setDisplayModel, setVisible, setVisiblepublic ThreadedLabelLayer(org.mapsforge.core.graphics.GraphicFactory graphicFactory,
LabelStore labelStore)
public void draw(org.mapsforge.core.model.BoundingBox boundingBox,
byte zoomLevel,
org.mapsforge.core.graphics.Canvas canvas,
org.mapsforge.core.model.Point topLeftPoint)
LayerLayer on the given canvas.draw in class LabelLayerboundingBox - the geographical area which should be drawn.zoomLevel - the zoom level at which this Layer should draw itself.canvas - the canvas on which this Layer should draw itself.topLeftPoint - the top-left pixel position of the canvas relative to the top-left map position.protected void getData(org.mapsforge.core.model.Tile upperLeft,
org.mapsforge.core.model.Tile lowerRight)