From 34c85d8ade6b9ef134ff0fb10e997f42f955028f Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 2 Jan 2014 13:01:46 +0100 Subject: [PATCH] Make ol.source.TileImage#tileLoadFunction protected, not private --- src/ol/source/tileimagesource.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/source/tileimagesource.js b/src/ol/source/tileimagesource.js index 273891112b..6f63bd21fa 100644 --- a/src/ol/source/tileimagesource.js +++ b/src/ol/source/tileimagesource.js @@ -70,10 +70,10 @@ ol.source.TileImage = function(options) { this.tileCache = new ol.TileCache(); /** - * @private + * @protected * @type {ol.TileLoadFunctionType} */ - this.tileLoadFunction_ = goog.isDef(options.tileLoadFunction) ? + this.tileLoadFunction = goog.isDef(options.tileLoadFunction) ? options.tileLoadFunction : ol.source.TileImage.defaultTileLoadFunction; }; @@ -121,7 +121,7 @@ ol.source.TileImage.prototype.getTile = function(z, x, y, projection) { goog.isDef(tileUrl) ? ol.TileState.IDLE : ol.TileState.EMPTY, goog.isDef(tileUrl) ? tileUrl : '', this.crossOrigin, - this.tileLoadFunction_); + this.tileLoadFunction); this.tileCache.set(tileCoordKey, tile); return tile; }