This commit is contained in:
Younes El Alami 2015-01-10 12:11:45 +00:00
parent 9e07c96d29
commit 1d16b01a28

View File

@ -1973,12 +1973,11 @@ function openTileSource( viewer, source ) {
}
if( _this.preserveOverlays ){
_this.source.overlays = _this.currentOverlays;
}
else{
_this.source.overlays = _this.source.overlays || [];
_this.overlays = _this.currentOverlays;
}
_this.source.overlays = _this.source.overlays || [];
_this.drawer = new $.Drawer({
viewer: _this,
source: _this.source,