Merge pull request #2684 from ahocevar/notify-change
Rename ol.Observable#dispatchChangeEvent() to #changed()
This commit is contained in:
+2
-2
@@ -103,7 +103,7 @@ ol.ImageTile.prototype.getKey = function() {
|
||||
ol.ImageTile.prototype.handleImageError_ = function() {
|
||||
this.state = ol.TileState.ERROR;
|
||||
this.unlistenImage_();
|
||||
this.dispatchChangeEvent();
|
||||
this.changed();
|
||||
};
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ ol.ImageTile.prototype.handleImageLoad_ = function() {
|
||||
this.state = ol.TileState.EMPTY;
|
||||
}
|
||||
this.unlistenImage_();
|
||||
this.dispatchChangeEvent();
|
||||
this.changed();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user