Configure proj4 options and transforms upon construction

This commit is contained in:
Andreas Hocevar
2015-03-26 10:39:26 +01:00
parent 2c04e4c071
commit 338901774b
2 changed files with 42 additions and 39 deletions

View File

@@ -411,7 +411,7 @@ olx.OverlayOptions.prototype.autoPanMargin;
/**
* Object literal with config options for the projection.
* @typedef {{code: string,
* units: (ol.proj.Units|string),
* units: (ol.proj.Units|string|undefined),
* extent: (ol.Extent|undefined),
* axisOrientation: (string|undefined),
* global: (boolean|undefined),
@@ -431,8 +431,8 @@ olx.ProjectionOptions.prototype.code;
/**
* Units.
* @type {ol.proj.Units|string}
* Units. Required unless a proj4 projection is defined for `code`.
* @type {ol.proj.Units|string|undefined}
* @api stable
*/
olx.ProjectionOptions.prototype.units;