Add ol.BrowserFeature.HAS_ARRAY_BUFFER
This commit is contained in:
@@ -73,6 +73,14 @@ ol.IS_LEGACY_IE = goog.userAgent.IE &&
|
|||||||
ol.BrowserFeature.DEVICE_PIXEL_RATIO = goog.global.devicePixelRatio || 1;
|
ol.BrowserFeature.DEVICE_PIXEL_RATIO = goog.global.devicePixelRatio || 1;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if the browser supports ArrayBuffers.
|
||||||
|
* @type {boolean}
|
||||||
|
* @todo stability experimental
|
||||||
|
*/
|
||||||
|
ol.BrowserFeature.HAS_ARRAY_BUFFER = 'ArrayBuffer' in goog.global;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* True if the browser's Canvas implementation implements {get,set}LineDash.
|
* True if the browser's Canvas implementation implements {get,set}LineDash.
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
|||||||
Reference in New Issue
Block a user