Introduce WriteOptions for feature formats

This commit is contained in:
Andreas Hocevar
2014-07-18 20:49:12 +02:00
parent 3245b8c6af
commit b0d95b326a
2 changed files with 24 additions and 1 deletions
+21 -1
View File
@@ -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