-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-tms.html
40 lines (35 loc) · 1.2 KB
/
example-tms.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
36
37
38
39
40
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>no.5 Seajax Utils Example</title>
<style type="text/css">
html, body {
margin:0px;
width:100%;
height:100%;
font-family: Verdana;
}
#viewer{
width:100%;
height:100%;
margin:0px;
color: white; /* for error messages */
}
</style>
<script type="text/javascript" src="http://seadragon.com/ajax/0.8/seadragon-min.js"></script>
<script type="text/javascript" src="lib/raphael-min.js"></script>
<script type="text/javascript" src="lib/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="src/seajax-utils-core.js"></script>
<script type="text/javascript" src="src/Tilesource/TMS.js"></script>
<script type="text/javascript">
var viewer;
function init() {
viewer = new Seadragon.Viewer("viewer");
viewer.openTileSource(new No5.Seajax.Tilesource.TMS("file:///C:/Workspaces/seajax-utils/hongkong/", 4670, 2000));
}
</script>
</head>
<body onload="init();">
<div id="viewer"></div>
</body>
</html>