New typedef syntax for Pixel
This commit is contained in:
@@ -27,6 +27,13 @@
|
|||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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>} Pixel
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {function(module:ol/PluggableMap~PluggableMap, ?olx.FrameState): boolean} PostRenderFunction
|
* @typedef {function(module:ol/PluggableMap~PluggableMap, ?olx.FrameState): boolean} PostRenderFunction
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user