Geolocation API and its feature
Geolocation is used to get the geographical position of a user.
Geolocation is basically prompt a alert type for the permission before access the user location.
Some of the common method to access user's location
1.getCurrentPosition() returns object with dimensional properties.
2.showPosition() returns longitude and latitude.
3.watchPostion() Observes the position of the device continuously until the watcher is stopped
Additional Context
Location is very important as part of our day to day, example to book a cab with exact location, order food from food ordering website or from mobile app, for location of route, infect it user the actual location for the user to know the physical presence.
I am submitting my self.
Top comments (0)