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.