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