Rossko, Thanks for that.
What I want to do is have just a marker, and when clicking on the marker the info window that pops up generates the poly line to appear from point a to point b which I have already available in my xml. However I want that poly line to disappear when I close the info window or click another marker and the new one appear. If anyone has any tips or links to a good guide to get me started I'd be very grateful. many thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---