Move ReadOptions to ol/format/Feature
This commit is contained in:
@@ -5,45 +5,6 @@
|
||||
let olx;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{dataProjection: ol.ProjectionLike,
|
||||
* extent: (ol.Extent|undefined),
|
||||
* featureProjection: ol.ProjectionLike,
|
||||
* rightHanded: (boolean|undefined)}}
|
||||
*/
|
||||
olx.format.ReadOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Projection of the data we are reading. If not provided, the projection will
|
||||
* be derived from the data (where possible) or the `defaultDataProjection` of
|
||||
* the format is assigned (where set). If the projection can not be derived from
|
||||
* the data and if no `defaultDataProjection` is set for a format, the features
|
||||
* will not be reprojected.
|
||||
* @type {ol.ProjectionLike}
|
||||
* @api
|
||||
*/
|
||||
olx.format.ReadOptions.prototype.dataProjection;
|
||||
|
||||
|
||||
/**
|
||||
* Tile extent of the tile being read. This is only used and required for
|
||||
* {@link ol.format.MVT}.
|
||||
* @type {ol.Extent}
|
||||
* @api
|
||||
*/
|
||||
olx.format.ReadOptions.prototype.extent;
|
||||
|
||||
|
||||
/**
|
||||
* Projection of the feature geometries created by the format reader. If not
|
||||
* provided, features will be returned in the `dataProjection`.
|
||||
* @type {ol.ProjectionLike}
|
||||
* @api
|
||||
*/
|
||||
olx.format.ReadOptions.prototype.featureProjection;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{dataProjection: ol.ProjectionLike,
|
||||
* featureProjection: ol.ProjectionLike,
|
||||
|
||||
Reference in New Issue
Block a user