Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"jlloyd" <Is
href="mailto:jlloyd@dot.co.pima.az.us">jlloyd@dot.co.pima.az.us> wrote
in message
href="news:f189060.-1@WebX.maYIadrTaRb">news:f189060.-1@WebX.maYIadrTaRb...
it possible to calculate the angle between 2 points? I haven't found anything
in the API that will give me the angle of a polyline I select in the viewer,
but I can get the vertices for the start and end points of the feature. What I
need to be able to do is get the angle between those 2 points. I have searched
for solutions using javascript and have found the atan2() function that might
work, but it looks pretty complicated. Any suggestions?
Jack