Introduce WriteOptions for feature formats
This commit is contained in:
+21
-1
@@ -1167,6 +1167,27 @@ olx.format.ReadOptions.prototype.dataProjection;
|
||||
olx.format.ReadOptions.prototype.featureProjection;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{dataProjection: (ol.proj.ProjectionLike|undefined),
|
||||
* featureProjection: ol.proj.ProjectionLike}}
|
||||
*/
|
||||
olx.format.WriteOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Projection of the data we are writing. Default is the `featureProjection`.
|
||||
* @type {ol.proj.ProjectionLike|undefined}
|
||||
*/
|
||||
olx.format.WriteOptions.prototype.dataProjection;
|
||||
|
||||
|
||||
/**
|
||||
* Projection of the feature geometries serialized by the format writer.
|
||||
* @type {ol.proj.ProjectionLike}
|
||||
*/
|
||||
olx.format.WriteOptions.prototype.featureProjection;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{defaultProjection: ol.proj.ProjectionLike,
|
||||
* geometryName: (string|undefined)}}
|
||||
@@ -1203,7 +1224,6 @@ olx.format.PolylineOptions;
|
||||
olx.format.PolylineOptions.prototype.factor;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{defaultProjection: ol.proj.ProjectionLike}}
|
||||
* @api
|
||||
|
||||
Reference in New Issue
Block a user