New typedef syntax for PostRenderFunction
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user