Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location inside specific boundaries #337

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

dkuku
Copy link

@dkuku dkuku commented May 10, 2020

I've added:
Returns a random location inside a square of 2x specified distance of base location in distance from base location using the https://en.wikipedia.org/wiki/Haversine_formula/

111km is around 1deg on the equator. So specyfing a initial distance from point 0,0 must fall between -1,1 on both coordinates

  • [] USAGE.md docs if applicable
  • CHANGELOG.md

@nelsonmestevao
Copy link

This would be a great addition for maps based apps 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants