#29 HTML Geolocation API
The Geolocation API is available in HTML to get the current geographical position of the visitor.
Since this can compromise privacy, the position is not available unless the user approves it.
The navigator.geolocation
object has various methods such as getCurrentPosition(), watchPosition(), and clearWatch()
yes this is done in JavaScript.
example, try this in your system
See the Pen geolocation by Arpit (@soniarpit) on CodePen.
Previous: #28 HTML Video Control