I have only two points (start & stop), and use GDirections to write
trace.
Rotate icon by defined angle - on php script
...but i don't know howto on every step getting direction (angle to
show concret icon)

maps.huge.info [Maps API Guru] napisał(a):
> If you have two points, you can determine the angle with common
> geometry equations. Search this forum or Google for exact details.
>
> -John Coryat

I see this page, but ...I have only two points (start & stop)

Rossko napisał(a):
> Well, you'll need to work out the heading of the current segment, from
> its end points.
> Some hints -
>    http://econym.googlepages.com/dist.htm
> cheers, Ross K

Hmm... i don't find this copy. You have a url, or something?

Mike Williams napisał(a):
> I seem to remember someone producing a copy of my cartrip page with a
> car marker that changed icons to rotate to follow the bearing. You might
> find a reference to it if you search this group.

--~--~---------~--~----~------------~-------~--~----~
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