Re:I Built a Social Network for Food and Here’s How I Did it
by jenniferDewalt on Tuesday January 28, 2014 @03:54PM
(#7139645)
I use the Google Maps Javascript api for geolocation. It takes a string and returns an array of places that match. Each place object includes a formatted address which I put in the search bar in place of what was initially typed.
Re:I Built a Social Network for Food and Here’s How I Did it
by ceejayoz on Tuesday January 28, 2014 @03:52PM
(#7139627)
Most geocoding APIs (Google: https://developers.google.com/maps/documentation/geocoding/) will normalize an address and give you data back about it.
Re:I Built a Social Network for Food and Here’s How I Did it
by dyladan on Tuesday January 28, 2014 @03:59PM
(#7139670)
I'm not 100% certain but I think this is the code you are looking for https://github.com/jendewalt/yumhacker/blob/master/lib/geoco...
I type "Elmhurst, NY" and it converted it to "Elmhurst, Queens, NY 11373, USA", how did you do that? I'm looking to do something similar!