Merge pull request #3365 from ahocevar/pointresolution-docs
Better docs for #getPointResolution
This commit is contained in:
+8
-6
@@ -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;
|
||||||
|
|
||||||
|
|
||||||
@@ -5054,9 +5056,9 @@ olx.source.TileArcGISRestOptions.prototype.attributions;
|
|||||||
/**
|
/**
|
||||||
* ArcGIS Rest parameters. This field is optional. Service defaults will be
|
* ArcGIS Rest parameters. This field is optional. Service defaults will be
|
||||||
* used for any fields not specified. `FORMAT` is `PNG32` by default. `F` is `IMAGE` by
|
* used for any fields not specified. `FORMAT` is `PNG32` by default. `F` is `IMAGE` by
|
||||||
* default. `TRANSPARENT` is `true` by default. `BBOX, `SIZE`, `BBOXSR`,
|
* default. `TRANSPARENT` is `true` by default. `BBOX, `SIZE`, `BBOXSR`,
|
||||||
* and `IMAGESR` will be set dynamically. Set `LAYERS` to
|
* and `IMAGESR` will be set dynamically. Set `LAYERS` to
|
||||||
* override the default service layer visibility. See
|
* override the default service layer visibility. See
|
||||||
* {@link http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Export_Map/02r3000000v7000000/}
|
* {@link http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Export_Map/02r3000000v7000000/}
|
||||||
* for further reference.
|
* for further reference.
|
||||||
* @type {Object.<string,*>|undefined}
|
* @type {Object.<string,*>|undefined}
|
||||||
|
|||||||
Reference in New Issue
Block a user