open-location-code-typescript
TypeScript icon, indicating that this package has built-in type declarations

1.5.0 • Public • Published

About

This is the TypeScript implementation of the Open Location Code ported from the JS version :

https://github.com/google/open-location-code/tree/master/js

Usage

Same usage as the Javascript version :

OpenLocationCode.encode(LATITUDE, LONGITUDE);
OpenLocationCode.encode(LATITUDE, LONGITUDE, PRECISION);
OpenLocationCode.decode("8CVXFFF4+W7")
OpenLocationCode.recoverNearest(SHORT_CODE, LATITUDE, LONGITUDE)

For more examples, please refer to the JS repository.

Readme

Keywords

none

Package Sidebar

Install

npm i open-location-code-typescript

Weekly Downloads

395

Version

1.5.0

License

none

Unpacked Size

69.2 kB

Total Files

14

Last publish

Collaborators

  • spoke44