Error/Bug in latest ol3 version (3.9) with insertAt

المشرف العام

Administrator
طاقم الإدارة
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:

map.getLayers().insertAt(newIndex, layer);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 registeredAny thoughts on the matter?thanks



أكثر...
 
أعلى