UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

17 lines (15 loc) 1.36 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isAppleDevice = isAppleDevice; // SPDX-License-Identifier: MIT // Copyright contributors to the kepler.gl project /** * Checks if the current device is an Apple device (Mac, iPhone, iPod, or iPad) * @returns {boolean} True if the current device is an Apple device */ function isAppleDevice() { return /Mac|iPhone|iPod|iPad/.test(navigator.userAgent); } //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJpc0FwcGxlRGV2aWNlIiwidGVzdCIsIm5hdmlnYXRvciIsInVzZXJBZ2VudCJdLCJzb3VyY2VzIjpbIi4uL3NyYy9icm93c2VyLXV0aWxzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIFNQRFgtTGljZW5zZS1JZGVudGlmaWVyOiBNSVRcbi8vIENvcHlyaWdodCBjb250cmlidXRvcnMgdG8gdGhlIGtlcGxlci5nbCBwcm9qZWN0XG5cbi8qKlxuICogQ2hlY2tzIGlmIHRoZSBjdXJyZW50IGRldmljZSBpcyBhbiBBcHBsZSBkZXZpY2UgKE1hYywgaVBob25lLCBpUG9kLCBvciBpUGFkKVxuICogQHJldHVybnMge2Jvb2xlYW59IFRydWUgaWYgdGhlIGN1cnJlbnQgZGV2aWNlIGlzIGFuIEFwcGxlIGRldmljZVxuICovXG5leHBvcnQgZnVuY3Rpb24gaXNBcHBsZURldmljZSgpOiBib29sZWFuIHtcbiAgcmV0dXJuIC9NYWN8aVBob25lfGlQb2R8aVBhZC8udGVzdChuYXZpZ2F0b3IudXNlckFnZW50KTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNPLFNBQVNBLGFBQWFBLENBQUEsRUFBWTtFQUN2QyxPQUFPLHNCQUFzQixDQUFDQyxJQUFJLENBQUNDLFNBQVMsQ0FBQ0MsU0FBUyxDQUFDO0FBQ3pEIiwiaWdub3JlTGlzdCI6W119