Better docs for #getPointResolution
This commit is contained in:
+6
-4
@@ -470,10 +470,12 @@ olx.ProjectionOptions.prototype.global;
|
||||
olx.ProjectionOptions.prototype.worldExtent;
|
||||
|
||||
/**
|
||||
* Function to determine resolution at a point.
|
||||
* @type {(function(number, ol.Coordinate):number|undefined)}
|
||||
* @api
|
||||
*/
|
||||
* Function to determine resolution at a point. The function is called with a
|
||||
* `{number}` view resolution and an `{ol.Coordinate}` as arguments, and returns
|
||||
* the `{number}` resolution at the passed coordinate.
|
||||
* @type {(function(number, ol.Coordinate):number|undefined)}
|
||||
* @api
|
||||
*/
|
||||
olx.ProjectionOptions.prototype.getPointResolution;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user