Class Polyline
java.lang.Object
org.mapsforge.map.layer.Layer
slash.navigation.mapview.mapsforge.lines.Polyline
public class Polyline
extends org.mapsforge.map.layer.Layer
A line spanning across several
LatLongs on MapsforgeMapView- Author:
- Christian Pesch, inspired by Vass Gabor ...
-
Field Summary
Fields inherited from class org.mapsforge.map.layer.Layer
displayModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(org.mapsforge.core.model.BoundingBox boundingBox, byte zoomLevel, org.mapsforge.core.graphics.Canvas canvas, org.mapsforge.core.model.Point topLeftPoint, org.mapsforge.core.model.Rotation rotation) Methods inherited from class org.mapsforge.map.layer.Layer
getDisplayModel, getPosition, isVisible, onAdd, onDestroy, onLongPress, onRemove, onScroll, onTap, requestRedraw, setDisplayModel, setVisible, setVisible
-
Constructor Details
-
Polyline
public Polyline(List<org.mapsforge.core.model.LatLong> latLongs, org.mapsforge.core.graphics.Paint paint, int tileSize)
-
-
Method Details
-
draw
public void draw(org.mapsforge.core.model.BoundingBox boundingBox, byte zoomLevel, org.mapsforge.core.graphics.Canvas canvas, org.mapsforge.core.model.Point topLeftPoint, org.mapsforge.core.model.Rotation rotation) - Specified by:
drawin classorg.mapsforge.map.layer.Layer
-