Using the Geolocation API to find a users location on a Google map

Although it’s not actually part of HTML5, the Geolocation APi is still cool and therefore worthy of being experimented with. So I put together a small experiment/tutorial on how to use the Geolocation API to find and display a users location on a Google map. Bit of a long winded title there, but it does what it says on the tin.