tmyl / cityvibes

2 stars 4 forks source link

Establishing proximity #8

Open CMiscov8 opened 8 years ago

CMiscov8 commented 8 years ago

@ycoady mentioned "proximity" in class, which sounds important to us. We need to find some code that establishes the proximity of the user to the event. By location and by time.

ycoady commented 8 years ago

SOOOOOOOOO cool! @CMiscov8, this will look like an INSANE amount of material but check out "the matrix"! https://developers.google.com/maps/documentation/distance-matrix/intro

For now you can COMPLETELY mock up the data, but I can put together an example to play with if you would want?

You can also just do straight up calculations based on calculating the difference between the latitude and longitude of where you are versus an event location! The problem with that is, for example, Vancouver is only 40K away, but the Georgia straight makes it a little inconvenient! :)

CMiscov8 commented 8 years ago

AwesomeSauce! At a glance, this looks great. I'll have to give it a proper read and a hack tomorrow. With coffee. On Oct 22, 2015 11:07 PM, "Yvonne Coady" notifications@github.com wrote:

SOOOOOOOOO cool! @CMiscov8 https://github.com/CMiscov8, this will look like an INSANE amount of material but check out "the matrix"! https://developers.google.com/maps/documentation/distance-matrix/intro

For now you can COMPLETELY mock up the data, but I can put together an example to play with if you would want?

You can also just do straight up calculations based on calculating the difference between the latitude and longitude of where you are versus an event location! The problem with that is, for example, Vancouver is only 40K away, but the Georgia straight makes it a little inconvenient! :)

— Reply to this email directly or view it on GitHub https://github.com/tmyl/cityvibes/issues/8#issuecomment-150485664.

ycoady commented 8 years ago

hahahah!

ycoady commented 8 years ago

a! :+1: