Currently using infoWindowHtml
to populate the tooltip within an Ajax request. Though, I would like to just remove the thing on an event if possible, that would be fantastic. Any Ideas?
Or do I have to do infowindow.setContent()
and then .open
?
You can create your own info windows, which allow you control over when they're opened, where they display, what the content is, and when they close. Here are the basic steps:
Here's a link to the info window reference for more information:
http://code.google.com/apis/maps/documentation/javascript/reference.html#InfoWindow