Links
Comment on page

Location manager

Declaration

const locationManager: LocationManager

Interface

interface Coordinate {
latitude: number;
longitude: number;
}
interface LocationManager {
isLocationServicesEnabled(): Promise<boolean>;
requestCurrentLocation(): Promise<Coordinate>;
}