Articles

An AJAX-powered mapping technology provided by Google, which easily allows mashups.

  1. Sign up for API key
  2. API Reference

infowindowopen, infowindowclose not working

I was having an issue where the infowindowopen and infowindowclose methods weren’t working:

GEvent.addListener(marker, "infowindowopen", function() {...}

It turns out the problem was that immediately after creating these listeners, I would open a new info window, which seemed to disable all of the map markers:

marker.openInfoWindowHtml("");