lmichel / alix

Flexible Widget for Astronomical Portals Based on Aladin Lite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AliX

ALiX is a flexible catalog portal based on Aladin Lite. It it designed to use an interactive sky view as a primary selection tool. The ALiX view is constantly updated with data queried in the host database. It offers advanced functionalities allowing to mix local data with VO data. Users can plot by hand areas of interest and manage an historic of the views. ALiX has no dependency with any specific data source; it can be integrated in any existing portal. sequence diagram

Embedding ALix in your database portal

  • Import js
<script type="text/javascript" src="aladin.js" charset="utf-8"></script>
<script type="text/javascript" src="aladinliteX.js" charset="utf-8"></script>
<script type="text/javascript" src="alix_import.js" charset="utf-8"></script>
  • Import css
 <link rel="stylesheet" href="aladin.css" />
 <link rel="stylesheet" href="aladinliteX.css" />
 <link rel="stylesheet" href="alix_import.css" />
  • Create an HTML div to host Alix
// define the size of ALiX in style
// example of fixed size
<div id="aladin-lite-div" style="width:415px;height:415px;padding:5px;"></div>
// example of relative size
<div id="aladin-lite-div" style="width:80%;height:70%;padding:5px;"></div>
  • Insert ALiX with default config
$.ready(
configureALiX({
//your configuration 
})
);
  • Get more in the wiki
  • Try our live demo

About

Flexible Widget for Astronomical Portals Based on Aladin Lite

License:MIT License


Languages

Language:JavaScript 85.0%Language:CSS 13.6%Language:HTML 1.1%Language:Shell 0.4%