forked from emigre/openseadragon-annotations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (32 loc) · 770 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<head>
<script src="lib/openseadragon.js"></script>
<script src="lib/clipper.js"></script>
<script src="dist/openseadragon-annotations.js"></script>
</head>
<body>
<div id='viewer'></div>
<script>
var viewer = OpenSeadragon({
id: 'viewer',
prefixUrl: './lib/images/',
showNavigator: true,
tileSources: {
Image: {
xmlns: 'http://schemas.microsoft.com/deepzoom/2008',
Url: 'http://content.zoomhub.net/dzis/TDbz_files/',
Format: 'jpg',
Overlap: '1',
TileSize: '254',
ServerFormat: 'Default',
Size: {
Height: '4409',
Width: '7793'
}
}
}
});
viewer.initializeAnnotations();
</script>
</body>
</html>