New typedef syntax for PostRenderFunction

This commit is contained in:
Andreas Hocevar
2018-03-07 13:49:25 +01:00
parent 1e7a9e9231
commit 2ae049dfbc
2 changed files with 4 additions and 14 deletions

View File

@@ -377,20 +377,6 @@ ol.LRUCacheEntry;
ol.ModifySegmentDataType;
/**
* An array with two elements, representing a pixel. The first element is the
* x-coordinate, the second the y-coordinate of the pixel.
* @typedef {Array.<number>}
*/
ol.Pixel;
/**
* @typedef {function(ol.PluggableMap, ?olx.FrameState): boolean}
*/
ol.PostRenderFunction;
/**
* Function to perform manipulations before rendering. This function is called
* with the {@link ol.Map} as first and an optional {@link olx.FrameState} as

View File

@@ -27,6 +27,10 @@
* @api
*/
/**
* @typedef {function(module:ol/PluggableMap~PluggableMap, ?olx.FrameState): boolean} PostRenderFunction
*/
/**
* An array representing an affine 2d transformation for use with
* {@link module:ol/transform} functions. The array has 6 elements.