Make the scale factor of ol.format.Polyline configurable

And export the class
This commit is contained in:
Frederic Junod
2014-05-16 10:00:21 +02:00
parent 0245cb1d56
commit a283977cb9
3 changed files with 101 additions and 64 deletions

View File

@@ -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