Use code formatting for argument names in jsdoc

This commit is contained in:
Maximilian Krög
2022-02-13 02:46:00 +01:00
parent a0dd0054a9
commit b9f9280260
4 changed files with 4 additions and 4 deletions

View File

@@ -171,7 +171,7 @@ export function get(projectionLike) {
* Get the resolution of the point in degrees or distance units.
* For projections with degrees as the unit this will simply return the
* provided resolution. For other projections the point resolution is
* by default estimated by transforming the 'point' pixel to EPSG:4326,
* by default estimated by transforming the `point` pixel to EPSG:4326,
* measuring its width and height on the normal sphere,
* and taking the average of the width and height.
* A custom function can be provided for a specific projection, either

View File

@@ -671,7 +671,7 @@ class CanvasTileLayerRenderer extends CanvasLayerRenderer {
* @param {import("../../proj/Projection.js").default} projection Projection.
* @param {import("../../extent.js").Extent} extent Extent.
* @param {number} currentZ Current Z.
* @param {number} preload Load low resolution tiles up to 'preload' levels.
* @param {number} preload Load low resolution tiles up to `preload` levels.
* @param {function(import("../../Tile.js").default):void} [opt_tileCallback] Tile callback.
* @protected
*/

View File

@@ -479,7 +479,7 @@ class Triangulation {
}
/**
* Calculates extent of the 'source' coordinates from all the triangles.
* Calculates extent of the `source` coordinates from all the triangles.
*
* @return {import("../extent.js").Extent} Calculated extent.
*/

View File

@@ -289,7 +289,7 @@ export function makeChildAppender(nodeWriter, opt_this) {
/**
* Create a serializer that calls the provided `nodeWriter` from
* {@link module:ol/xml.serialize}. This can be used by the parent writer to have the
* 'nodeWriter' called with an array of values when the `nodeWriter` was
* `nodeWriter` called with an array of values when the `nodeWriter` was
* designed to serialize a single item. An example would be a LineString
* geometry writer, which could be reused for writing MultiLineString
* geometries.