mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-16 15:05:01 -08:00
34 lines
1.0 KiB
HTML
34 lines
1.0 KiB
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>
|
|
<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: 'M81', fov: 0.5});
|
|
|
|
aladin.addCatalog(A.catalogFromVizieR('II/246', 'M81', 0.4, {'color': 'blue', limit: 700, onClick: 'showTable'}));
|
|
aladin.addCatalog(A.catalogFromVizieR('APOP', 'M81', 0.4, {'color': 'red', onClick: 'showPopup'}));
|
|
aladin.addCatalog(A.catalogFromVizieR('HIP2', 'M 81', 1, {'color': 'yellow', name: 'VizieR Hip2', limit: 42, onClick: 'showTable'}));
|
|
aladin.addCatalog(A.catalogFromVizieR('I/345/gaia2', 'M 81', 30, {'color': 'orange', name: 'Gaia', limit: 4*42, onClick: 'showTable'}));
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|