java.lang.Object
org.mapsforge.map.layer.Layer
slash.navigation.mapview.mapsforge.lines.Line

public class Line extends org.mapsforge.map.layer.Layer
A line between two LatLongs on MapsforgeMapView
Author:
Christian Pesch
  • Field Summary

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

    displayModel
  • Constructor Summary

    Constructors
    Constructor
    Description
    Line(org.mapsforge.core.model.LatLong from, org.mapsforge.core.model.LatLong to, 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

    • Line

      public Line(org.mapsforge.core.model.LatLong from, org.mapsforge.core.model.LatLong to, 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