Add new geometry layout option for polyline format
To be able to choose the geometry layout of the feature geometries created by the format reader. Default is `ol.geom.GeometryLayout.XY`
This commit is contained in:
+11
-1
@@ -1618,7 +1618,8 @@ olx.format.GeoJSONOptions.prototype.geometryName;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{factor: (number|undefined)}}
|
||||
* @typedef {{factor: (number|undefined),
|
||||
* geometryLayout: (ol.geom.GeometryLayout|undefined)}}
|
||||
* @api
|
||||
*/
|
||||
olx.format.PolylineOptions;
|
||||
@@ -1633,6 +1634,15 @@ olx.format.PolylineOptions;
|
||||
olx.format.PolylineOptions.prototype.factor;
|
||||
|
||||
|
||||
/**
|
||||
* Layout of the feature geometries created by the format reader.
|
||||
* Default is `ol.geom.GeometryLayout.XY`.
|
||||
* @type {ol.geom.GeometryLayout|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.format.PolylineOptions.prototype.geometryLayout;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{defaultDataProjection: ol.proj.ProjectionLike}}
|
||||
* @api
|
||||
|
||||
Reference in New Issue
Block a user