This might be a noob question. I have a wms layer in OpenLayers 2.13.1 with attribution: "some_text"
set when it's added. This is working fine, the attribution shows up fine in the map div.
My question is how to change the content of the attribution param when the layer is already added. So far I have tried myWMS_layer.mergeNewParams({attribution: "some_updated_text"});
but no luck. I've also find updateAttribution function in OpenLayers docs, but don't really know how to use it. I've tried myAttributionControl.updateAttribution();
and nothing happened.
Thanks in advance!