mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 23:21:42 +03:00
Cleaned up comments and renamed the event as per Ian's request to 'tile-load-failed'
This commit is contained in:
parent
dd8baa1639
commit
4b3bfcb703
@ -1030,11 +1030,11 @@ function onTileLoad( tiledImage, tile, time, image, errorMsg ) {
|
||||
* @memberof OpenSeadragon.Viewer
|
||||
* @type {object}
|
||||
* @property {OpenSeadragon.TiledImage} tiledImage - The tiled image of the unloaded tile.
|
||||
* @property {OpenSeadragon.Tile} tile - The tile which has been unloaded.
|
||||
* @property {number} time - The current time in milliseconds when the tile load began.
|
||||
* @property {OpenSeadragon.Tile} tile - The tile that failed to load.
|
||||
* @property {number} time - The time in milliseconds when the tile load began.
|
||||
* @property {string} message - The error message.
|
||||
*/
|
||||
tiledImage.viewer.raiseEvent("tile-open-failed", {tile: tile, tiledImage: tiledImage, time: time, message: errorMsg});
|
||||
tiledImage.viewer.raiseEvent("tile-load-failed", {tile: tile, tiledImage: tiledImage, time: time, message: errorMsg});
|
||||
if( !tiledImage.debugMode ){
|
||||
tile.loading = false;
|
||||
tile.exists = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user