From d7f145e347fbe9e1c7aeb09e511e9d797898a2e3 Mon Sep 17 00:00:00 2001 From: bmatthieu3 Date: Tue, 8 Apr 2025 18:03:55 +0200 Subject: [PATCH] Fix #278 When creating a new default survey the DSS2 survey is chosen. We use the one cached instead of creating a plain new one. --- examples/al-footprints.html | 2 +- examples/al-image-with-AVM-tags.html | 2 +- src/js/Aladin.js | 18 ++++++++---------- src/js/gui/Box/StackBox.js | 11 ++--------- 4 files changed, 12 insertions(+), 21 deletions(-) diff --git a/examples/al-footprints.html b/examples/al-footprints.html index 18c95090..7960a8c0 100644 --- a/examples/al-footprints.html +++ b/examples/al-footprints.html @@ -11,7 +11,7 @@ let aladin; A.init.then(() => { // Start up Aladin Lite - aladin = A.aladin('#aladin-lite-div', {survey: "CDS/P/DSS2/color", target: 'M 1', fov: 0.2, showContextMenu: true, fullScreen: true}); + aladin = A.aladin('#aladin-lite-div', {target: 'M 1', fov: 0.2, showContextMenu: true, fullScreen: true}); var overlay = A.graphicOverlay({color: '#ee2345', lineWidth: 3, lineDash: [2, 2]}); aladin.addOverlay(overlay); overlay.addFootprints([ diff --git a/examples/al-image-with-AVM-tags.html b/examples/al-image-with-AVM-tags.html index 287781ed..065c154f 100644 --- a/examples/al-image-with-AVM-tags.html +++ b/examples/al-image-with-AVM-tags.html @@ -7,7 +7,7 @@