Links
Comment on page

Geo Location

On secure(https) pages browser like default navigator functions will work.
navigator.geolocation.getCurrentPosition(success, error, [options])
For reference can follow the link below.
You'll need to import the javascript file in your website before starting from this link.
To get GPS Status of device
Plain Javascript
ES5+
WTN.isDeviceGPSEnabled({
callback:function(data){
console.log(data.value);
}
});
import {isDeviceGPSEnabled} from "webtonative"
isDeviceGPSEnabled({
callback:function(data){
console.log(data.value);
}
});