Skip to content

tspoke/typescript-open-location-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A typescript version of the Open Location Code (PlusCode)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published