Skip to content
Permalink
Browse files

#906 restoring polyline addPoint function

  • Loading branch information...
spyhunter99 committed Oct 26, 2019
1 parent 1a7c6f9 commit c245bcd129463a344606f24213acd4471dd5d35c
Showing with 9 additions and 0 deletions.
  1. +9 −0 osmdroid-android/src/main/java/org/osmdroid/views/overlay/Polyline.java
@@ -143,6 +143,15 @@ public void setPoints(List<GeoPoint> points) {
}
/**
* Add the point at the end.
* If geodesic mode has been set, the long segments will follow the earth "great circle".
*/
public void addPoint(GeoPoint p){
mOriginalPoints.add(p);
mOutline.addPoint(p);
}
/**
* Detection is done is screen coordinates.
*

0 comments on commit c245bcd

Please sign in to comment.
You can’t perform that action at this time.