Package org.mapsforge.map.layer.debug
Class TileCoordinatesLayer
- java.lang.Object
-
- org.mapsforge.map.layer.Layer
-
- org.mapsforge.map.layer.debug.TileCoordinatesLayer
-
public class TileCoordinatesLayer extends Layer
-
-
Constructor Summary
Constructors Constructor Description TileCoordinatesLayer(org.mapsforge.core.graphics.GraphicFactory graphicFactory, DisplayModel displayModel)TileCoordinatesLayer(DisplayModel displayModel, org.mapsforge.core.graphics.Paint paintBack, org.mapsforge.core.graphics.Paint paintFront)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(org.mapsforge.core.model.BoundingBox boundingBox, byte zoomLevel, org.mapsforge.core.graphics.Canvas canvas, org.mapsforge.core.model.Point topLeftPoint)Draws thisLayeron the given canvas.booleanisDrawSimple()voidsetDrawSimple(boolean drawSimple)-
Methods inherited from class org.mapsforge.map.layer.Layer
getDisplayModel, getPosition, isVisible, onAdd, onDestroy, onLongPress, onRemove, onScroll, onTap, requestRedraw, setDisplayModel, setVisible, setVisible
-
-
-
-
Constructor Detail
-
TileCoordinatesLayer
public TileCoordinatesLayer(org.mapsforge.core.graphics.GraphicFactory graphicFactory, DisplayModel displayModel)
-
TileCoordinatesLayer
public TileCoordinatesLayer(DisplayModel displayModel, org.mapsforge.core.graphics.Paint paintBack, org.mapsforge.core.graphics.Paint paintFront)
-
-
Method Detail
-
draw
public void draw(org.mapsforge.core.model.BoundingBox boundingBox, byte zoomLevel, org.mapsforge.core.graphics.Canvas canvas, org.mapsforge.core.model.Point topLeftPoint)Description copied from class:LayerDraws thisLayeron the given canvas.- Specified by:
drawin classLayer- Parameters:
boundingBox- the geographical area which should be drawn.zoomLevel- the zoom level at which thisLayershould draw itself.canvas- the canvas on which thisLayershould draw itself.topLeftPoint- the top-left pixel position of the canvas relative to the top-left map position.
-
isDrawSimple
public boolean isDrawSimple()
-
setDrawSimple
public void setDrawSimple(boolean drawSimple)
-
-