mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-27 07:14:39 -08:00
This method does add: * reverseLongitude method on aladin object * add a longitudeReversed flag in AladinOptions, when creating the aladin view to reverse the longitude axis globally at start. * BREAKS the HiPS options API by removing the longitudeReversed option at the HiPS level, replacing it by a global flag on the aladin lite view * fix: when adding two times the same survey, we could not change its hips options This commit also impl #191
26 lines
594 B
HTML
26 lines
594 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';
|
|
A.init.then(() => {
|
|
let aladin = A.aladin('#aladin-lite-div', {fov: 70,projection: "AIT"});
|
|
|
|
aladin.setOverlayImageLayer(A.imageHiPS(
|
|
"https://alasky.cds.unistra.fr/Fermi/Color",
|
|
{
|
|
name: "Fermi color",
|
|
maxOrder: 3,
|
|
imgFormat: 'jpeg',
|
|
tileSize: 512,
|
|
cooFrame: 'equatorial'
|
|
}
|
|
));
|
|
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |