mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-06 01:58:22 -08:00
34 lines
1006 B
HTML
34 lines
1006 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="aladin-lite-div" style="width: 500px; height: 400px"></div>
|
|
|
|
<script type="module">
|
|
import A from '../src/js/A.js';
|
|
let aladin;
|
|
A.init.then(() => {
|
|
aladin = A.aladin('#aladin-lite-div', {fullScreen: true, target: "Abell 194", fov: 180, projection: 'SIN', showContextMenu: true});
|
|
|
|
A.catalogFromSKAORucio("m51", 90, {onClick: 'showTable'}, (cat) => {
|
|
aladin.addCatalog(cat);
|
|
});
|
|
|
|
/*A.catalogFromURL('https://aladin.cds.unistra.fr/AladinLite/ska/obscoreRucio.xml', {onClick: 'showTable'}, (cat) => {
|
|
aladin.addCatalog(cat);
|
|
});
|
|
|
|
A.catalogFromURL('votable/CDS-B-jcmt-obscore.xml', {onClick: 'showTable'}, (cat) => {
|
|
aladin.addCatalog(cat);
|
|
});*/
|
|
A.catalogFromURL('https://aladin.cds.unistra.fr/ObsCoreRucioScs.xml', {onClick: 'showTable'}, (cat) => {
|
|
aladin.addCatalog(cat);
|
|
});
|
|
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|