Allow tileLoadFunction override for ol.source.OSM
This commit is contained in:
@@ -31,6 +31,7 @@ ol.source.OSM = function(opt_options) {
|
||||
crossOrigin: 'anonymous',
|
||||
opaque: true,
|
||||
maxZoom: options.maxZoom,
|
||||
tileLoadFunction: options.tileLoadFunction,
|
||||
url: url
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user