The following demo intends to describe how to use the HTML5 Geolocation feature. The gist includes three step files:
- STEP1 index3.html: how to access to the geographical position of a user using the position object;
- STEP2 index2.html: how to show on a Google Map the geographical position of a user;
- STEP3 index.html: it is equal to the previous one except for the error handling.