Change projection property in sources options to optional
The `projection` property is not mandatory, the view's projection is used if not provided.
This commit is contained in:
@@ -31,7 +31,7 @@ import SourceState from './State.js';
|
||||
* @typedef {Object} Options
|
||||
* @property {AttributionLike} [attributions]
|
||||
* @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
|
||||
* @property {import("../proj.js").ProjectionLike} projection
|
||||
* @property {import("../proj.js").ProjectionLike} [projection] Projection. Default is the view projection.
|
||||
* @property {SourceState} [state='ready']
|
||||
* @property {boolean} [wrapX=false]
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user