mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-03 00:31:03 -08:00
39 lines
990 B
HTML
39 lines
990 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
|
|
<link rel="stylesheet" href="../distrib/latest/aladin.min.css" />
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
|
|
|
|
|
|
<div id="aladin-lite-div" style="width: 650px; height: 450px"></div>
|
|
<script type="text/javascript" src="../distrib/latest/aladin.js" charset="utf-8"></script>
|
|
<label><input type="checkbox" id="reduce" checked>Activate deformations reduction algorithm</label>
|
|
|
|
<script type="text/javascript">
|
|
// Start up Aladin Lite
|
|
var aladin = A.aladin('#aladin-lite-div');
|
|
aladin.setFoV(4);
|
|
aladin.gotoObject('M31');
|
|
|
|
$('#reduce').on('change', function() {
|
|
aladin.setReduceDeformations($(this).is(":checked"));
|
|
});
|
|
/*
|
|
aladin.setImageSurvey(aladin.createImageSurvey("GLIMPSE", "GLIMPSE", "http://www.spitzer.caltech.edu/glimpse360/aladin/data", "gal", 9, {minOrder: 3}))
|
|
aladin.gotoPosition(0, 0);
|
|
aladin.setFOVRange(0.2, 360.0);
|
|
*/
|
|
|
|
|
|
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|