logo separator

[mkgmap-dev] Commit: r2795: Minor correction to getAngle.

From svn commit svn at mkgmap.org.uk on Thu Oct 31 06:42:18 GMT 2013

Version mkgmap-r2795 was committed by gerd on Thu, 31 Oct 2013

Minor correction to getAngle.
Always use c2 to calculate the initial bearing. 
(c1.bearingTo(c2) != c2.bearingTo(c1) - 180)
The previous version returned wrong values
when the distance between c1 and c2 or c2 and c3 
was large.
See http://www.movable-type.co.uk/scripts/latlong.html


More information about the mkgmap-dev mailing list