projection may be null
This commit is contained in:
@@ -54,7 +54,7 @@ class Source extends BaseObject {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @protected
|
* @protected
|
||||||
* @type {import("../proj/Projection.js").default}
|
* @type {import("../proj/Projection.js").default|null}
|
||||||
*/
|
*/
|
||||||
this.projection = getProjection(options.projection);
|
this.projection = getProjection(options.projection);
|
||||||
|
|
||||||
@@ -141,7 +141,7 @@ class Source extends BaseObject {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the projection of the source.
|
* Get the projection of the source.
|
||||||
* @return {import("../proj/Projection.js").default} Projection.
|
* @return {import("../proj/Projection.js").default|null} Projection.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
getProjection() {
|
getProjection() {
|
||||||
|
|||||||
Reference in New Issue
Block a user