I'm not sure how I would do this for each marker as they are fed in from a CMS and there are literally thousands being fed in.
On Jun 7, 3:07 pm, Rossko <ros...@culzean.clara.co.uk> wrote: > > google.maps.event.addListener(markers, > > 'click', function() { > > You can't add a click listener to a javascript array. Or rather, you > can, but nothing ever triggers it because the user can't click an > array. > > Try adding listeners to each marker. You'll probably want to explore > the concept of 'closure' to capture different content for each > infowindow.http://code.google.com/apis/maps/documentation/javascript/examples/ev... -- 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.