mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
23 lines
763 B
HTML
23 lines
763 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<div id="aladin-lite-div" style="width: 1024px; height: 768px"></div>
|
|
|
|
<div id='aladin-statsDiv'></div>
|
|
<script>let aladin, hips</script>
|
|
<script type="module">
|
|
import A from '../src/js/A.js';
|
|
A.init.then(() => {
|
|
aladin = A.aladin('#aladin-lite-div', {cooFrame: 'galactic', target: 'galactic center', survey: 'P/Finkbeiner'});
|
|
// possible values are 'blues', 'cividis', 'cubehelix', 'eosb', 'grayscale', 'inferno', 'magma', 'native', 'parula', 'plasma', 'rainbow',
|
|
// 'rdbu', 'rdylbu', 'redtemperature', 'sinebow', 'spectral', 'summer', 'viridis', 'ylgnbu' and 'ylorbr'
|
|
hips = aladin.getBaseImageLayer()
|
|
hips.setColormap("cubehelix");
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|