AnsweredAssumed Answered

LayerSwipe destroy

Question asked by oreng on Oct 13, 2013
Latest reply on Oct 24, 2013 by oreng
Hi,
I have a toggle button for enabling and disabling the LayerSwipe.
After destroy(), one of the layers in the swipe is cropped.
application: http://gisn.tel-aviv.gov.il/iview2js/index.aspx

Tried in addition to add these lines to the destroy function:

LayerSwipe.disable();
LayerSwipe.destroy();
LayerSwipe=null;

CroppedTiledLayer.hide();
CroppedTiledLayer.show();
CroppedTiledLayer.refresh();
CroppedTiledLayer.resume();

But still layer is cropped (only sometimes, mostly IE10, can't understand it).
Thanks,
Oren.

Outcomes