For WMS this works differently, you need to use mergeNewParams with the parameter SLD or SLD_BODY.
SLD to reference an SLD file on a webserver using a URL SLD_BODY to pass the SLD document inline (but has size limits ofcourse). Best regards, Bart > Hello, > > does the SLD example also apply on the type OpenLayers.Layer.WMS or only > on > OpenLayers.Layer.GML? And if so, does it work the same to just assign a > userstyle and redraw the layer? > > Best regards, > > Bas Couwenberg > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
