nearestPointTo
Finds the nearest point in the collection to the given position.
Return
The Point in the collection that is closest to the given position.
Parameters
point
The position to find the nearest point to.
Throws
if the collection is empty.
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