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 <[email protected]>

> 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
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to