[OpenLayers-Users] Query multiple features from one or more vector layers

Matthew Foster matthew.foster at noaa.gov
Tue May 15 10:19:17 PDT 2012


I have a map built with OL 2.11, which includes 2 vector polygon layers
retrieved by WFS.  There are many instances where polygons overlap from one
or both layers.  We need the capability to query the attributes from all of
the overlapping polygons on a click.

I am currently using the SelectFeature control and onfeatureselect events,
which works fine where there is only a single feature, however, it fails
where features overlap.

How can I accomplish what we need?

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120515/9248ff93/attachment.html


More information about the Users mailing list