On Mar 5, 1:35 pm, Chris C <[email protected]> wrote: > Up until the March 4 Javascript update my event listeners have been > working fine: > > markers[i] = new g.Marker( > { position: myLatlng, > icon: image, > shadow:imageShw, > map: map, > draggable: false > }); > markers[i].event = g.event.addListener(markers[i], 'click', > function() { > markerClick(this); > }); > > Using my iPhone 4 I can receive touch events for markers where I > display info windows. This works today for one of my three maps > but not for the other two. Their code is exactly the same. The > markers are the same types too. Not sure whats causing two two > other maps not to respond to the click event nor do I know what > might need to be changed to accomodate the new standard. The > documentation is not clear.
Are the posting guidelines not clear? READ THIS FIRST: Posting Guidelines http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e Please provide a link to your map that exhibits the problem. A link to a working map that has "code is exactly the same" would be useful also as the problem is probably in the difference between the two. -- Larry > > BTW I tried the addDomListener and it did not make any difference. -- 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.
