ol. ol.BrowserFeature

Source:
  • browserfeature.jsdoc, line 1

Members

<static, constant> DEVICE_PIXEL_RATIO :number

Stability: experimental

The ratio between physical pixels and device-independent pixels (dips) on the device (window.devicePixelRatio).

Source:
  • browserfeature.js, line 17

<static, constant> HAS_CANVAS :boolean

Stability: experimental

True if browser supports Canvas.

Source:
  • browserfeature.js, line 41

<static, constant> HAS_DEVICE_ORIENTATION :boolean

Stability: experimental

Indicates if DeviceOrientation is supported in the user's browser.

Source:
  • browserfeature.js, line 71

<static, constant> HAS_GEOLOCATION :boolean

Stability: experimental

Is HTML5 geolocation supported in the current browser?

Source:
  • browserfeature.js, line 89

<static, constant> HAS_TOUCH :boolean

Stability: experimental

True if browser supports touch events.

Source:
  • browserfeature.js, line 106