2013-01-24 08:00:11 +04:00
|
|
|
<h2>developer: debug mode</h2>
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Enabling developer mode provides some in-context information
|
|
|
|
about the tiles being drawn in a given viewport. <br/><br/>
|
|
|
|
Currently this is only implemented for browsers supporting
|
|
|
|
HTML Canvas.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="demoarea">
|
|
|
|
<div class="demoheading">
|
|
|
|
Seadragon in debug mode.
|
|
|
|
<span id='consolelog'></span>
|
|
|
|
</div>
|
|
|
|
<div id="contentDiv" class="openseadragon"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
// Example
|
|
|
|
OpenSeadragon({
|
|
|
|
id: "contentDiv",
|
2013-01-31 02:10:16 +04:00
|
|
|
prefixUrl: "/openseadragon/images/",
|
2013-01-24 08:00:11 +04:00
|
|
|
tileSources: "/openseadragon/examples/images/highsmith/highsmith.js",
|
|
|
|
showNavigator: false,
|
2013-02-02 00:18:53 +04:00
|
|
|
debugMode: true,
|
|
|
|
//debugGridColor: "#f9276f",
|
|
|
|
//minZoomImageRatio: 0,
|
|
|
|
//maxZoomPixelRatio: 10000
|
2013-01-24 08:00:11 +04:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
The relevant configuration options are shown below.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
OpenSeadragon({
|
|
|
|
...
|
|
|
|
debugMode: true,
|
|
|
|
...
|
|
|
|
});
|
|
|
|
</pre>
|