Html5 navigator.geolocation ejemplo

Geolocation refers to the identification of the geographic location of a user or computing device via a variety of data collection  Notice that the sample code above determines the user's location through the W3C navigator.geolocation property. The HTML Geolocation API is used to locate a user's position.