Select to view content in your preferred language

Calculating Angles

836
1
11-28-2011 10:26 AM
BrianGustafson
Occasional Contributor
Has anyone had to calculate the angle of a client drawn polyline?  Is there a client side function for this with the new V2.3 of the API?
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
We don't have a public method to calculate angle in the API. You can however, use Math.Atan2() http://en.wikipedia.org/wiki/Atan2
0 Kudos