Launch Navigator
$ ionic plugin add uk.co.workingedge.phonegap.plugin.launchnavigator
Repo: https://github.com/dpa99c/phonegap-launch-navigator.git
Requires Cordova plugin: uk.co.workingedge.phonegap.plugin.launchnavigator. For more info, please see the LaunchNavigator plugin docs.
Usage
import {LaunchNavigator} from 'ionic-native';
LaunchNavigator.navigate("Toronto, ON", "London, ON")
.then(
success => console.log("Launched navigator"),
error => console.log("Error launching navigator", error)
);
Static Methods
navigate(destination, start, options)
Launches navigator app
Param | Type | Details |
---|---|---|
destination |
Location name or coordinates |
|
start |
Location name or coordinates |
|
options |
Returns:
Promise<any>