Make the scale factor of ol.format.Polyline configurable
And export the class
This commit is contained in:
@@ -1128,6 +1128,21 @@ olx.format.GeoJSONOptions.prototype.defaultProjection;
|
||||
olx.format.GeoJSONOptions.prototype.geometryName;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{factor: (number|undefined)}}
|
||||
* @todo stability experimental
|
||||
*/
|
||||
olx.format.PolylineOptions;
|
||||
|
||||
|
||||
/**
|
||||
* The factor by which the coordinates values will be scaled.
|
||||
* Default is `1e5`.
|
||||
*/
|
||||
olx.format.PolylineOptions.prototype.factor;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{defaultProjection: ol.proj.ProjectionLike}}
|
||||
* @todo api
|
||||
|
||||
Reference in New Issue
Block a user