@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
13 lines • 768 B
JavaScript
/**
* 2024-10-31 GeoLocation code originally migrated from PhotoForm Webpart sample
* Happy Halloween 2024!
* 2024-11-04 updated
*/
// Define the error codes as an enum for better type safety
export var IFpsGeolocationPositionErrorCode;
(function (IFpsGeolocationPositionErrorCode) {
IFpsGeolocationPositionErrorCode[IFpsGeolocationPositionErrorCode["PERMISSION_DENIED"] = 1] = "PERMISSION_DENIED";
IFpsGeolocationPositionErrorCode[IFpsGeolocationPositionErrorCode["POSITION_UNAVAILABLE"] = 2] = "POSITION_UNAVAILABLE";
IFpsGeolocationPositionErrorCode[IFpsGeolocationPositionErrorCode["TIMEOUT"] = 3] = "TIMEOUT";
})(IFpsGeolocationPositionErrorCode || (IFpsGeolocationPositionErrorCode = {}));
//# sourceMappingURL=interfaces.js.map