14 lines
491 B
JavaScript
14 lines
491 B
JavaScript
"use strict";
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.geoTz = geoTz;
|
|
const tz_lookup_1 = __importDefault(require("@photostructure/tz-lookup"));
|
|
/**
|
|
* @throws if the given latitude and longitude are invalid.
|
|
*/
|
|
function geoTz(lat, lon) {
|
|
return (0, tz_lookup_1.default)(lat, lon);
|
|
}
|
|
//# sourceMappingURL=GeoTz.js.map
|