On Feb 23, 6:28 am, Darkray16 <[email protected]> wrote:
> Hello,
>
> The situation is:
> There are overlapping polygons, some shapes will overlap onto other shapes.
> When I click on an area that has overlapping shapes, I want ALL of the
> polygon overlays to receive the click event.
> Basically, I want to know all of the shapes that I clicked on.
>
> Does anyone know how I would do this?
>
> Currently, I have only event listeners on each shape, and when I click on an
> area with two polygons overlapping, only one of the polygon fires off a
> click event, I think the one on top. I need to know about the polygon
> underneath also.
>
> Thanks for any help, this one has me stumped and I've done searching and
> came up with nothing.
Except for Internet Explorer, PolyCluster event listeners receive all
overlapped polys in an array of poly names. Unfortunately, I do not
have a good overlapped polys demo.
See:
http://www.polylib.us/polycluster/airports
for a light weight markers demo. The event listeners are essentially
the same.
--
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.