openseadragon/test/demo/max-tiles-per-frame.html

36 lines
1005 B
HTML
Raw Normal View History

2023-07-31 11:14:27 +03:00
<!DOCTYPE html>
<html>
<head>
<title>OpenSeadragon maxTilesPerFrame Demo</title>
2023-07-31 11:14:27 +03:00
<script type="text/javascript" src='../../build/openseadragon/openseadragon.js'></script>
<script type="text/javascript" src='../lib/jquery-1.9.1.min.js'></script>
<style type="text/css">
.openseadragon1 {
width: 100vw;
height: 100vh;
}
</style>
</head>
<body>
<div>
Simple demo page to show an OpenSeadragon viewer with a higher maxTilesPerFrame.
2023-07-31 11:14:27 +03:00
</div>
<div id="contentDiv" class="openseadragon1"></div>
<script type="text/javascript">
var viewer = OpenSeadragon({
debugMode: true,
id: "contentDiv",
prefixUrl: "../../build/openseadragon/images/",
tileSources: "https://openseadragon.github.io/example-images/duomo/duomo.dzi",
showNavigator:true,
2024-10-16 12:12:20 +03:00
crossOriginPolicy: 'Anonymous',
2023-07-31 11:14:27 +03:00
maxTilesPerFrame:3,
});
</script>
</body>
</html>