From 2ae049dfbc7b71298223a82e89cc8212cbf866e2 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Wed, 7 Mar 2018 13:49:25 +0100 Subject: [PATCH] New typedef syntax for PostRenderFunction --- src/ol/typedefs.js | 14 -------------- src/ol/types.js | 4 ++++ 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/ol/typedefs.js b/src/ol/typedefs.js index 08dc64c833..df0dc6d0ab 100644 --- a/src/ol/typedefs.js +++ b/src/ol/typedefs.js @@ -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.} - */ -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 diff --git a/src/ol/types.js b/src/ol/types.js index 3dc6339c89..59724ec798 100644 --- a/src/ol/types.js +++ b/src/ol/types.js @@ -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.