diff --git a/examples/al-additive-blend.html b/examples/al-additive-blend.html index c80895e0..da36db9a 100644 --- a/examples/al-additive-blend.html +++ b/examples/al-additive-blend.html @@ -10,6 +10,8 @@ import A from '../src/js/A.js'; A.init.then(() => { let aladin = A.aladin('#aladin-lite-div', {projection: "TAN", survey: "P/HSC/DR2/deep/g", target: '02 21 36.529 -05 31 20.16', fov: 0.1}); + aladin.reverseLongitude(true) + let hscGreenSurvey = aladin.getBaseImageLayer(); hscGreenSurvey.setImageFormat("fits"); hscGreenSurvey.setColormap("green", { stretch: "asinh" }); diff --git a/examples/al-animation-CS-CDS-2022.html b/examples/al-animation-CS-CDS-2022.html index 5f1f14c6..20c6c773 100644 --- a/examples/al-animation-CS-CDS-2022.html +++ b/examples/al-animation-CS-CDS-2022.html @@ -201,7 +201,7 @@ let stephansNIRCamMIRI async function s11() { - stephansNIRCamMIRI = aladin.createImageSurvey('CDS/P/JWST/Stephans-Quintet/NIRCam+MIRI', "stephansMIRI", null, null, null) + stephansNIRCamMIRI = aladin.createImageSurvey('CDS/P/JWST/Stephans-Quintet/NIRCam-MIRI', "stephansNircamMIRI", null, null, null) stephansNIRCamMIRI.setOpacity(0.0) aladin.setOverlayImageLayer(stephansNIRCamMIRI, 'stephansNIRCamMIRI') diff --git a/examples/al-coronelli.html b/examples/al-coronelli.html index 566d29b6..b1975f57 100644 --- a/examples/al-coronelli.html +++ b/examples/al-coronelli.html @@ -23,6 +23,7 @@
@@ -37,8 +38,8 @@ Orientation
-
- +
+

Constellations @@ -232,8 +233,7 @@ A.init.then(() => { var hipsDir="http://alasky.u-strasbg.fr/CDS_P_Coronelli"; aladin = A.aladin("#aladin-lite-div", {showSimbadPointerControl: true, expandLayersControl: true, realFullscreen: true, fov: 100, allowFullZoomout: true, showReticle: false }); - aladin.createImageSurvey('illenoroC', 'illenoroC', hipsDir, 'equatorial', 4, {imgFormat: 'jpg', longitudeReversed: false}); - aladin.createImageSurvey('Coronelli', 'Coronelli', hipsDir, 'equatorial', 4, {imgFormat: 'jpg', longitudeReversed: true}); + aladin.createImageSurvey('Coronelli', 'Coronelli', hipsDir, 'equatorial', 4, {imgFormat: 'jpg'}); aladin.setImageSurvey('Coronelli'); $('#layersControlLeft').show(); diff --git a/examples/al-flip-longitude-axis.html b/examples/al-flip-longitude-axis.html new file mode 100644 index 00000000..9ba0700f --- /dev/null +++ b/examples/al-flip-longitude-axis.html @@ -0,0 +1,23 @@ + + + + + +
+ + + \ No newline at end of file diff --git a/examples/al-fullscreen.html b/examples/al-fullscreen.html index e0feae3b..b699d087 100644 --- a/examples/al-fullscreen.html +++ b/examples/al-fullscreen.html @@ -5,16 +5,16 @@
-
+
- diff --git a/examples/al-no-properties.html b/examples/al-no-properties.html index eb9a15da..47564050 100644 --- a/examples/al-no-properties.html +++ b/examples/al-no-properties.html @@ -10,7 +10,6 @@ A.init.then(() => { let aladin = A.aladin('#aladin-lite-div', {fov: 70,projection: "AIT"}); aladin.setOverlayImageLayer(A.imageHiPS( - 'Fermi', "https://alasky.cds.unistra.fr/Fermi/Color", { name: "Fermi color", diff --git a/examples/al-save-colormap.html b/examples/al-save-colormap.html index a557c741..17c07e07 100644 --- a/examples/al-save-colormap.html +++ b/examples/al-save-colormap.html @@ -15,16 +15,17 @@ let survey1 = aladin.getBaseImageLayer(); survey1.setColormap('magma', {stretch: 'linear'}); - let survey2 = aladin.newImageSurvey("CSIRO/P/RACS/low/I"); - aladin.setImageLayer(survey2) + let survey2 = aladin.newImageSurvey("CSIRO/P/RACS/low/I", {name: 'racs low'}); survey2.setColormap('rdbu', {stretch: 'linear'}); + aladin.setImageLayer(survey2) + + let survey3 = aladin.newImageSurvey("CSIRO/P/RACS/mid/I"); aladin.setImageLayer(survey3) survey3.setColormap('cubehelix', {stretch: 'asinh'}); aladin.setImageLayer(survey2); - setTimeout(() => { aladin.removeHiPSFromFavorites(survey3) }, 5000); diff --git a/examples/al-set-colormap.html b/examples/al-set-colormap.html index 73893753..8fefe5ef 100644 --- a/examples/al-set-colormap.html +++ b/examples/al-set-colormap.html @@ -5,7 +5,6 @@
-