Hi Attempting to use the example from here (http://econym.org.uk/gmap/ example_cartrip2.htm) to trace a car journey but I need to modify the script in a few ways.
The journey is split into segments so rather than go from start to finish the car needs to move from A to B, B to C and C to D. I've stored the location names in an xml file, these are then put into a menu and when clicked loadFromWaypoints retrieves the waypoints and animates the relevant route. What I have so far is here: http://www.asquare.org/testfolder/googlemaps/map-multiple-journeys/ Firstly the journey is long and so the map needs to be zoomed out as I don't want the animation to be too long, I've got the car up to the right speed but can't get the polyline to create at the same speed - is this because loadFromWaypoints returns too much detail to do what I need? If so is there a way to specify the detail of waypoints returned or filter them appropriately to the zoom factor of the map? Secondly if there is no way to speed up the line enough (beginning to think there isn't) I would like to make the polyline for the route appear and just have the car animate along it - both car and polyline will still use loadFromWaypoints so is there a way to convert the returned waypoints into an encoded polyline to use with new GPolyline.fromEncoded? a+ gar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
