isLocationOnPathTolerance method

bool isLocationOnPathTolerance(
  1. Point<double> point,
  2. List<Point<double>> polyline,
  3. bool geodesic,
  4. double tolerance,
)

Whether point lies on polyline within tolerance meters.

Implementation

bool isLocationOnPathTolerance(Point<double> point,
        List<Point<double>> polyline, bool geodesic, double tolerance) =>
    PolyUtils.isLocationOnPathTolerance(point, polyline, geodesic, tolerance);