mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-30 14:42:20 -08:00
43 lines
1.5 KiB
HTML
43 lines
1.5 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: 700px; height: 600px"></div>
|
|
<script type="text/javascript" src="../distrib/latest/aladin.js" charset="utf-8"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
var im = new Image();
|
|
|
|
im.onload = function() {
|
|
var aladin = A.aladin('#aladin-lite-div', {target: "M1", fov: 2});
|
|
aladin.addCatalog(aladin.createCatalogFromVOTable('http://alasky.u-strasbg.fr/cgi/simbad-flat/simbad-cs.py?target=M1&SR=40.0&format=votable&SRUNIT=arcmin', {color: '#e7a854', shape: im, sourceSize: 10}));
|
|
aladin.addCatalog(aladin.createCatalogFromVOTable('http://alasky.u-strasbg.fr/cgi/simbad-flat/simbad-cs.py?target=M1&SR=40.0&format=votable&SRUNIT=arcmin', {color: '#e7a854', shape: 'plus', sourceSize: 10}));
|
|
|
|
};
|
|
|
|
im.src = 'http://aladin.u-strasbg.fr/AladinLite/doc/API/examples/img/star.png';
|
|
//im.src = 'http://dev.w3.org/SVG/tools/svgweb/samples/svg-files/aa.svg';
|
|
//im.src = 'http://dev.w3.org/SVG/tools/svgweb/samples/svg-files/cartman.svg';
|
|
//im.src = 'https://pbs.twimg.com/profile_images/2305592281/4ax47mjvvhgtt3lfa4gw_normal.jpeg';
|
|
//im.src = 'https://pbs.twimg.com/profile_images/519509174682525696/7C_wkqEH_normal.jpeg';
|
|
//im.src = 'http://upload.wikimedia.org/wikipedia/commons/2/22/SVG_Simple_Logo.svg';
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|