[OpenLayers-Users] Re: How to select Sets of Features

Franz Buchinger fbuchinger at gmail.com
Tue May 15 01:09:21 PDT 2012


Finally I had success by stuffing each geometry set into a
geometry.collection and restricting the FeatureSelect control to this
geometry type.

hope this helps,

Franz

2012/5/14 Franz Buchinger <fbuchinger at gmail.com>

> Hi,
>
> I want to restrict the FeatureSelect control to select sets of vector
> features: each set consists of a linestring geometry drawn by the user and
> some automatically generated polygons based on this linestring.
>
> It should not be possible to select individual features, just sets of
> features. My first approach was to restrict the feature select control to
> linestring geometries and then use the onSelect()-Handler to add the set
> polygons to the selection. This doesn't seem to work - any better
> suggestions?
>
> Thanks,
>
> Franz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120515/ded0a22d/attachment-0001.html


More information about the Users mailing list