The way I ended up handling this was to create my own click handler (based
on the click-handler.html OL example).  On click, I create a LonLat object
from the clicked point.  I then iterate through the features array for each
layer, and test feature.geometry.atPoint(LonLat).  If it's true, act on
that feature.

It seems to be working well.  I suspect it could get slow if there were a
lot of features in the layers, but that isn't the case here.

Matt


On Wed, May 16, 2012 at 4:23 PM, Phil Scadden <[email protected]> wrote:

> More detail:
>
> http://osgeo-org.1560.n6.nabble.com/Select-WFS-Features-using-intersect-of-polygon-td4467419.html#a4470543
>
> 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