locationIndexOnPath method
Segment index of point on polyline, or -1.
Implementation
int locationIndexOnPath(
Point<double> point, List<Point<double>> polyline, bool geodesic) =>
PolyUtils.locationIndexOnPath(point, polyline, geodesic);