[OpenLayers-Dev] SelectFeature for overlapping features?

Andreas Hocevar andreas.hocevar at gmail.com
Wed May 30 09:54:57 EDT 2007


If there are overlapping vector features (like multiple points at the
same position, or one polygon above another), how can all of them be
selected? Currently, using SelectFeature, only one feature is
selected. And it is inpredictable which one it is.

You can try it using
http://www.openlayers.org/dev/examples/select-feature.html. Draw two
polygons, one completely inside the other. Then select a point
belonging to both polygons.

Any ideas on that?


More information about the Dev mailing list