Hi,

On May 3, 2010, at 22:45 , Paul james wrote:

> Hello guys...
> 
> I have a application using GeoExt sublayers...

A sublayer in a tree is nothing more than a representation of one WMS layer in 
the LAYERS param of an OpenLayers.Layer.WMS object.

> I need to do something like that:
> 
> ==> map.layers[1].mergeNewParams({SLD_BODY:StyledLayerDescriptor});   
> 
> How can I do that with geoext sublayers?

The same - just make sure that your SLD_BODY contains styles for every 
NamedLayer that is in the LAYERS param of your OpenLayers.Layer.WMS object.

Regards,
Andreas.

> 
> Thanks
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://www.geoext.org/cgi-bin/mailman/listinfo/users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to