astro-viewer 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astroviewer.cjs +8 -1
- package/dist/astroviewer.js +1 -1
- package/dist/astroviewer.min.js +1 -1
- package/lib-esm/AstroSphere.js +8 -1
- package/package.json +2 -1
package/dist/astroviewer.cjs
CHANGED
|
@@ -17171,6 +17171,13 @@ class AstroSphere {
|
|
|
17171
17171
|
if (centralradeg == null || centraldecdeg == null) {
|
|
17172
17172
|
return null;
|
|
17173
17173
|
}
|
|
17174
|
+
let fovPolygon = [];
|
|
17175
|
+
try {
|
|
17176
|
+
fovPolygon = this.getFoVPolygon();
|
|
17177
|
+
}
|
|
17178
|
+
catch (error) {
|
|
17179
|
+
console.warn("[AstroSphere] getCurrentStatus: FoV polygon is not available.", error);
|
|
17180
|
+
}
|
|
17174
17181
|
// if (this._rotating && centraldecdeg && centralradeg) {
|
|
17175
17182
|
const detail = {
|
|
17176
17183
|
fovDeg: this.fov.minFoV,
|
|
@@ -17185,7 +17192,7 @@ class AstroSphere {
|
|
|
17185
17192
|
centralPoint: new Point_js_1.Point({ raDeg: centralradeg, decDeg: centraldecdeg }, CoordsType_js_1.CoordsType.ASTRO),
|
|
17186
17193
|
mouseHoverPoint: this.mousePointCoords,
|
|
17187
17194
|
colorMap: this._selectedColorMap,
|
|
17188
|
-
getFoVPolygon:
|
|
17195
|
+
getFoVPolygon: fovPolygon,
|
|
17189
17196
|
};
|
|
17190
17197
|
return detail;
|
|
17191
17198
|
// }
|