Add a worldExtent to ol.proj.Projection

This commit is contained in:
Éric Lemoine
2014-07-11 22:18:01 +02:00
committed by Andreas Hocevar
parent 9de010c791
commit 9f19569144
4 changed files with 48 additions and 3 deletions
+9 -1
View File
@@ -293,7 +293,8 @@ olx.OverlayOptions.prototype.insertFirst;
* units: (ol.proj.Units|string),
* extent: (ol.Extent|undefined),
* axisOrientation: (string|undefined),
* global: (boolean|undefined)}}
* global: (boolean|undefined),
* worldExtent: (ol.Extent|undefined)}}
* @api
*/
olx.ProjectionOptions;
@@ -334,6 +335,13 @@ olx.ProjectionOptions.prototype.axisOrientation;
olx.ProjectionOptions.prototype.global;
/**
* The world extent for the SRS.
* @type {ol.Extent|undefined}
*/
olx.ProjectionOptions.prototype.worldExtent;
/**
* Object literal with config options for the view.
* @typedef {{center: (ol.Coordinate|undefined),