diff --git a/src/viewer.js b/src/viewer.js index fa0afea7..32c7acb5 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -581,6 +581,17 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, return; } + if (this.sequenceMode && $.isArray(tileSources)) { + this.tileSources = tileSources; + this._sequenceIndex = 0; + if (tileSources.length) { + this.open(tileSources[0]); + } + + this._updateSequenceButtons( this._sequenceIndex ); + return; + } + if (!$.isArray(tileSources)) { tileSources = [tileSources]; } diff --git a/test/demo/collections/main.js b/test/demo/collections/main.js index cb34e807..915583fd 100644 --- a/test/demo/collections/main.js +++ b/test/demo/collections/main.js @@ -104,7 +104,7 @@ }); } - // this.crossTest3(); + // this.crossTest2(); // this.collectionTest(); },