Thanks for the reply, Phil.<div><br></div><div>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.</div>
<div><br></div><div>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.</div><div>
<br></div><div>Matt</div><div><br><br><div class="gmail_quote">On Tue, May 15, 2012 at 4:26 PM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The selectFeature constructor has array of layers. Add both the layers<br>
into the array.<br>
<br>
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.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote></div><br></div>