From 310023e1790a6832e4a1014df4a2fd0d6b966a0b Mon Sep 17 00:00:00 2001 From: Simon Seyock Date: Wed, 6 Jan 2016 11:31:54 +0100 Subject: [PATCH] Fixed documentation error The imageLoad function option of all ol.source.Image subclasses are not of type ol.TileLoadFunctionType but of type ol.ImageLoadFunctionType. --- externs/olx.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index df72786055..2e85aab35e 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4349,7 +4349,7 @@ olx.source.ImageMapGuideOptions.prototype.resolutions; /** * Optional function to load an image given a URL. - * @type {ol.TileLoadFunctionType|undefined} + * @type {ol.ImageLoadFunctionType|undefined} * @api */ olx.source.ImageMapGuideOptions.prototype.imageLoadFunction; @@ -4965,7 +4965,7 @@ olx.source.ImageStaticOptions.prototype.imageSize; /** * Optional function to load an image given a URL. - * @type {ol.TileLoadFunctionType|undefined} + * @type {ol.ImageLoadFunctionType|undefined} * @api */ olx.source.ImageStaticOptions.prototype.imageLoadFunction;