Add ol.BrowserFeature.HAS_DOM
This commit is contained in:
@@ -55,6 +55,15 @@ ol.BrowserFeature.HAS_DEVICE_ORIENTATION =
|
|||||||
'DeviceOrientationEvent' in goog.global;
|
'DeviceOrientationEvent' in goog.global;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if browser supports DOM.
|
||||||
|
* @const
|
||||||
|
* @type {boolean}
|
||||||
|
* @todo stability experimental
|
||||||
|
*/
|
||||||
|
ol.BrowserFeature.HAS_DOM = true;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is HTML5 geolocation supported in the current browser?
|
* Is HTML5 geolocation supported in the current browser?
|
||||||
* @const
|
* @const
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
goog.provide('ol.renderer.dom');
|
goog.provide('ol.renderer.dom');
|
||||||
|
|
||||||
|
goog.require('ol.BrowserFeature');
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is supported.
|
* Is supported.
|
||||||
* @const
|
* @const
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
ol.renderer.dom.SUPPORTED = true;
|
ol.renderer.dom.SUPPORTED = ol.BrowserFeature.HAS_DOM;
|
||||||
|
|||||||
Reference in New Issue
Block a user