mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-17 07:23:45 -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
17 lines
579 B
HTML
17 lines
579 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<div id="aladin-lite-div" style="width: 1024px; height: 768px"></div>
|
|
<script>var aladin;</script>
|
|
<script type="module">
|
|
import A from '../src/js/A.js';
|
|
A.init.then(() => {
|
|
aladin = A.aladin('#aladin-lite-div', {projection: 'MOL', fullScreen: true, fov: 360, survey: ['P/DM/vizMine', 'P/HST/GOODS/color', 'P/MATLAS/g'], target: '0 0', showProjectionControl: false, showSettingsControl: false, showLayersControl: true, showCooGrid: false, showFrame: false, showCooLocation: false});
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|