mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
24 lines
627 B
HTML
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>
|