mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-17 23:36:04 -08:00
async fits parsing ok
This commit is contained in:
@@ -26,9 +26,9 @@
|
||||
minCut: 5000,
|
||||
maxCut: 17000,
|
||||
}, // no optional params
|
||||
(ra, dec, fov, image) => { // ra, dec and fov are centered around the fits image
|
||||
(ra, dec, fov, image) => { // ra, dec and fov are centered around the fits image
|
||||
console.log(image)
|
||||
image.setColormap("magma", {stretch: "asinh"});
|
||||
|
||||
aladin.gotoRaDec(ra, dec);
|
||||
aladin.setFoV(fov);
|
||||
}
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
var aladin;
|
||||
console.log("jkjkjkj")
|
||||
|
||||
A.init.then(() => {
|
||||
/*aladin = A.aladin('#aladin-lite-div', {fov: 360, fullScreen: true, cooFrame: 'galactic'});
|
||||
aladin.setProjection('MOL');
|
||||
|
||||
Reference in New Issue
Block a user