Module: ol/has

ol/has


Members

module:ol/has.DEVICE_PIXEL_RATIO{number}

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

module:ol/has.GEOLOCATION{boolean}

Is HTML5 geolocation supported in the current browser?

module:ol/has.TOUCH{boolean}

True if browser supports touch events.