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

set boundaries on manually entered location #9

Closed
zackdever opened this issue Sep 9, 2012 · 0 comments
Closed

set boundaries on manually entered location #9

zackdever opened this issue Sep 9, 2012 · 0 comments

Comments

@zackdever
Copy link
Owner

when using geolocation we get a good city wide boundary which we use to weight the results coming back from the auto complete google places box. when we do a manual location entry instead of geolocation we don't seem to get any boundary, so the auto complete box results aren't weighted.

possible solutions:

  1. i am overlooking something and we are getting boundary info back, or there is an easy way to do so
  2. bind the auto complete box to the map area, but only when manually entered
  3. always do this (which may work better, i'm just not sure if the weight is binary or gradual)

binary vs gradual - if you set boundaries, does it only give a set weight to places inside those boundaries and then everything outside of it is the same, whether it's 1 or 100 miles? if so, then this would not be very useful, but if it is gradual, then we should always just bind it to the map as it would be better than just setting the city as the boundary.

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

No branches or pull requests

1 participant