New typedef syntax for ProjectionLike

This commit is contained in:
Andreas Hocevar
2018-03-07 13:52:57 +01:00
parent b6781ac186
commit 9ca2e4d01f
2 changed files with 7 additions and 8 deletions

View File

@@ -387,14 +387,6 @@ ol.ModifySegmentDataType;
ol.PreRenderFunction;
/**
* A projection as {@link ol.proj.Projection}, SRS identifier string or
* undefined.
* @typedef {ol.proj.Projection|string|undefined}
*/
ol.ProjectionLike;
/**
* A function that takes an array of input data, performs some operation, and
* returns an array of ouput data.

View File

@@ -38,6 +38,13 @@
* @typedef {function(module:ol/PluggableMap~PluggableMap, ?olx.FrameState): boolean} PostRenderFunction
*/
/**
* A projection as {@link module:ol/proj/Projection~Projection}, SRS identifier
* string or undefined.
* @typedef {module:ol/proj/Projection~Projection|string|undefined} ProjectionLike
* @api
*/
/**
* An array representing an affine 2d transformation for use with
* {@link module:ol/transform} functions. The array has 6 elements.