GeolocationPlugin

getCurrentPosition

getCurrentPosition(options?: GeolocationOptions): Promise<GeolocationPositon>
Get the current GPS location of the device
options GeolocationOptions
Returns: Promise<GeolocationPositon>

watchPosition

watchPosition(options: GeolocationOptions, callback: GeolocationWatchCallback): void
Set up a watch for location changes.
options GeolocationOptions
callback GeolocationWatchCallback
Returns: void
interface GeolocationOptions {
}
interface GeolocationPositon {
coords : undefined
}
type alias GeolocationWatchCallback {
}