mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
31 lines
905 B
HTML
31 lines
905 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
</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',
|
|
{
|
|
projection: 'AIT', // set a projection
|
|
fov: 360, // initial field of view in degrees
|
|
target: '110.82730 -73.45471', // initial target
|
|
cooFrame: 'equatorial', // set galactic frame
|
|
showCooGrid: true, // set the grid
|
|
fullScreen: true,
|
|
}
|
|
);
|
|
|
|
const sdc2 = aladin.newImageSurvey('https://alasky.cds.unistra.fr/hips-cube-services/compute/hips:httpsalasky.cds.unistra.fr;SKA-demo;hips;CDS_P_SKA-DC_v2%7Cexpr:s6540_6580');
|
|
aladin.setOverlayImageLayer(sdc2);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|