diff --git a/externs/olx.js b/externs/olx.js index 9dc376aae0..fd48e2b7f0 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -3936,6 +3936,15 @@ olx.source.ImageMapGuideOptions.prototype.ratio; olx.source.ImageMapGuideOptions.prototype.resolutions; + +/** + * Optional function to load an image given a URL. + * @type {ol.TileLoadFunctionType|undefined} + * @api + */ +olx.source.ImageMapGuideOptions.prototype.imageLoadFunction; + + /** * Additional parameters. * @type {Object|undefined} @@ -4420,6 +4429,14 @@ olx.source.ImageWMSOptions.prototype.hidpi; olx.source.ImageWMSOptions.prototype.serverType; +/** + * Optional function to load an image given a URL. + * @type {ol.TileLoadFunctionType|undefined} + * @api + */ +olx.source.ImageWMSOptions.prototype.imageLoadFunction; + + /** * Logo. * @type {string|olx.LogoOptions|undefined} @@ -4577,6 +4594,14 @@ olx.source.ImageStaticOptions.prototype.imageExtent; olx.source.ImageStaticOptions.prototype.imageSize; +/** + * Optional function to load an image given a URL. + * @type {ol.TileLoadFunctionType|undefined} + * @api + */ +olx.source.ImageStaticOptions.prototype.imageLoadFunction; + + /** * Logo. * @type {string|olx.LogoOptions|undefined}