mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
minor location fixes and updates
This commit is contained in:
5
location/location.d.ts
vendored
5
location/location.d.ts
vendored
@@ -112,4 +112,9 @@ export declare class LocationManager {
|
||||
lastKnownLocation: Location;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires a single shot location search. If you specify timeout in options, location search will fail on timeout.
|
||||
* If you specify timeout = 0 it just requests the last known location. However if you specify maximumAge and the
|
||||
* location received is older it won't be received
|
||||
*/
|
||||
export declare var getLocation: (options?: Options) => promises.Promise<Location>;
|
||||
|
||||
Reference in New Issue
Block a user