mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
add missing 'PAR' and 'SFL' projections to the setProjection method
This commit is contained in:
committed by
Matthieu Baumann
parent
c2dc476321
commit
9a03f8e452
@@ -2,6 +2,7 @@ unreleased
|
||||
- new method aladin.getFrame() that returns the name of the current coordinate system
|
||||
- `getViewWCS` now adapts to the `cooFrame` and the `projection`
|
||||
- `getFov` is no longer capped at 180°
|
||||
- bugfix `setProjecion` now also updates for 'PAR' and 'SFL' projections
|
||||
|
||||
2020-08
|
||||
- polyline improvements (by @imbasimba)
|
||||
|
||||
@@ -1689,6 +1689,12 @@ export let View = (function () {
|
||||
case "AIT":
|
||||
this.projection = ProjectionEnum.AIT;
|
||||
break;
|
||||
case "PAR":
|
||||
this.projection = ProjectionEnum.PAR;
|
||||
break;
|
||||
case "SFL":
|
||||
this.projection = ProjectionEnum.SFL;
|
||||
break;
|
||||
// Cylindrical (MER, CAR, CEA, CYP)
|
||||
case "MER":
|
||||
this.projection = ProjectionEnum.MER;
|
||||
|
||||
Reference in New Issue
Block a user