Better docs for ol.ENABLE_[WEBGL|CANVAS|DOM]
This commit is contained in:
@@ -25,7 +25,8 @@ ol.has.CANVAS_LINE_DASH = false;
|
||||
|
||||
|
||||
/**
|
||||
* True if browser supports Canvas.
|
||||
* True if both the library and browser support Canvas. Always `false`
|
||||
* if `ol.ENABLE_CANVAS` is set to `false` at compile time.
|
||||
* @const
|
||||
* @type {boolean}
|
||||
* @api stable
|
||||
@@ -64,7 +65,7 @@ ol.has.DEVICE_ORIENTATION = 'DeviceOrientationEvent' in goog.global;
|
||||
|
||||
|
||||
/**
|
||||
* True if browser supports DOM.
|
||||
* True if `ol.ENABLE_DOM` is set to `true` at compile time.
|
||||
* @const
|
||||
* @type {boolean}
|
||||
*/
|
||||
@@ -106,7 +107,8 @@ ol.has.MSPOINTER = !!(goog.global.navigator.msPointerEnabled);
|
||||
|
||||
|
||||
/**
|
||||
* True if browser supports WebGL.
|
||||
* True if both OpenLayers and browser support WebGL. Always `false`
|
||||
* if `ol.ENABLE_WEBGL` is set to `false` at compile time.
|
||||
* @const
|
||||
* @type {boolean}
|
||||
* @api stable
|
||||
|
||||
Reference in New Issue
Block a user