Replace dispatchChangeEvent by changed in ol/source

This commit is contained in:
Florent gravin
2018-04-04 10:47:29 +02:00
parent c579fc985a
commit 1a6c62a48a

View File

@@ -16,8 +16,8 @@ import ImageSource from '../source/Image.js';
* 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
* invalidate the current cached image.
* `changed` should be called on the source for the source to
* invalidate the current cached image. See @link: {@link module:ol/Observable~Observable#changed}
* @property {module:ol/proj~ProjectionLike} projection Projection.
* @property {number} [ratio=1.5] Ratio. 1 means canvases are the size of the map viewport, 2 means twice the
* width and height of the map viewport, and so on. Must be `1` or higher.