mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
26 lines
677 B
HTML
26 lines
677 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<!--<link rel="stylesheet" href="./layers.css" />-->
|
|
</head>
|
|
<body>
|
|
|
|
<div id="aladin-lite-div" style="width: 1024px; height: 768px"></div>
|
|
|
|
<script type="module">
|
|
import A from '../src/js/A.js';
|
|
let aladin;
|
|
A.init.then(() => {
|
|
aladin = A.aladin('#aladin-lite-div', {survey: "P/SPITZER/color", cooFrame: 'galactic', fov: 5});
|
|
aladin.gotoRaDec(266.41683, -29.00781);
|
|
// Parameters are:
|
|
// <right ascension of final position>,
|
|
// <declination of final position>,
|
|
// <animation duration in seconds>
|
|
aladin.animateToRaDec(305.5, 38.5, 70);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|