mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
Two modes of display: * ICRSd & GALACTIC frame set the formatting of grid labels to decimal with digit precision being computed from the grid step selected * ICRS frame set the formatting to sexagesimal in the format: deg min sec.ddd . This fixes #172
33 lines
845 B
HTML
33 lines
845 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="aladin-lite-div" style="width: 1024px; height: 768px"></div>
|
|
<script>let aladin;</script>
|
|
<script type="module">
|
|
import A from '../src/js/A.js';
|
|
A.init.then(() => {
|
|
// Start up Aladin Lite
|
|
aladin = A.aladin('#aladin-lite-div', {
|
|
target: '09 55 52.4 +69 40 47',
|
|
fov: 0.25,
|
|
showContextMenu: true,
|
|
fullScreen: true,
|
|
showSimbadPointerControl: true,
|
|
showShareControl: true,
|
|
showSettingsControl: true,
|
|
showStackLayerControl: true,
|
|
samp: true,
|
|
showCooGrid: true,
|
|
});
|
|
|
|
aladin.addCatalog(A.catalogFromSimbad('M 82', 0.1, {onClick: 'showTable'}));
|
|
aladin.addCatalog(A.catalogFromNED('09 55 52.4 +69 40 47', 0.1, {onClick: 'showPopup', shape: 'plus'}));
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|