Neil Crosby built a simple geolocation app called beernear.me over a weekend to learn about geolocation. The app uses the navigator.geolocation API to get the user's location with their permission. It translates the latitude and longitude coordinates into an address using the Google Local Search API. A static Google map is also displayed with a custom marker showing the user's location to reduce load on mobile devices. The app then searches for nearby beer and displays locations to the user.
7. There’s
no beer
http://www.flickr.com/photos/mehan/3979975563/
8. And no
geolocation
http://www.flickr.com/photos/irisheyes/17560846/
9. What will I talk about?
Building beernear.me
“A simple weekend project
to learn about geolocation”
10. So?
• Location finding using navigator.geolocation
• Translating lat/lon to an address
• Static google maps
http://www.flickr.com/photos/yersinia/2051806493/
32. Further Reading
• W3 geolocation documentation
• Google Static Maps API
• Google Local Search API
• My blog - The Code Train
http://www.flickr.com/photos/trucolorsfly/352573802/