react-native-map-link
Version:
Open the map app of the user's choice with a specific location.
7 lines (6 loc) • 962 B
TypeScript
import { GetAppsProps, GetAppsResponse, MapId, ShowLocationProps } from './type';
export type { DirectionMode, GetAppsProps, GetAppsResponse, MapId, SharedOptions, ShowLocationProps, } from './type';
export { Popup } from './components/popup/Popup';
export type { PopupProps } from './components/popup/Popup';
export declare const showLocation: ({ latitude, longitude, address, sourceLatitude, sourceLongitude, appleIgnoreLatLon, alwaysIncludeGoogle, googleForceLatLon, googlePlaceId, title: customTitle, app: customApp, dialogTitle: customDialogTitle, dialogMessage: customDialogMessage, cancelText: customCancelText, appsWhiteList: customAppsWhiteList, appsBlackList: customAppsBlackList, appTitles, naverCallerName, directionsMode, }: ShowLocationProps) => Promise<MapId | null | undefined>;
export declare function getApps({ alwaysIncludeGoogle, appsWhiteList, appsBlackList, appTitles, naverCallerName, ...rest }: GetAppsProps): Promise<GetAppsResponse[]>;