It does help, now it deletes the marker. However after removing the
marker I can not create a new one.

Any help on this?

On Mar 8, 2:28 am, Mike Williams <[email protected]> wrote:
> The dblclick event doesn't seem to be behaving exactly as documented.
>
> One workround is to make your "markers" variable global, and then change
>
>    markers = 0
> to
>    setTimeout("markers = 0",1);
>
> [Don't worry about whether 1 millisecond is always going to be long
> enough, Javascript timeouts are non-interrupting. The map dblclick event
> is queued to happen in zero milliseconds, so setting this to one
> millisecond ensures that it gets processed after the event processing
> has finished, even if it takes much longer than a millisecond.]
>
> --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
-~----------~----~----~----~------~----~------~--~---

Reply via email to