You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
Currently the plugin doesn't offer such functionality. To achieve this you need to use GeoCoder for Android and CLGeocoder for iOS (5+). We might consider implementing this in the future, but I cannot promise anything.
Till then, feel free to submit a PR with this feature.
Hi,
I am using geolocation plugin in NS-core to get the current location.
Here is the code
var location = geolocation.getCurrentLocation({desiredAccuracy: 3, updateDistance: 10, maximumAge: 20000, timeout: 20000}).
then(function(loc) {
if (loc) {
console.log("Current location is: " + JSON.stringify(loc));
}
}, function(e){
console.log("Error: " + e.message);
});
the code is giving the values of latitude, longitude, altitude, horizontalAccuracy, verticalAccuracy, direction, timestamp, android ..
My question is to which function I have to feed those values to get the current location(string) ??
The text was updated successfully, but these errors were encountered: