Add ol.BrowserFeature.HAS_DOM

This commit is contained in:
Éric Lemoine
2013-12-18 11:10:34 +01:00
parent 42a2f7aab9
commit c8038f7855
2 changed files with 12 additions and 1 deletions

View File

@@ -55,6 +55,15 @@ ol.BrowserFeature.HAS_DEVICE_ORIENTATION =
'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?
* @const

View File

@@ -1,9 +1,11 @@
goog.provide('ol.renderer.dom');
goog.require('ol.BrowserFeature');
/**
* Is supported.
* @const
* @type {boolean}
*/
ol.renderer.dom.SUPPORTED = true;
ol.renderer.dom.SUPPORTED = ol.BrowserFeature.HAS_DOM;