Create ol.source.UrlTile

This commit is contained in:
Andreas Hocevar
2015-10-13 14:22:02 +02:00
parent 598111b78e
commit fa88b578a4
4 changed files with 170 additions and 115 deletions
+4 -1
View File
@@ -45,7 +45,10 @@ goog.inherits(ol.DebugTile_, ol.Tile);
/**
* @inheritDoc
* Get the image element for this tile.
* @param {Object=} opt_context Optional context. Only used by the DOM
* renderer.
* @return {HTMLCanvasElement} Image.
*/
ol.DebugTile_.prototype.getImage = function(opt_context) {
var key = opt_context !== undefined ? goog.getUid(opt_context) : -1;