Hi All, I need the OpenLayers.Control.SelectFeature control to work for two layers. So I add the layers as an array which works fine in the code which is at http://fsegweb.gre.ac.uk/expertgui/SelectFeaturesLayerArray.html The popups appear when either layer is clicked. However, the popup close method does not work under two conditions: 1) When more than 72 layers are added (see comment in code). 2) When the layers are added to the SelectFeature control as an array. If a single layer is added it is fine. If a single layer is added as an array such as [layer1], it still does not work (see comment in code) SelectFeaturesLayerArray.html <http://osgeo-org.1560.x6.nabble.com/file/n5181312/SelectFeaturesLayerArray.html>
Any help will be much appreciated. Thanks in advance. Anand. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Issue-with-having-an-array-of-layers-for-OpenLayers-Control-SelectFeature-tp5181312.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users