All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GeoUtils.CalculateDestinationPoint(GeoPoint, Double, Double) Method

Calculates a geographical point based on the specified start point, distance, and bearing.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v21.2.dll

Declaration

public static GeoPoint CalculateDestinationPoint(
    GeoPoint startPoint,
    double distance,
    double bearing
)

Parameters

Name Type Description
startPoint GeoPoint

The starting geographical point.

distance Double

The distance in meters to the destination point measured along a geodesic line.

bearing Double

The bearing to the destination point, in degrees.

Returns

Type Description
GeoPoint

The destination geographical point.

Remarks

The following example calculates the destination geographical point:

GeoPoint startPoint = new GeoPoint(53.1914, 001.4347);
GeoPoint destinationPoint = GeoUtils.CalculateDestinationPoint(startPoint, 17910000, 276.0117);

The distance is measured along a geodesic line. The image below shows this geodesic line:

See Also