public class TileCoordinatesLayer extends Layer
| Constructor and Description |
|---|
TileCoordinatesLayer(DisplayModel displayModel,
org.mapsforge.core.graphics.Paint paintBack,
org.mapsforge.core.graphics.Paint paintFront) |
TileCoordinatesLayer(org.mapsforge.core.graphics.GraphicFactory graphicFactory,
DisplayModel displayModel) |
| 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. |
boolean |
isDrawSimple() |
void |
setDrawSimple(boolean drawSimple) |
getDisplayModel, getPosition, isVisible, onAdd, onDestroy, onLongPress, onRemove, onTap, requestRedraw, setDisplayModel, setVisible, setVisiblepublic TileCoordinatesLayer(org.mapsforge.core.graphics.GraphicFactory graphicFactory,
DisplayModel displayModel)
public TileCoordinatesLayer(DisplayModel displayModel, org.mapsforge.core.graphics.Paint paintBack, org.mapsforge.core.graphics.Paint paintFront)
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 LayerboundingBox - 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.public boolean isDrawSimple()
public void setDrawSimple(boolean drawSimple)