nearestPointOnLine
fun nearestPointOnLine(line: LineString, point: Position, units: Units = Units.Kilometers): NearestPointOnLineResult
Finds the closest Position along a LineString to a given position
Return
The closest position along the line
Parameters
line
The LineString to find a position along
fun nearestPointOnLine(lines: MultiLineString, point: Position, units: Units = Units.Kilometers): NearestPointOnLineResult
Finds the closest Position along a MultiLineString to a given position
Return
The closest position along the lines
Parameters
lines
The MultiLineString to find a position along