[ol.Tile] add a isLoaded function
This commit is contained in:
@@ -24,6 +24,10 @@ describe("ol.Tile", function() {
|
||||
tile.handleImageLoad();
|
||||
expect(spy).toHaveBeenCalled();
|
||||
});
|
||||
it("sets the loaded flag", function() {
|
||||
tile.handleImageLoad();
|
||||
expect(tile.isLoaded()).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
describe("handle image error", function() {
|
||||
|
||||
Reference in New Issue
Block a user