Skip to content

Commit ba8f426

Browse files
authored
#41: add ability to choose layers for aladin & use legacy survey by default (#42)
1 parent 355ab78 commit ba8f426

4 files changed

Lines changed: 7 additions & 22 deletions

File tree

src/components/core/Aladin.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function AladinViewer({
2121
ra,
2222
dec,
2323
fov = 0.5,
24-
survey = "P/DSS2/color",
24+
survey = "CDS/P/DESI-Legacy-Surveys/DR10/color",
2525
className = "w-full h-96",
2626
additionalSources,
2727
}: AladinViewerProps) {
@@ -37,7 +37,7 @@ export function AladinViewer({
3737
showReticle: false,
3838
showZoomControl: true,
3939
showFullscreenControl: false,
40-
showLayersControl: false,
40+
showLayersControl: true,
4141
showCooGridControl: false,
4242
});
4343

src/pages/Home.tsx

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,15 @@ const homePageHint: ReactElement = (
66
<div>Examples:</div>
77
<ul>
88
<li>
9-
Search by name: <Link href="/query?q=name:IC1445">name:IC1445</Link>
9+
By name (string match): <Link href="/query?q=IC1445">IC1445</Link>
1010
</li>
1111
<li>
12-
Search by PGC number: <Link href="/query?q=pgc:112642">pgc:112642</Link>
13-
</li>
14-
</ul>
15-
<div>
16-
The search conditions can be concatenated with AND or OR operators. For
17-
example:
18-
</div>
19-
<ul>
20-
<li>
21-
Search by name and PGC number:{" "}
22-
<Link href="/query?q=name:IC1445%20AND%20pgc:112642">
23-
name:IC1445 and pgc:112642
24-
</Link>
12+
By coordinates (hms+dms):{" "}
13+
<Link href="/query?q=12h32m22s%2B15d22m45s">12h32m22s+15d22m45s</Link>
2514
</li>
2615
<li>
27-
Search by name or PGC number:{" "}
28-
<Link href="/query?q=name:IC1445%20OR%20pgc:112642">
29-
name:IC4445 or pgc:87422
30-
</Link>
16+
By coordinates (J2000):{" "}
17+
<Link href="/query?q=J001122.33%2B443322.1">J001122.33+443322.1</Link>
3118
</li>
3219
</ul>
3320
</div>

src/pages/ObjectDetails.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ function ObjectDetails({ object, schema }: ObjectDetailsProps): ReactElement {
2626
ra={object.catalogs.coordinates.equatorial.ra}
2727
dec={object.catalogs.coordinates.equatorial.dec}
2828
fov={0.02}
29-
survey="P/DSS2/color"
3029
className="w-96 h-96"
3130
/>
3231
)}

src/pages/RecordCrossmatchDetails.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ function RecordCrossmatchDetails({
167167
ra={crossmatch.catalogs.coordinates.equatorial.ra}
168168
dec={crossmatch.catalogs.coordinates.equatorial.dec}
169169
fov={0.02}
170-
survey="P/DSS2/color"
171170
className="w-96 h-96"
172171
additionalSources={candidateSources}
173172
/>

0 commit comments

Comments
 (0)