1.

What is the Geolocation API in HTML5?

Answer»

Geolocation API is used to SHARE the physical LOCATION of the CLIENT with websites. This helps in serving locale-based content and a unique EXPERIENCE to the user, based on their location. This works with a new property of the GLOBAL navigator object and most of the modern browsers support this.

var geolocation = navigator.geolocation;


Discussion

No Comment Found