Files
aladin-lite/examples/al-multiple-instances.html
Matthieu Baumann 5f3bb19bfa ui fixes, testing
2024-02-29 18:13:22 +01:00

24 lines
627 B
HTML

<!doctype html>
<html>
<head>
</head>
<body>
<div id="al1" style="width: 500px; height: 500px">
</div>
<div id="al2" style="width: 500px; height: 500px">
</div>
<script type="module">
import A from '../src/js/A.js';
let al1;
let al2;
A.init.then(() => {
// Start up Aladin Lite
al1 = A.aladin('#al1', {target: 'M51', fov: 0.3, survey: 'P/DSS2/color', fullScreen: false, showContextMenu: true, showShareControl: true});
al2 = A.aladin('#al2', {target: 'M51', fov: 180, survey: 'P/PanSTARRS/DR1/z', fullScreen: false, showContextMenu: true, showShareControl: true});
});
</script>
</body>
</html>