Update to ol.proj
Add support for custom getPointResolution and setting the 'global' boolean
This commit is contained in:
@@ -415,7 +415,8 @@ olx.OverlayOptions.prototype.autoPanMargin;
|
||||
* extent: (ol.Extent|undefined),
|
||||
* axisOrientation: (string|undefined),
|
||||
* global: (boolean|undefined),
|
||||
* worldExtent: (ol.Extent|undefined)}}
|
||||
* worldExtent: (ol.Extent|undefined),
|
||||
* getPointResolution: (function(number, ol.Coordinate):number|undefined) }}
|
||||
* @api
|
||||
*/
|
||||
olx.ProjectionOptions;
|
||||
@@ -468,6 +469,13 @@ olx.ProjectionOptions.prototype.global;
|
||||
*/
|
||||
olx.ProjectionOptions.prototype.worldExtent;
|
||||
|
||||
/**
|
||||
* Function to determine resolution at a point.
|
||||
* @type {(function(number, ol.Coordinate):number|undefined)}
|
||||
* @api
|
||||
*/
|
||||
olx.ProjectionOptions.prototype.getPointResolution;
|
||||
|
||||
|
||||
/**
|
||||
* Object literal with config options for the view.
|
||||
|
||||
Reference in New Issue
Block a user