diff options
-rw-r--r-- | gmap_arcgis.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js index f03a241..24c2608 100644 --- a/gmap_arcgis.js +++ b/gmap_arcgis.js @@ -275,6 +275,7 @@ function gmapArcgis(config) { var attributes = feature.attributes; google.maps.event.addListener(marker, 'click', function() { + self.closeInfoWindows(); infowindow.setContent(content(attributes)); infowindow.open(self.map, marker); }); @@ -565,6 +566,7 @@ function gmapArcgis(config) { }] }; + self.closeInfoWindows(); self.config.panoramio.photoWidget.setRequest(photoRequestOptions); self.config.panoramio.photoWidget.setPosition(0); self.config.panoramio.infoWindow.setPosition(e.latLng); |