Merge pull request #3365 from ahocevar/pointresolution-docs

Better docs for #getPointResolution
This commit is contained in:
Andreas Hocevar
2015-03-18 09:53:29 +01:00
+6 -4
View File
@@ -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;