git_sitools_idoc / mizar / index.html @ 444c53d9
1 |
<html>
|
---|---|
2 |
|
3 |
<head>
|
4 |
<title>Mars</title> |
5 |
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> |
6 |
<link rel="stylesheet" href="./css/style.min.css" /> |
7 |
|
8 |
<!-- Prod -->
|
9 |
<script type="text/javascript" charset="UTF-8" src="./MizarWidget.min.js"></script> |
10 |
<!-- <script type="text/javascript" charset="UTF-8" src="http://demonstrator.telespazio.com/mizar/MizarWidget.min.js"></script> -->
|
11 |
|
12 |
<script type="text/javascript"> |
13 |
window.onload = function() {
|
14 |
var mizar = new MizarWidget('#mizarWidget-div', {
|
15 |
debug: true,
|
16 |
navigation: {
|
17 |
"initTarget": [0,0]
|
18 |
},
|
19 |
nameResolver: {
|
20 |
"zoomFov": 2
|
21 |
},
|
22 |
stats: {
|
23 |
visible: true
|
24 |
}
|
25 |
});
|
26 |
|
27 |
// Set different GUIs
|
28 |
mizar.setNameResolverGui(true);
|
29 |
mizar.setCategoryGui(true);
|
30 |
mizar.setCompassGui(true);
|
31 |
|
32 |
// Go to Mars
|
33 |
mizar.viewPlanet("Mars");
|
34 |
};
|
35 |
|
36 |
</script>
|
37 |
|
38 |
</head>
|
39 |
|
40 |
|
41 |
<body>
|
42 |
|
43 |
<div id="mizarWidget-div"> |
44 |
</div>
|
45 |
|
46 |
</body>
|
47 |
|
48 |
</html>
|