geolocation

The Navigator.geolocation read-only property returns a Geolocation object that gives Web content access to the location of the device.

MDN Reference