Allow tileLoadFunction override for ol.source.TileJSON

This commit is contained in:
Frederic Junod
2013-09-23 13:40:48 +02:00
parent 5a99adfc68
commit 331005468c
2 changed files with 4 additions and 1 deletions

View File

@@ -45,7 +45,8 @@ ol.source.TileJSON = function(options) {
goog.base(this, {
crossOrigin: options.crossOrigin,
projection: ol.proj.get('EPSG:3857')
projection: ol.proj.get('EPSG:3857'),
tileLoadFunction: options.tileLoadFunction
});
/**