Lat/Lon for Gear Fit2 App

Lat/Lon for Gear Fit2 App

BY 08 Jun 2017 Web Application Development

In my Gear Fit 2 web app, I’m using the code below to get lat/long.

navigator.geolocation.getCurrentPosition(successCallback, errorCallback);

 

For this code to work, GPS radio on my phone must be turned on.

How can I force my app to use the build-in GPS in Gear Fit 2? or at least check it first before the phone’s GPS?

 

Thanks

 

Written by