Ability to specify geometryName on ol.format.GeoJSON
This commit is contained in:
@@ -1104,7 +1104,8 @@ olx.control.ZoomToExtentOptions.prototype.extent;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{defaultProjection: ol.proj.ProjectionLike}}
|
||||
* @typedef {{defaultProjection: ol.proj.ProjectionLike,
|
||||
* geometryName: (string|undefined)}}
|
||||
* @todo api
|
||||
*/
|
||||
olx.format.GeoJSONOptions;
|
||||
@@ -1117,6 +1118,13 @@ olx.format.GeoJSONOptions;
|
||||
olx.format.GeoJSONOptions.prototype.defaultProjection;
|
||||
|
||||
|
||||
/**
|
||||
* Geometry name to use when creating features.
|
||||
* @type {string|undefined}
|
||||
*/
|
||||
olx.format.GeoJSONOptions.prototype.geometryName;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{defaultProjection: ol.proj.ProjectionLike}}
|
||||
* @todo api
|
||||
|
||||
Reference in New Issue
Block a user