diff --git a/src/ol/source/tilevectorsource.js b/src/ol/source/tilevectorsource.js index 90b3dc74f1..2be9959603 100644 --- a/src/ol/source/tilevectorsource.js +++ b/src/ol/source/tilevectorsource.js @@ -309,7 +309,7 @@ ol.source.TileVector.prototype.loadFeatures = tiles[tileKey] = []; var tileSuccess = goog.partial(success, tileKey); if (!goog.isNull(this.tileLoadFunction_)) { - this.tileLoadFunction_(url, tileSuccess); + this.tileLoadFunction_(url, goog.bind(tileSuccess, this)); } else { var loader = ol.featureloader.loadFeaturesXhr(url, /** @type {ol.format.Feature} */ (this.format_), tileSuccess);