Get watch current location in web application
To watch your current location you can use watchPosition() method from Geolocation API (and method clearWatch() to stop watching). Also don’t forget to add “location” privilege and “location.gps” feature to config.xml.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed