Code launched from a HTML <a href="javascript:..."> tag executes in global context, and can only access global variables.
Your "map" and "markers" variables are local to your initialize() function, so they're not available in global context. When you get that working, you will need to do something to prevent someone clicking on "Remove This Marker" more than once. E.g. close the info window when you remove the marker. Attempting to remove an overlay that has already been removed causes problems. -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
