On Jan 5, 7:42 am, "dr. Turtev" <[email protected]> wrote: > Hello everyone, > I am new here so please excuse me if I do something wrong. > I need some help of you folks. I have C# desktop app that uses Google Maps. > I have two points (with GPS coordinates) and a line between them. What I > can't figure how to do is how can I draw line (beam) that starts from one of > these points and is at some angle from the first line. The problem is that I > don't have any points for the second line - only the starting point. I don't > care how long will be the second line - it can be just a beam. > > Thanks and best regards!
Try computeOffset() in the Geometry Library: http://code.google.com/apis/maps/documentation/javascript/geometry.html#Navigation + Given a particular heading, an origin location, and the distance to travel (in meters), you can calculate the + destination coordinates using computeOffset(). -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
