On May 6, 8:20 am, "[email protected]" <[email protected]>
wrote:
>     I have shown several markers on Google map. When I will click on
> particular marker,I                                             want
> to remove that marker.
> I have tried using removeOverlay(marker).But it's not working.

Probably because "marker" doesn't refer to the marker you want to
remove. You need to hold your markers in an array when you create
them, in order that you can remove just the one you need with
something like removeOverlay(markers[1]);

You need to create your array, of course. The API doesn't do that for
you.

You've been posting here for long enough to know that a link to your
map is a positive advantage. Please supply one with future queries.

Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to