mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
29 lines
772 B
HTML
29 lines
772 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="aladin-lite-div" style="width: 1024px; height: 256px;"></div>
|
|
|
|
<script type="module">
|
|
import A from '../src/js/A.js';
|
|
let aladin;
|
|
A.init.then(() => {
|
|
var aladin = A.aladin(
|
|
'#aladin-lite-div',
|
|
{
|
|
survey: 'https://alasky.cds.unistra.fr/Pan-STARRS/DR1/color-z-zg-g/', // set initial image survey
|
|
projection: 'SIN', // set a projection
|
|
fov: 114.19, // initial field of view in degrees
|
|
target: '19 24 51.556 +45 16 44.36', // initial target
|
|
cooFrame: 'equatorial', // set galactic frame
|
|
showCooGrid: true, // set the grid
|
|
}
|
|
);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|