Skip to content

Restrict geohashes length #30

Answered by filipecorrea
ptneves asked this question in Q&A
Discussion options

You must be logged in to vote

There's no way of specifying the exact number, but you can reduce it by configuring precision:

const config = {
    precision: 4
  }

const geohashes = vicinityhash.convert(geofence, config)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ptneves
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants