Files
aladin-lite/bug-tracking/test-different-shapes.html
tboch 0eba71171d
2017-02-24 13:19:43 +00:00

32 lines
1.3 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 aladin = A.aladin('#aladin-lite-div', {target: "M81", fov: 0.4});
aladin.addCatalog(aladin.createCatalogFromVOTable('http://alasky.u-strasbg.fr/cgi/simbad-flat/simbad-cs.py?target=M81&SR=4.0&format=votable&SRUNIT=arcmin', {color: '#e7a854', shape: 'rhomb', sourceSize: 11}));
aladin.addCatalog(aladin.createCatalogFromVOTable('http://alasky.u-strasbg.fr/cgi/simbad-flat/simbad-cs.py?target=M81&SR=4.0&format=votable&SRUNIT=arcmin', {color: '#a7e854', shape: 'square', sourceSize: 11}));
//aladin.addCatalog(aladin.createCatalogFromVOTable('http://alasky.u-strasbg.fr/cgi/simbad-flat/simbad-cs.py?target=M81&SR=9.0&format=votable&SRUNIT=arcmin', {color: '#7728e4', shape: 'triangle', sourceSize: 11}));
aladin.addCatalog(A.catalogFromURL('http://alasky.u-strasbg.fr/cgi/simbad-flat/simbad-cs.py?target=M81&SR=9.0&format=votable&SRUNIT=arcmin', {color: '#7728e4', shape: 'triangle', sourceSize: 11}));
</script>
</body>
</html>