mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
Reverting accidental change to basic.html
This commit is contained in:
parent
5dc6700f0c
commit
7d3a32d372
@ -20,51 +20,12 @@
|
||||
<div id="contentDiv" class="openseadragon1"></div>
|
||||
<script type="text/javascript">
|
||||
|
||||
var duomo = {
|
||||
Image: {
|
||||
xmlns: "http://schemas.microsoft.com/deepzoom/2008",
|
||||
Url: "http://openseadragon.github.io/example-images/duomo/duomo_files/",
|
||||
Format: "jpg",
|
||||
Overlap: "2",
|
||||
TileSize: "256",
|
||||
Size: {
|
||||
Width: "13920",
|
||||
Height: "10200"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var viewer = OpenSeadragon({
|
||||
debugMode: true,
|
||||
// immediateRender: true,
|
||||
// debugMode: true,
|
||||
id: "contentDiv",
|
||||
minZoomLevel: 0.01,
|
||||
prefixUrl: "../../build/openseadragon/images/",
|
||||
tileSources: '../data/testpattern.dzi',
|
||||
// showNavigator: true,
|
||||
|
||||
// toolbar: "NBViewerOSDToolbar",
|
||||
constrainDuringPan: true,
|
||||
visibilityRatio: 1,
|
||||
showNavigator: true,
|
||||
navigatorAutoFade: false,
|
||||
// showRotationControl: _data.nbViewerRotationControl,
|
||||
// change the size of the navigator window
|
||||
// navigatorPosition: "ABSOLUTE",
|
||||
navigatorAutoResize: false,
|
||||
navigatorRotate: false,
|
||||
navigatorHeight: "150px",
|
||||
navigatorWidth: "150px",
|
||||
//debugMode: true,
|
||||
immediateRender: true,
|
||||
// adds precision to the zoom click
|
||||
zoomPerClick: 1.3,
|
||||
// adjusts the floating at the end of a zoom
|
||||
animationTime: 0.5,
|
||||
// prefixUrl: _data.nbViewerImagePath,
|
||||
// tileSources: _data.nbViewerSettings.response.params.dzi_path,
|
||||
// Settings remove the zoom functions from the mouse.
|
||||
gestureSettingsMouse: { scrollToZoom: false, dblClickToZoom: false, clickToZoom: false }
|
||||
tileSources: "../data/testpattern.dzi",
|
||||
showNavigator:true
|
||||
});
|
||||
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user