On Feb 18, 8:52 am, "[email protected]" <[email protected]>
wrote:
> On Feb 18, 8:07 am, bob_harris <[email protected]> wrote:
>
> > Using the signed decimal degrees units which Google Maps uses, how can
> > I find the direction / angle of a straight line from point A to point
> > B on the map.
>
> > I'd like to have an azimuth returned which I can then convert into
> > "english". i.e.
> > 45 degrees = NE
> > 180 degrees = S
> > etc.
>
> > I've looked at various formulae on the internet but none of them seem
> > to work for me, the numbers they return don't make any sense.
>
> I have managed to make it work.  I can't point to a URL off the top of
> my head, but maybe if you provided one to your map where the numbers
> "don't make any sense", we can see what you are doing wrong.  If I
> have time I will try and dig up an example I can post.

Have you looked a Mike Williams' "Bearing" method in his epoly
extenstion?
http://econym.org.uk/gmap/epoly.htm

  -- Larry

>
>   -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to