isLocationOnPath static method

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

Same as isLocationOnPath

with a default tolerance of 0.1 meters.

Implementation

static bool isLocationOnPath(
        Point<double> point, List<Point<double>> polyline, bool geodesic) =>
    isLocationOnPathTolerance(point, polyline, geodesic, _defaultTolerance);