On Jan 10, 4:23 pm, Rafael Savignon <[email protected]> wrote: > Hi Larry, > > http://sassa.my3gb.com/sample.html > > If you right click on map its fire 'rightclick' event as expected, > but if you right click on red polyline you got two 'rightclick' > events, the first is issued by the polyline (expected) and the second > by the map (unexpected).
Does this help: http://www.quirksmode.org/js/events_order.html -- Larry > > regards, > Rafael. > > On Jan 10, 9:12 pm, "[email protected]" <[email protected]> > wrote: > > > > > On Jan 10, 1:59 pm, Rafael Savignon <[email protected]> wrote: > > > > Hi all, > > > i subscribed for the 'rightclick' event on both, map and polyline and > > > defined proper and different callbacks for them. However when i click > > > over a polyline overlay I'm being notified twice, first by the > > > polyline and second by the map, i would like to be notified only by > > > polyline not by the map in this situation. isn't a polyline an > > > ordinary overlay, or does it has a different behavior regarding event > > > detection and propagation? > > > > * on gmap api v2 it would be easy to bypass it, checking the overlay > > > parameter on map event callback. But in v3 what should i do to achieve > > > the same result? > > > > thanks in advance, > > > Rafael. > > >http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e > > Do you have an example of your map that exhibits the problem? > > > -- Larry- Hide quoted text - > > - Show quoted text - -- 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.
