There is a close() function for InfoWindows. Just keep track of the last opened window, and call the close function on it when a new window is created.
More Related Contents:
- Google Maps JS API v3 – Simple Multiple Marker Example
- Using Address Instead Of Longitude And Latitude With Google Maps API
- How to Display Multiple Google Maps per page with API V3
- Google Map API v3 — set bounds and center
- Google Map API – multiple icons in wrong spot
- What’s the API Key for in Google Maps API V3?
- Google Maps API autocomplete 2nd address fields on same page
- google maps move marker with lat/lng from ajax success returned data
- Google Maps API V3 : How show the direction from a point A to point B (Blue line)?
- Do I need to hide API key when using google maps js API? If so, how?
- How to set zoom level in google map
- Have just one InfoWindow open in Google Maps API v3
- Google Maps – How to get the distance between two point in metre?
- Load google maps v3 dynamically with ajax
- How to get the formatted address from a dragged marker in Google Version Maps
- How to draw a polygon around a polyline in JavaScript?
- Request main road / curbside StreetView panoramas instead of back alleys from API
- Open infoWindows from an external link outside of the google map
- XMLHttpRequest cannot load No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:3000’ Google maps
- Animating Multiple Markers
- Google Maps API v3: How do I dynamically change the marker icon?
- Google map custom marker with css rounded corner
- How to trigger the onclick event of a marker on a Google Maps V3?
- Determine if point is within bounding box
- Add CSS styled marker to google maps
- Adding simple marker clusterer to google map
- Google map multiple overlay no cumulative opacity
- Google Directions Api returning 0 routes
- Change map opacity outside circle of Google Maps JavaScript API v3
- Google maps API V3 method fitBounds()