On Sep 1, 9:16 am, Voldemort <[EMAIL PROTECTED]> wrote: > I want to create a marker at center of map when my user clicks on some > link (say: "Add New marker") << OUTSIDE >> the map. > > This marker should be draggable.
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. If you've already tried that, please follow the posting guidelines and post a link to your map. I can't see what the code you quoted has to do with the problem (it looks like it adds a marker when the map is clicked; but it will fail if you click an overlay) 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 -~----------~----~----~----~------~----~------~--~---
