nearestPointTo
fun LineStringGeometry.nearestPointTo(point: Position): Feature<Point, NearestPointOnLineProps>(source)
Finds the closest Position along a LineString to a given position.
Return
The closest position along the line
Parameters
point
The Position given to find the closest point along the LineString