Hi guys,
I have an issue using a dynamic XML sld with a layer.
Actually, I defined the sld string in a variable :
const SLD_STYLE = `
<StyledLayerDescriptor version="1.0.0"
......
</StyledLayerDescriptor>`
And tried to apply it to the layer :
const properties = {
params : { sld_body: encodeURIComponent(SLD_STYLE)}
};
changeLayerProperties(layer.id, properties);
But, the query is sent as GET, and as the SLD could be huge, the GET request is bloqued.
Is there a way to force POST when using "changeLayerProperties".
Thanks.