From 52707cc851a151e7721e030a4e1b5da3884eb93c Mon Sep 17 00:00:00 2001 From: kraysent Date: Sun, 8 Mar 2026 11:53:51 +0000 Subject: [PATCH] add ability to choose layers for aladin & use legacy survey by default --- src/components/core/Aladin.tsx | 4 ++-- src/pages/Home.tsx | 23 +++++------------------ src/pages/ObjectDetails.tsx | 1 - src/pages/RecordCrossmatchDetails.tsx | 1 - 4 files changed, 7 insertions(+), 22 deletions(-) diff --git a/src/components/core/Aladin.tsx b/src/components/core/Aladin.tsx index 8d46cc1..95c4c75 100644 --- a/src/components/core/Aladin.tsx +++ b/src/components/core/Aladin.tsx @@ -21,7 +21,7 @@ export function AladinViewer({ ra, dec, fov = 0.5, - survey = "P/DSS2/color", + survey = "CDS/P/DESI-Legacy-Surveys/DR10/color", className = "w-full h-96", additionalSources, }: AladinViewerProps) { @@ -37,7 +37,7 @@ export function AladinViewer({ showReticle: false, showZoomControl: true, showFullscreenControl: false, - showLayersControl: false, + showLayersControl: true, showCooGridControl: false, }); diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 0214c4f..172c277 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -6,28 +6,15 @@ const homePageHint: ReactElement = (
Examples:
-
- The search conditions can be concatenated with AND or OR operators. For - example: -
- diff --git a/src/pages/ObjectDetails.tsx b/src/pages/ObjectDetails.tsx index 1158b25..59bcf33 100644 --- a/src/pages/ObjectDetails.tsx +++ b/src/pages/ObjectDetails.tsx @@ -26,7 +26,6 @@ function ObjectDetails({ object, schema }: ObjectDetailsProps): ReactElement { ra={object.catalogs.coordinates.equatorial.ra} dec={object.catalogs.coordinates.equatorial.dec} fov={0.02} - survey="P/DSS2/color" className="w-96 h-96" /> )} diff --git a/src/pages/RecordCrossmatchDetails.tsx b/src/pages/RecordCrossmatchDetails.tsx index 75a6f65..3e210aa 100644 --- a/src/pages/RecordCrossmatchDetails.tsx +++ b/src/pages/RecordCrossmatchDetails.tsx @@ -167,7 +167,6 @@ function RecordCrossmatchDetails({ ra={crossmatch.catalogs.coordinates.equatorial.ra} dec={crossmatch.catalogs.coordinates.equatorial.dec} fov={0.02} - survey="P/DSS2/color" className="w-96 h-96" additionalSources={candidateSources} />