Fix typecast in ol.Tile

This commit is contained in:
Tom Payne
2013-01-07 13:14:32 +01:00
parent 06bb56eff2
commit 6b7a3bb3bf

View File

@@ -96,7 +96,7 @@ ol.Tile.prototype.getImage = function(opt_context) {
} else if (goog.object.isEmpty(this.imageByContext_)) {
image = this.image_;
} else {
image = /** @type {Image} */ this.image_.cloneNode(false);
image = /** @type {Image} */ (this.image_.cloneNode(false));
}
this.imageByContext_[key] = image;
return image;