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
    Constructor
    Description
    Polyline(List<org.mapsforge.core.model.LatLong> latLongs, org.mapsforge.core.graphics.Paint paint, int tileSize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     

    Methods inherited from class org.mapsforge.map.layer.Layer

    getDisplayModel, getPosition, isVisible, onAdd, onDestroy, onLongPress, onRemove, onScroll, onTap, requestRedraw, setDisplayModel, setVisible, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      draw in class org.mapsforge.map.layer.Layer