That doesn't work for my. Only one infoBubble can be opened this way. On 26 Jan., 10:48, Riccardo Magliocchetti <[email protected]> wrote: > I think you can avoid the array and change your original code like: > > google.maps.event.addListener(marker, 'click', function() { > if (!infoBubbles.isOpen()) { > infoBubbles.open(map, this); > ^------------ use this instead > of marker > } > > }); > > Funny enough i've just posted a request to update the documentation to use * > this* instead of *marker* :)
-- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
