> So originally I tried the following:
....
> GEvent.addListener(map, "click", function() {
>    mapMarker.openInfoWindowHtml(htmlMarker);});

The clue is here -
>  I want the
> user to be able to click on the marker to reopen the infoWindow.

Look into adding the click listener to the marker, not the whole map.
Clicking on the infowindow (to close it) is seen by the map as a valid
click on an overlay and triggers your map-based click listener.

You haven't bothered posting a link to your page, so we've no idea
whether that will work straight out of the box, or if you might need
to get 'function closure' on the marker click function.  For more on
that see -
   http://econym.googlepages.com/basic1.htm

cheers, Ross K

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