thx for feedback.

Another thing I noticed is that if I have 2 overlapping polylines, only 1
polyline receives the event so there is some kind of z-index analysis...



On Tue, Jun 7, 2011 at 6:00 PM, Rossko <[email protected]> wrote:

> > I know all about stopping event propagation, etc, I'm just not
> understanding
> > is why this is happening in Gmaps2, because it doesn't make sense to me:
> if
> > z-index is bigger it should receive the event first, no?
>
> See
>
> http://googlemapsapi.blogspot.com/2007/09/v288-clickable-polylines-polygons.html
> click detection for polylines is not done directly on the screen image
> or pixels, it is done by a behind the scenes algorithm in the API.  I
> guess z-index doesn't affect that process.
>
> You might write a poly click handler that checks to see if the click
> is within your menu bounds, and ignores it.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API V2" 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-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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-api?hl=en.

Reply via email to