UNPKG

expo-location

Version:

Allows reading geolocation information from the device. Your app can poll for the current location or subscribe to location update events.

8 lines (7 loc) 393 B
import { LocationGeocodedAddress, LocationGeocodedLocation } from './Location.types'; export declare function setGoogleApiKey(apiKey: string): void; export declare function googleGeocodeAsync(address: string): Promise<LocationGeocodedLocation[]>; export declare function googleReverseGeocodeAsync(options: { latitude: number; longitude: number; }): Promise<LocationGeocodedAddress[]>;