-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
18 lines (17 loc) · 1.07 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<head>
<!-- include Aladin Lite CSS file in the head section of your page -->
<link rel="stylesheet" href="http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.css" />
</head>
<body>
<!-- you can skip the following line if your page already integrates the jQuery library -->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.12.1.min.js" charset="utf-8"></script>
<!-- insert this snippet where you want Aladin Lite viewer to appear and after the loading of jQuery -->
<div id="aladin-lite-div" style="width:700px;height:400px;"></div>
<script type="text/javascript" src="http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.js" charset="utf-8"></script>
<script type="text/javascript">
var aladin = A.aladin('#aladin-lite-div', {fov:0.1, target: '287.75 -0.23'});
aladin.setImageSurvey(aladin.createImageSurvey("ISOPHOT", "ISOPHOT / ADASS tutorial", "http://0.0.0.0:8000/demo_data/hips/band_H/", "galactic", 17, {imgFormat: 'png'})); // setting a custom HiPS
</script>
</body>
</html>