Global Mapper v25.0

GM_CalcBearing 2pi instead of 0 for north

xilcoy
xilcoy Global Mapper User
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.

Comments