I've recently updated my ol version from 3.4 towards 3.9
I have a dragandrop layertree which basically gets the current position of the layer, removes it and inserts back in the new position using:
this works great on V3.4 for both (bingsmap/google and for my WMS layers)
However using the same code on the latest release (3.9) I get an error for my WMS layers only (not for bings/googlemaps) as follow
Uncaught AssertionError: Assertion failed: listeners already registered
Any thoughts on the matter?