Javascript
The JavaScript library makes it easy to interact with the Placekey API. The source code for this library can be found here.
Installation
To insall:
Or with yarn:
Usage
Note: Be careful to note that like the H3 API, the placekey-js API use latitude
, longitude
order.
Failure to account of this order when interoperating with other geospatial software is a common source of errors, for more information see lon lat lon lat.
An upper bound on the maximal distance in meters between two Placekeys based on the length of their shared prefix is provided by getPlacekeyPrefixDistanceDict()
.
Additional Information
More information about this library can be found on Github where you can also submit pull requests, submit bugs, and feature suggestions.