Get current location in web application

Get current location in web application

BY 17 Jul 2015 Web Code Snippet
To get information about your current location you can use getCurrentPosition() method from Geolocation API. Also don’t forget to add “location” privilege and “location.gps” feature to config.xml.
Written by