Select to view content in your preferred language

Azimuth between two map points?

2964
2
12-29-2015 07:22 AM
WesBailes
Occasional Contributor

Any way to return azimuth between two map points?

0 Kudos
2 Replies
ChrisSmith7
Honored Contributor

You may want to check out the GeometryEngine.GeodesicDistance Method

GeometryEngine.GeodesicDistance Method

Calculates the geodesic distance between 2 given points and calculates the azimuth at both points for the geodesic curves that connects the points.
0 Kudos
NathanKnotts
Deactivated User

Chris Smith wrote:

You may want to check out the GeometryEngine.GeodesicDistance Method

GeometryEngine.GeodesicDistance Method

Calculates the geodesic distance between 2 given points and calculates the azimuth at both points for the geodesic curves that connects the points.

That is the documentation for GeometryEngine.GeodesicDistance Method but from the syntax, there doesn't seem to be any way of retrieving the azimuth.

public static double GeodesicDistance(

MapPoint point1,

MapPoint point2,

LinearUnit unit

)

Am I missing something?