Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

My goal is to retrieve from Aladin Lite a sky image given its coordinates, image size and field of view in degrees.

Reading Aladin Lite documentation, it seems to be feasible through the web browser. In fact, if you create a page like this:

<!-- Aladin Lite has a dependency on the jQuery library -->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js" charset="utf-8"></script>
 
<!-- Aladin Lite container at requested dimensions -->
<div id="aladin-lite-div" style="width:400px;height:400px;"></div>

<!-- Aladin Lite JS code -->
<script type="text/javascript" src="http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.js" charset="utf-8"></script>

<!-- Creation of Aladin Lite instance with initial parameters -->
<script type="text/javascript">
    var aladin = A.aladin('#aladin-lite-div', {showFrame: false, showZoomControl: false, survey: "P/DSS2/color", fov:2.0, target: "M20"});
</script>
question from:https://stackoverflow.com/questions/66067713/retrieving-an-image-from-html-page

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
81 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...