UNPKG

@nativescript-community/geocoding

Version:

Provides access to native geocoding APIs for NativeScript apps (android.location.Geocoder for Android, CLGeocoder for iOS).

8 lines (7 loc) 449 B
import { LocationBase } from './geocoding-common'; export declare function getLocationFromName(searchString: string): Promise<Location>; export declare function getLocationListFromName(searchString: string, maxResCount?: number): Promise<Location[]>; export declare function getFromLocation(latitude: number, longitude: number, maxResCount?: number): Promise<Location[]>; export declare class Location extends LocationBase { ios: CLPlacemark; }