try adding only one selectFeature control to
the map with event listeners for
different layers
select = new OpenLayers.Control.SelectFeature([bdLayer, bcLayer]);
bdLayer.events.on({
"featureselected": onFeatureSelect,
"featureunselected": onFeatureUnselect,
});
bcLayer.events.on({
"featureselected": onClusterFeatureSelect
});
map.addControl(select);
select.activate();
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users