mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-13 21:47:20 -08:00
42 lines
934 B
HTML
42 lines
934 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
|
|
<link rel="stylesheet" href="../distrib/latest/aladin.min.css" />
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
|
|
|
|
|
|
<div id="aladin-lite-div" style="width: 500px; height: 400px"></div>
|
|
<div id='aladin-statsDiv'></div>
|
|
<script type="text/javascript" src="../distrib/latest/aladin.js" charset="utf-8"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
// Start up Aladin Lite
|
|
var aladin = A.aladin('#aladin-lite-div', {target: 'M51', fov: 0.3, survey: 'P/DSS2/red'});
|
|
|
|
console.log(HiPSDefinition.getDefinitions());
|
|
|
|
console.log(HiPSDefinition.findByIDLocal('XMM'));
|
|
|
|
HiPSDefinition.findByIDRemote('SDSS', function(hipsDefinitions) {
|
|
console.log(hipsDefinitions);
|
|
});
|
|
|
|
HiPSDefinition.fromURL('http://alasky1.u-strasbg.fr/Pan-STARRS1/g/', function(def) {
|
|
console.log(def);
|
|
});
|
|
|
|
|
|
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|