On Sep 7, 12:14 am, neverever <[EMAIL PROTECTED]> wrote: > I have only two points (start & stop), and use GDirections to write > trace. > Rotate icon by defined angle - on php script
You don't rotate the image on the fly in PHP. That would be a huge waste of resources. You create a set of icons already rotated, (say one icon for every 10 degrees, meaning a total of 36 icons), and then you change the icon in the client by examining the individual road segments. Look at the getPolyline() method of GDirections: http://code.google.com/apis/maps/documentation/reference.html#GDirections Here's an example of how to parse GDirections results 'manually': http://maps.forum.nu/gm_driving_directions2.html -- Marcelo - http://maps.forum.nu -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
