Skip to content

walterjj/es6-open-location-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

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

Forked from the TypeScript implementation by Jonas Mosimann:

https://github.com/tspoke/typescript-open-location-code/

Original 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 ES6 version of the Open Location Code (PlusCode)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%