mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Merge branch 'collections' into m2
This commit is contained in:
commit
373631ae32
@ -1,7 +1,7 @@
|
|||||||
OPENSEADRAGON CHANGELOG
|
OPENSEADRAGON CHANGELOG
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
2.0.0: (in progress)
|
1.3.0: (in progress)
|
||||||
|
|
||||||
* True multi-image mode (#450)
|
* True multi-image mode (#450)
|
||||||
* BREAKING CHANGE: Passing an array for the tileSources option is no longer enough to trigger sequence mode; you have to set the sequenceMode option to true as well
|
* BREAKING CHANGE: Passing an array for the tileSources option is no longer enough to trigger sequence mode; you have to set the sequenceMode option to true as well
|
||||||
@ -41,7 +41,12 @@ OPENSEADRAGON CHANGELOG
|
|||||||
* imageLoaderLimit now works (#544)
|
* imageLoaderLimit now works (#544)
|
||||||
* Turning off scrollToZoom in gestureSettings now allows scroll events to propagate
|
* Turning off scrollToZoom in gestureSettings now allows scroll events to propagate
|
||||||
|
|
||||||
1.2.0: (in progress)
|
1.2.1: (in progress)
|
||||||
|
|
||||||
|
* Added preserveOverlays option (#561)
|
||||||
|
* Fixed: DZI tilesource was broken (#563)
|
||||||
|
|
||||||
|
1.2.0:
|
||||||
|
|
||||||
* New combined IIIF TileSource for 1.0 through 2.0 (#441)
|
* New combined IIIF TileSource for 1.0 through 2.0 (#441)
|
||||||
* BREAKING CHANGE: Removed IIIF1_1TileSource (now that IIIFTileSource supports all versions)
|
* BREAKING CHANGE: Removed IIIF1_1TileSource (now that IIIFTileSource supports all versions)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "OpenSeadragon",
|
"name": "OpenSeadragon",
|
||||||
"version": "1.1.1",
|
"version": "1.2.0",
|
||||||
"description": "Provides a smooth, zoomable user interface for HTML/Javascript.",
|
"description": "Provides a smooth, zoomable user interface for HTML/Javascript.",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "^0.4.5",
|
"grunt": "^0.4.5",
|
||||||
|
@ -517,6 +517,14 @@
|
|||||||
* viewport to 'home' position. If preserveViewport is set to true, then the viewport
|
* viewport to 'home' position. If preserveViewport is set to true, then the viewport
|
||||||
* position is preserved when navigating between images in the sequence.
|
* position is preserved when navigating between images in the sequence.
|
||||||
*
|
*
|
||||||
|
* @property {Boolean} [preserveOverlays=false]
|
||||||
|
* If sequenceMode is true, then normally navigating to through each image
|
||||||
|
* resets the overlays.
|
||||||
|
* If preserveOverlays is set to true, then the overlays
|
||||||
|
* are preserved when navigating between images in the sequence.
|
||||||
|
* Note: setting preserveOverlays overrides any overlays specified in the
|
||||||
|
* "overlays" property.
|
||||||
|
*
|
||||||
* @property {Boolean} [showReferenceStrip=false]
|
* @property {Boolean} [showReferenceStrip=false]
|
||||||
* If sequenceMode is true, then display a scrolling strip of image thumbnails for
|
* If sequenceMode is true, then display a scrolling strip of image thumbnails for
|
||||||
* navigating through the images.
|
* navigating through the images.
|
||||||
@ -952,6 +960,7 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
|
|||||||
showSequenceControl: true, //SEQUENCE
|
showSequenceControl: true, //SEQUENCE
|
||||||
sequenceControlAnchor: null, //SEQUENCE
|
sequenceControlAnchor: null, //SEQUENCE
|
||||||
preserveViewport: false, //SEQUENCE
|
preserveViewport: false, //SEQUENCE
|
||||||
|
preserveOverlays: false, //SEQUENCE
|
||||||
navPrevNextWrap: false, //SEQUENCE
|
navPrevNextWrap: false, //SEQUENCE
|
||||||
showNavigationControl: true, //ZOOM/HOME/FULL/ROTATION
|
showNavigationControl: true, //ZOOM/HOME/FULL/ROTATION
|
||||||
navigationControlAnchor: null, //ZOOM/HOME/FULL/ROTATION
|
navigationControlAnchor: null, //ZOOM/HOME/FULL/ROTATION
|
||||||
|
@ -622,9 +622,11 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Global overlays
|
// Global overlays
|
||||||
|
if( _this.overlays && !_this.preserveOverlays ){
|
||||||
for ( var i = 0; i < _this.overlays.length; i++ ) {
|
for ( var i = 0; i < _this.overlays.length; i++ ) {
|
||||||
_this.currentOverlays[ i ] = getOverlayObject( _this, _this.overlays[ i ] );
|
_this.currentOverlays[ i ] = getOverlayObject( _this, _this.overlays[ i ] );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
_this._drawOverlays();
|
_this._drawOverlays();
|
||||||
|
|
||||||
@ -734,8 +736,11 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
|||||||
this.navigator.close();
|
this.navigator.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( ! this.preserveOverlays)
|
||||||
|
{
|
||||||
this.clearOverlays();
|
this.clearOverlays();
|
||||||
this.overlaysContainer.innerHTML = "";
|
this.overlaysContainer.innerHTML = "";
|
||||||
|
}
|
||||||
|
|
||||||
THIS[ this.hash ].animating = false;
|
THIS[ this.hash ].animating = false;
|
||||||
this.world.removeAll();
|
this.world.removeAll();
|
||||||
|
Loading…
Reference in New Issue
Block a user