[OpenLayers-Users] SLD WMS styleMap

bartvde at osgis.nl bartvde at osgis.nl
Tue Aug 26 07:19:46 EDT 2008


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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list