@types/utm
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/utm

Weekly Downloads

6,266

Version

1.1.4

License

MIT

Unpacked Size

3.97 kB

Total Files

5

Last publish

Collaborators

  • types