Skip to content

Cordova plugin to get current loction using Native Location Manager.

License

Notifications You must be signed in to change notification settings

uzumakinaruto123/NativeGeo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NativeGeo

Cordova plugin to get current loction using Native Location Manager.


##### Platforms
  • Android

Installation
cordova plugin add https://github.com/uzumakinaruto123/NativeGeo.git
Usage
declare var NativeGeo:any;

...

NativeGeo.getCurrentLocation((res)=>{
	console.log(res.latitude+', '+res.longitude);
},(err)=>{
	console.log('Error getting location', err);
});
Note:

Application should have Location permissions to get current location

About

Cordova plugin to get current loction using Native Location Manager.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published