[Users] How to access a GeoExt Sublayer(JS) ?
Andreas Hocevar
ahocevar at opengeo.org
Tue May 4 09:27:28 CEST 2010
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
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list