On Fri, Jan 21, 2011 at 12:12 PM, IT Intern <[email protected]> wrote:
> Hello GeoServer List,
>
> I just recently resolved the issue of changing my layers style through
> OpenLayers using:
>
> myLayer.mergeNewParams({sld
> :'file:///usr/local/geoserver-2.0.2/data_dir/styles/myLayerSLD.sld', styles:
> null});
>

If you have installed your SLD file in the style directory you should
be able to refer to it directly using its name in the styles:
parameter. I think that will help with your cache problem too.

Ian

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to