[OpenLayers-Users] out-of-date docs re: selecting multiple layers

Rory Solomon rory at harshmellow.org
Mon Oct 24 02:21:14 EDT 2011


 Hello,

It seems that this comment from the documentation is out-of-date:

"As of OpenLayers 2.7, there is no support for selecting features from more
than a single vector layer at a time. The layer which is currently being
used for selection is the last one on which the .activate() method of the
attached select feature control was called."

That is from this page:
     http://docs.openlayers.org/library/overlays.html

I spent some time puzzling over that and finally asked about it in IRC to
which rdewit replied with this example, which basically proves, as far as I
can tell, that that comment is out-dated or wrong:
     http://openlayers.org/dev/examples/select-feature-multilayer.html

thanks very much,
Rory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111024/0a88af25/attachment.html


More information about the Users mailing list