Hi I have recently started playing with Google Maps API and have found it very easy to pick up the basics. What I'd like to do is use a single map to show multiple directions.
So, what have I achieved so far? Well, I found that I could retrieve the polyline from a GDirections object by using the getPolyline attribute. This allows me to place several direction routes onto the map. And I can give each line a different colour to make them stand out. However, as my routes are likely to follow a similar path, I think my maps will be difficult to read with all the overlaid route lines. Here's an example I made: http://www.rjrweb.co.uk/gmaps/test9.html So, what I'd like to do is to have none of the polylines placed onto the map initially. Then, I'd like to have each route shown as a hyperlink or as a checkbox. By mousing over the links, or by clicking the checkbox, I'd like the route's polyline to be shown. My javascript skills aren't up to this, and I could do with some assistance. Much appreciated. Rich -- 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.
