Files
aladin-lite/bug-tracking/test-different-shapes.html
tboch 35d634a06e
2014-12-19 11:03:18 +00:00

31 lines
1.1 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}));
</script>
</body>
</html>