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

bounding box in observation search responses #46

Closed
kueda opened this issue Dec 14, 2016 · 0 comments
Closed

bounding box in observation search responses #46

kueda opened this issue Dec 14, 2016 · 0 comments
Assignees

Comments

@kueda
Copy link
Member

kueda commented Dec 14, 2016

In response to http://api.inaturalist.org/v1/observations we'd get something like

{
  total_results: 4131950,
  page: 1,
  per_page: 30,
  bounding_box: {
    nelng: 1,
    nelat: 1,
    swlng: 0,
    swlat: 0
  },
  results: [
    ...
  ]
}

This would let us do some thing things like zoom the map appropriately on the taxon page.

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

No branches or pull requests

2 participants