vta / modeify

A web-based UI for delivering personalized commute information to travelers
Other
4 stars 1 forks source link

Make the google places api centralize around the user #58

Open 3vivekb opened 8 years ago

3vivekb commented 8 years ago

Right now the google places api searches around Santa Clara, which is good for most of the VTA users. But maybe, if the user add's their location, it should center around them instead. Thus a person in Oakland is getting oakland places! But if they don't supply location it would default to Santa Clara.

Or maybe there is a better solution entirely.

3vivekb commented 8 years ago

Graceful Solution:

  1. Prompt user in the beginning - Allow location?
  2. If yes - work as normal, center place searches around user's location - if user is within SF bay area - Also focus user map around SF Bay Area. Otherwise, default to Santa Clara.
  3. If no, or dismiss is the prompt, remove get location buttons from interface. Set places search to Santa Clara.