Allow tileLoadFunction override for ol.source.BingMaps

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

View File

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