From b6781ac186dc5e06577d59839711f83cb677d115 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Wed, 7 Mar 2018 13:52:08 +0100 Subject: [PATCH] New typedef syntax for Pixel --- src/ol/types.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ol/types.js b/src/ol/types.js index 59724ec798..895be0128f 100644 --- a/src/ol/types.js +++ b/src/ol/types.js @@ -27,6 +27,13 @@ * @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.} Pixel + * @api + */ + /** * @typedef {function(module:ol/PluggableMap~PluggableMap, ?olx.FrameState): boolean} PostRenderFunction */