diff --git a/release-notes.txt b/release-notes.txt index 90eb1cbd..844efa87 100644 --- a/release-notes.txt +++ b/release-notes.txt @@ -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) diff --git a/src/js/View.js b/src/js/View.js index be7d0b4a..2b120139 100644 --- a/src/js/View.js +++ b/src/js/View.js @@ -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;