android - Directions between points on map? -
i need in finding directions between path point
the problem can find bearing, distance , angles between points page helped me lot have latitude , longitude of each point on route
http://www.movable-type.co.uk/scripts/latlong.html
but want know how tell user turn "left" or turn "right" using these equations if used same functionality in language tell me
assuming 0 degrees going forward, 180 degrees going backward, , angles go clockwise 0 360 degrees.
340 - 20: continue forward 20 - 60: turn right 60 - 120: turn right 120 - 160: turn sharply right 160 - 200: turn around 200 - 240: turn sharply left 240 - 300: turn left 300 - 340: turn left
Comments
Post a Comment