GM_CalcBearing 2pi instead of 0 for north

xilcoyxilcoy Global Mapper UserPosts: 2
edited February 2011 in SDK
I was trying to use the results from GM_CalcBearing and GM_CalcProjectedLocation to draw great circle lines and it worked for all cases except directly north.

GM_CalcBearing returns 2pi instead of 0.
and 360.0 is out of range for GM_CalcProjectLocation

Easy to work around, but I think GM_CalcBearing should have been returning 0.


Sign In or Register to comment.