Skip to content

Commit

Permalink
minor update in aladin lite
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-rodriguez committed Jul 22, 2016
1 parent 3d9fdc7 commit 2d35aaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bdnyc_app/templates/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ <h2>Photometry</h2>
<script type="text/javascript" src="http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.js" charset="utf-8"></script>
<script type="text/javascript">
var aladin = A.aladin('#aladin-lite-div', {cooFrame: "J2000", showFrame: false, showGotoControl: false,
survey: "P/2MASS/color", fov:0.1, target: "{{coords|safe}}", showReticle: false});
survey: "P/2MASS/color", fov:0.1, target: "{{coords|safe}}", showReticle: true});
<!-- Other surveys: P/DSS2/color P/allWISE/color -->

<!--var catsim = A.catalogFromSimbad("{{coords|safe}}", 0.1, {onClick: 'showPopup', limit: 100});-->
<!--aladin.addCatalog(catsim);-->

var cat = A.catalog({name: 'BDNYC Source', sourceSize: 10});
aladin.addCatalog(cat);
cat.addSources([A.marker({{ra|safe}}, {{dec|safe}}, {popupTitle: '{{name|safe}}'})]);
<!--var cat = A.catalog({name: 'BDNYC Source', sourceSize: 10});-->
<!--aladin.addCatalog(cat);-->
<!--cat.addSources([A.marker({{ra|safe}}, {{dec|safe}}, {popupTitle: '{{name|safe}}'})]);-->

</script>
</div>
Expand Down

0 comments on commit 2d35aaa

Please sign in to comment.