Computer Science, asked by MajorLazer017, 10 months ago

Prepare an html document to show the use of geolocation feature.


Copying is strictly forbidden! violators will be prosecuted​​

Answers

Answered by AdityaBahure
2

Answer:

Please Mark as Brainlist Bro

Explanation:

Check if Geolocation is supported

If supported, run the getCurrentPosition() method. If not, display a message to the user

If the getCurrentPosition() method is successful, it returns a coordinates object to the function specified in the parameter (showPosition)

The showPosition() function outputs the Latitude and Longitude

Similar questions