mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Merge pull request #336 from avandecreme/minorbugs
Pass degrees from the viewer to the viewport. Fix #305
This commit is contained in:
commit
2ca3e52109
@ -1416,7 +1416,8 @@ function openTileSource( viewer, source ) {
|
|||||||
showNavigator: false,
|
showNavigator: false,
|
||||||
minZoomImageRatio: 1,
|
minZoomImageRatio: 1,
|
||||||
maxZoomPixelRatio: 1,
|
maxZoomPixelRatio: 1,
|
||||||
viewer: _this //,
|
viewer: _this,
|
||||||
|
degrees: _this.degrees //,
|
||||||
//TODO: figure out how to support these in a way that makes sense
|
//TODO: figure out how to support these in a way that makes sense
|
||||||
//minZoomLevel: this.minZoomLevel,
|
//minZoomLevel: this.minZoomLevel,
|
||||||
//maxZoomLevel: this.maxZoomLevel
|
//maxZoomLevel: this.maxZoomLevel
|
||||||
@ -1438,7 +1439,8 @@ function openTileSource( viewer, source ) {
|
|||||||
defaultZoomLevel: _this.defaultZoomLevel,
|
defaultZoomLevel: _this.defaultZoomLevel,
|
||||||
minZoomLevel: _this.minZoomLevel,
|
minZoomLevel: _this.minZoomLevel,
|
||||||
maxZoomLevel: _this.maxZoomLevel,
|
maxZoomLevel: _this.maxZoomLevel,
|
||||||
viewer: _this
|
viewer: _this,
|
||||||
|
degrees: _this.degrees
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user