Files
aladin-lite/examples/al-sdc2.html
2023-03-23 15:54:06 +01:00

33 lines
990 B
HTML

<!doctype html>
<html>
<head>
</head>
<body>
<div id="aladin-lite-div" style="width: 1024px; height: 768px"></div>
<div id='aladin-statsDiv'></div>
<script type="text/javascript" src="./../aladin.js" charset="utf-8"></script>
<script type="text/javascript">
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>