From f6e2db76f4fc6769ec855b1f1bc02d872e95023e Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Sun, 25 Mar 2018 13:25:10 -0400 Subject: [PATCH 1/2] [doc] dispatchChangeEvent -> changed --- externs/olx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/externs/olx.js b/externs/olx.js index 2e1d244b3a..4803ae4ce1 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -929,7 +929,7 @@ olx.source.ImageCanvasOptions.prototype.attributions; * ratio, `{ol.Size}` the image size, and `{module:ol/proj/Projection~Projection}` the image * projection. The canvas returned by this function is cached by the source. If * the value returned by the function is later changed then - * `dispatchChangeEvent` should be called on the source for the source to + * `changed` should be called on the source for the source to * invalidate the current cached image. * @type {ol.CanvasFunctionType} * @api From 1b73bca28113ca2bb3e13f9ff8c911ecdfe064cc Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Mon, 2 Apr 2018 22:50:26 +0300 Subject: [PATCH 2/2] link to observable-changed --- externs/olx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/externs/olx.js b/externs/olx.js index 4803ae4ce1..32e9141d0f 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -930,7 +930,7 @@ olx.source.ImageCanvasOptions.prototype.attributions; * projection. The canvas returned by this function is cached by the source. If * the value returned by the function is later changed then * `changed` should be called on the source for the source to - * invalidate the current cached image. + * invalidate the current cached image. See @link: {@link module:ol/Observable~Observable#changed} * @type {ol.CanvasFunctionType} * @api */