Remove geolocation detection from ol/has

This commit is contained in:
Frederic Junod
2019-05-18 08:22:48 +02:00
parent 0631a121c3
commit 39bb6a8ffe
3 changed files with 11 additions and 11 deletions

View File

@@ -40,15 +40,6 @@ export const MAC = ua.indexOf('macintosh') !== -1;
export const DEVICE_PIXEL_RATIO = window.devicePixelRatio || 1;
/**
* Is HTML5 geolocation supported in the current browser?
* @const
* @type {boolean}
* @api
*/
export const GEOLOCATION = 'geolocation' in navigator;
/**
* True if browser supports touch events.
* @const