This example: http://maps.forum.nu/temp/gm_bearing.html
is API V2, but the math to calculate the angles is version agnostic. You can drag the markers to redraw. -- Marcelo - http://maps.forum.nu -- On Dec 1, 11:47 am, skrite <[email protected]> wrote: > Hey all > > I need to draw a circle with a line that goes from the center to the edge > of the circle at a certain angle. I know that i can draw to the exact > North, South, East, and West using the getNorthEast() function and such, > and use the difference to draw the other side. > However, i need to know how to draw the line if the angle is not 0, 90, > 180, or 270 degrees. If i know the lat,long of the center, and i know the > radius in meters (what i need to get a circle on Google Maps), what can i > use to get the lat,long of a line at X angle? > > Oh, and if it matters, the circles are only about 2 miles across the > Diameter. > > Thanks for any tips. > > skrite -- 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.
