add missing 'PAR' and 'SFL' projections to the setProjection method

This commit is contained in:
MARCHAND MANON
2023-08-31 14:33:10 +02:00
committed by Matthieu Baumann
parent c2dc476321
commit 9a03f8e452
2 changed files with 7 additions and 0 deletions

View File

@@ -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)

View File

@@ -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;