I'd like my map to display a few layers in a particular order. Some of these layers are Vectors, others are XYZs, and some of my Vector layers display attribution.
Initial layer ordering works fine until I attempt to provide attribution for some of my vector layers. The problem comes when I use the SelectFeature control to handle vector attribution. Those layers that are added to this control are then rendered on top of the map's other layers (preventing the layers from being ordering in a meaningful manner).
I'm seeking a solution that allows the attribution of some vector layers while also allowing control over the layer rendering order.
I've filed an OpenLayers bug report: https://github.com/openlayers/openlayers/issues/661
Sample code can be found here: https://gist.github.com/3537881
And an example of that same code can be viewed here: http://labs.ecotrust.org/selectfeature/selectfeatureanomaly.html
This example demonstrates the re-ordering that occurs when the SelectFeature control is activated and deactivated (click on the Activate Control link under the map).
Again, I'm looking for a solution that allows me to maintain control over layer ordering while providing attribution for a subset of the rendered vector layers.
-Scott