Installation
npm install --save @types/utm
Summary
This package contains type definitions for utm (https://github.com/timothygu/utm#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/utm.
index.d.ts
export function fromLatLon(
latitude: number,
longitude: number,
forceZoneNum?: number,
): {
easting: number;
northing: number;
zoneNum: number;
zoneLetter: string;
};
export function toLatLon(
easting: number,
northing: number,
zoneNum: number,
zoneLetter: string,
northern?: undefined,
strict?: boolean,
): {
latitude: number;
longitude: number;
};
export function toLatLon(
easting: number,
northing: number,
zoneNum: number,
zoneLetter: undefined,
northern: boolean,
strict?: boolean,
): {
latitude: number;
longitude: number;
};
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Hyeonsoo David Lee, and Jonas Triki.