Azimuth between two map points?

2673
2
12-29-2015 07:22 AM
WesBailes
New Contributor III

Any way to return azimuth between two map points?

0 Kudos
2 Replies
ChrisSmith7
Frequent 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
New Contributor

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?