Add ol.BrowserFeature.HAS_FULLSCREEN constant
This commit is contained in:
@@ -2,6 +2,7 @@ goog.provide('ol.BrowserFeature');
|
||||
|
||||
goog.require('goog.dom');
|
||||
goog.require('goog.dom.TagName');
|
||||
goog.require('goog.dom.fullscreen');
|
||||
goog.require('goog.userAgent');
|
||||
goog.require('ol.webgl');
|
||||
|
||||
@@ -141,6 +142,15 @@ ol.BrowserFeature.HAS_DEVICE_ORIENTATION =
|
||||
ol.BrowserFeature.HAS_DOM = ol.ENABLE_DOM;
|
||||
|
||||
|
||||
/**
|
||||
* True if browser supports the fullscreen API.
|
||||
* @const
|
||||
* @type {boolean}
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.BrowserFeature.HAS_FULLSCREEN = goog.dom.fullscreen.isSupported();
|
||||
|
||||
|
||||
/**
|
||||
* Is HTML5 geolocation supported in the current browser?
|
||||
* @const
|
||||
|
||||
Reference in New Issue
Block a user