locationIndexOnPath static method

int locationIndexOnPath(
  1. Point<num> point,
  2. List<Point<num>> polyline,
  3. bool geodesic
)

Same as {@link #locationIndexOnPath(Point, List, bool, double)}

with a default tolerance of 0.1 meters.

Implementation

static int locationIndexOnPath(
        Point point, List<Point> polyline, bool geodesic) =>
    locationIndexOnPathTolerance(
        point, polyline, geodesic, _defaultTolerance);