Remove legacy IE support
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
goog.require('goog.userAgent');
|
||||
|
||||
goog.provide('ol');
|
||||
|
||||
|
||||
@@ -120,14 +118,6 @@ ol.ENABLE_VECTOR = true;
|
||||
ol.ENABLE_WEBGL = true;
|
||||
|
||||
|
||||
/**
|
||||
* @define {boolean} Support legacy IE (7-8). Default is `false`.
|
||||
* If set to `true`, `goog.array.ASSUME_NATIVE_FUNCTIONS` must be set
|
||||
* to `false` because legacy IE do not support ECMAScript 5 array functions.
|
||||
*/
|
||||
ol.LEGACY_IE_SUPPORT = false;
|
||||
|
||||
|
||||
/**
|
||||
* @define {number} The size in pixels of the first atlas image. Default is
|
||||
* `256`.
|
||||
@@ -135,15 +125,6 @@ ol.LEGACY_IE_SUPPORT = false;
|
||||
ol.INITIAL_ATLAS_SIZE = 256;
|
||||
|
||||
|
||||
/**
|
||||
* Whether the current browser is legacy IE
|
||||
* @const
|
||||
* @type {boolean}
|
||||
*/
|
||||
ol.IS_LEGACY_IE = goog.userAgent.IE &&
|
||||
!goog.userAgent.isVersionOrHigher('9.0') && goog.userAgent.VERSION !== '';
|
||||
|
||||
|
||||
/**
|
||||
* @define {number} The maximum size in pixels of atlas images. Default is
|
||||
* `-1`, meaning it is not used (and `ol.WEBGL_MAX_TEXTURE_SIZE` is
|
||||
|
||||
Reference in New Issue
Block a user