PathApi (Class)

Namespace: Wrld.Paths

An Api containing utility methods for polyline paths.

Methods

PointOnPath GetPointOnPath (LatLong inputPoint, List<​LatLong​> polylinePathPoints)

For a polyline path, calculates the point on the polyline that is closest to a query point.

Returns: A results structure providing information about the point on the polyline path that is closest to inputPoint.

Argument Type Description
inputPoint LatLong The input query point.
polylinePathPoints List<​LatLong​> Points representing the path polyline vertices.
v0.8.17