Thanks for the reply, Phil.

I think I wasn't clear enough about what behavior I'm needing.  I don't
believe selectFeature has the capabilities I need in any form.  I have some
cases, where one of the layers has two or more polygon features that are
completely contained within each other.  For example, polygons A, B and C,
where A completely contains B, and B completely contains C.  Using
selectFeature, I can only get back the attributes for one of those features.

What I really need is a click handler that will return an array of all
features that are under the clicked point.  It seems like this should be
possible, but I can't figure out how to do it.

Matt


On Tue, May 15, 2012 at 4:26 PM, Phil Scadden <[email protected]> wrote:

> The selectFeature constructor has array of layers. Add both the layers
> into the array.
>
> Notice: This email and any attachments are confidential. If received in
> error please destroy and immediately notify us. Do not copy or disclose the
> contents.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to