dpa99c / phonegap-launch-navigator

Phonegap/Cordova plugin which launches native route navigation apps for Android, iOS and Windows
369 stars 131 forks source link

Please how to set appSelectionDialogHeader #91

Closed renanverri closed 8 years ago

renanverri commented 8 years ago

i need translate this header ... ''SELECT APP FOR NAVIGATION''

anyone know how to set this ? because i try all time and failed...

dpa99c commented 8 years ago

This was added in v3.1.0 after request in #67.

Usage:

launchnavigator.navigate([50.279306, -5.163158], {
    start: "50.342847, -4.749904",
    appSelectionDialogHeader: "Custom Header Text",
    appSelectionCancelButton: "Custom Cancel Text"
};

I will add an explicit example in the example project

dpa99c commented 8 years ago

Try the AdvancedExample which gives a code illustration of how to do this.

renanverri commented 8 years ago

launchnavigator.navigate([source, destination], { appSelectionDialogHeader: "Custom Header Text",

});

this is right ? because i think you lost to put the ")"