closestPolylinePosition abstract method
PolylinePosition?
closestPolylinePosition(
- Point point,
- PolylinePosition positionFrom,
- PolylinePosition positionTo, {
- 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,
});