Always provide useCapture and async args to browser
This commit is contained in:
@@ -65,7 +65,8 @@ ol.featureloader.loadFeaturesXhr = function(url, format, success, failure) {
|
||||
function(extent, resolution, projection) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET',
|
||||
goog.isFunction(url) ? url(extent, resolution, projection) : url);
|
||||
goog.isFunction(url) ? url(extent, resolution, projection) : url,
|
||||
true);
|
||||
if (format.getType() == ol.format.FormatType.ARRAY_BUFFER) {
|
||||
xhr.responseType = 'arraybuffer';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user