mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-13 21:47:20 -08:00
24 lines
592 B
HTML
24 lines
592 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="aladin-lite-div" style="width: 1024px; height: 768px"></div>
|
|
<!--<script type="text/javascript" src="./../dist/aladin.umd.cjs" charset="utf-8"></script>-->
|
|
|
|
<script type="module">
|
|
import A from '../src/js/A.js';
|
|
|
|
let aladin;
|
|
A.init.then(() => {
|
|
aladin = A.aladin('#aladin-lite-div', {target: "05 40 59.12 -02 27 04.1", fov: 2});
|
|
|
|
let survey = aladin.createImageSurvey('DSS2 local', "local hips", "./hips/CDS_P_DSS2_color");
|
|
aladin.setBaseImageLayer(survey);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|