mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-13 13:38:02 -08:00
34 lines
1.0 KiB
HTML
34 lines
1.0 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, height=device-height, maximum-scale=1.0, initial-scale=1.0, user-scalable=no">
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<div id="aladin-lite-div" style="width: 768px; height: 512px"></div>
|
|
<script>let aladin;</script>
|
|
<script type="module">
|
|
import A from '../src/js/A.js';
|
|
A.init.then(() => {
|
|
aladin = A.aladin(
|
|
'#aladin-lite-div',
|
|
{
|
|
survey: 'P/allWISE/color', // set initial image survey
|
|
projection: 'AIT', // set a projection
|
|
fov: 1.5, // initial field of view in degrees
|
|
target: 'NGC 2175', // initial target
|
|
cooFrame: 'icrs', // set galactic frame
|
|
reticleColor: '#ff89ff', // change reticle color
|
|
reticleSize: 64, // change reticle size
|
|
showContextMenu: true,
|
|
showCooGrid: true,
|
|
showFrame: true,
|
|
}
|
|
);
|
|
});
|
|
</script>
|
|
<style>
|
|
</style>
|
|
</body>
|
|
</html> |