Based on this: Apply an SLD saved on Geoserver to OpenLayers 3 I try to set a SLD in the params of a TileWMS. The SLD is saved on Geoserver, but everything i tried failed. The strange thing about it is, if I define the style in a normal GetMap request it works.

My main goal is that the user can decide in which style the layer should be styled with something like that:


closed as off-topic by Devdatta Tengshe, PolyGeo May 28 '15 at 4:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Devdatta Tengshe, PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • sorry, just got it to work. My mistake was, that I missed the workspace in my url of the wms... – Basti May 21 '15 at 7:22