@vietmap/vietmap-react-native-navigation
Version:
VietMap turn-by-turn navigation for React Native.
19 lines (18 loc) • 745 B
TypeScript
interface VietMapNavigationModuleType {
buildRoute: (points: any[], vehicle?: string) => void;
startNavigation: () => void;
stopNavigation: () => void;
recenter: () => void;
mute: () => void;
buildAndStartNavigation: () => void;
finishNavigation: () => void;
overView: () => void;
clearRoute: () => void;
startSpeedAlert: () => void;
stopSpeedAlert: () => void;
isSpeedAlertActive: () => Promise<boolean>;
configureAlertAPI: (apiKey: string, apiID: string) => void;
configVehicleSpeedAlert: (vehicleId: string, vehicleType: number, seats: number, weight: number) => void;
}
export declare const VietMapNavigationModule: VietMapNavigationModuleType;
export default VietMapNavigationModule;