> function remove() {
>         map.removeOverlay(marker);

There is nothing in that function to define 'marker', so the API has
no idea what it is supposed to remove, and reports 'marker is not
defined' as a clue for you.

Why start a new thread?
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/83e8e32543a9edc1/400ca12887d75828#400ca12887d75828

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