MyLocationOptions interface
April 11, 2018 ยท View on GitHub
let options: MyLocationOptions = {
enableHighAccuracy: true
};
LocationService.getMyLocation(options).then((location: MyLocation) => {
console.log(location);
});
Interface members
| Params | Type | Details |
|---|---|---|
| enableHighAccuracy | boolean | Set true if you want to try to use GPS mandatory. In false, the plugin try to use GPS and network. (default: false) |