It currently fails when the click falls through the marker and hits the
map. In such circumstances, you get "overlay" but not "latlng", so your
attempt to create a new marker at that location fails.

I recommend skipping all your createMarker() code when there is no
latlng.
function createMarker(overlay, latlng){
  if (latlng) {
    ...
  }
}

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