I have been reading Head First HTML5 and read about the Geolocation support in HTML5 and also went through the example they have shared about using the Google Maps with HTML5 geolocation API. It was an interesting example and I went a step further and enhanced the example to show some eat outs around the current location. For this I made use of the Places library which comes with the Google Maps API.
In this post I will cover:
- Getting started with HTML5 Geolocation API.
- Integrating Google map to show current location.
- Enhancing to show nearby places on Google map.