Wasn't it warden [Andrew Leach - Maps API Guru] who wrote:
>So just add an onclick handler to your HTML <a> tag outside the map
>and call a Javascript function which adds a draggable marker at the
>centre of the map.

And make sure that everything it uses is global, since HTML onclicks 
execute in global context. In particular your "map" variable and your 
"createMarker()" function should be global.

-- 
http://econym.googlepages.com/index.htm
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to