closestPolylinePosition abstract method

PolylinePosition? closestPolylinePosition(
  1. Point point,
  2. PolylinePosition positionFrom,
  3. PolylinePosition positionTo, {
  4. required double maxLocationBias,
})

Finds the closest polyline position between the two positions. Returns null if there is no position that satisfies the condition distance(point, position) < maxLocationBias.

Implementation

mapkit_geometry_geometry.PolylinePosition? closestPolylinePosition(
  mapkit_geometry_point.Point point,
  mapkit_geometry_geometry.PolylinePosition positionFrom,
  mapkit_geometry_geometry.PolylinePosition positionTo, {
  required core.double maxLocationBias,
});