I run into situations where I have layers that should be grouped together in a node, but maybe only one of them is capable of a getFeatureInfo request.
Currently on a node loader.baseAttrs.radioGroup must be defined for the plugin to work. However every layer that appears in the group will have a radiobutton whether it is required or not. When working on my layerOpacitySliderPlugin, I added some code to check not only if the node defines loader.baseAttrs.slider, but also check to see if the layer defines layer.options.opacitySlider: true. By default, if loader.baseAttrs.slider is defined, but nothing is set in layer.options.opacitySlider, the slider will be created. So one catch is for any layers in a group that might have a slider, the ones in the groups that should not have a slider must define layer.options.opacitySlider: false. Anyway I was wondering if something similar would be a useful addition to the radio button to give some further creation control. Dan
_______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
