Tuesday, August 6, 2013

Have just one InfoWindow open in Google Maps API v3

google.maps.event.addListener(someMarker, 'click', function() {
   infowindow.setContent('Hello World');
   infowindow.open(map, someMarker);
});

No comments:

Post a Comment