On Sep 4, 2:24 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Now working :) , Thanks for your patience ,I have a little trouble > when a restart function , i don't now how remove specified icons ?, I > can remove the polylines like this: map.removeOverlay(polyline); , but > how remove the "start_icon" and "end_icon" ? Do you know how ?
You have to remove the "marker" that has that icon. I haven't looked at your code again to see if it has changed, but when I looked last one was called endMarker and the other marker: map.removeOverlay(endMarker); map.removeOverlay(marker); Note: The will both probably need to be in the global context for the statements above to work (which I don't think they were...). -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
