Dispatch change events instead of load events when sources change

This commit is contained in:
Tom Payne
2013-09-20 13:37:31 +01:00
parent 8a0809c673
commit 56e352b7aa
2 changed files with 2 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ ol.source.BingMaps.prototype.handleImageryMetadataResponse =
this.ready_ = true;
this.dispatchLoadEvent();
this.dispatchChangeEvent();
};

View File

@@ -119,7 +119,7 @@ ol.source.TileJSON.prototype.handleTileJSONResponse = function() {
this.ready_ = true;
this.dispatchLoadEvent();
this.dispatchChangeEvent();
};