Returns the point at the given distance along the line.
public static MapPoint CreatePointAlong(Polyline polyline, double distance)
The polyline from which point is created.
The distance along the polyline in the units of the polyline where point is created.
The point at the given distance along the line.
If distance is less than or equal to zero, the point returned is coincident with the start of the line. If distance is greater than or equal to the line's length, the point returned is coincident with the end of the line. If the line has multiple parts, and the distance falls exactly on a boundary between two parts, the returned point will be coincident with either the end of one part or the start of the next which is undetermined.
Supports true curves.
Platforms and versions
|.NET Standard 2.0||100.3 - 100.14|
|.NET 6.0||100.13 - 100.14|
|.NET 6.0 Windows||100.13 - 100.14|
|.NET Framework||100.2.1 - 100.14|
|.NET 5||100.10 - 100.12|
|.NET Core 3.1||100.7 - 100.12|
|Xamarin.Android||100.2.1 - 100.14|
|Xamarin.iOS||100.2.1 - 100.14|
|UWP||100.2.1 - 100.14|