mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-06 01:58:22 -08:00
simbad cone search requesting https://simbad.cds.unistra.fr/cone
This commit is contained in:
committed by
Matthieu Baumann
parent
360f80c789
commit
2fe554be22
@@ -23,7 +23,9 @@ Image Opacity: <br/> <input id="slider" type="range" value=1 min=0 max=1 step=0.
|
||||
aladin = A.aladin('#aladin-lite-div', {target: "0 0", cooFrame: "gal"});
|
||||
|
||||
var callback = function(ra, dec, fov) {
|
||||
aladin.addCatalog(A.catalogFromSimbad( {ra: ra, dec: dec} , 1 , {shape: 'circle', color: '#5d5', onClick: 'showTable'}));
|
||||
A.catalogFromSimbad( {ra: ra, dec: dec} , 1 , {shape: 'circle', color: '#5d5', onClick: 'showTable'}, (cat) => {
|
||||
aladin.addCatalog(cat)
|
||||
});
|
||||
// we must return true, so that the default action (set view to center of image) is performed
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user