Jars
08/23/2022, 3:41 PMbattk
08/23/2022, 3:52 PMbattk
08/23/2022, 3:53 PMJars
08/23/2022, 4:07 PMbattk
08/23/2022, 4:08 PMJars
08/23/2022, 4:09 PMfunction pageInit(scriptContext) {
try {
if (navigator.geolocation) {
var currentLoc = navigator.geolocation.getCurrentPosition();
console.log(currentLoc);
}
} catch(e) {
log.error('error', JSON.stringify(e));
}
}
Jars
08/23/2022, 4:14 PM