Here is my code:
navigate(address: Address, event:any) {
let destination = address.street1.trim() + ' ' + address.street2.trim() + ' ' + address.city.trim() + ' ' + address.state.trim() + ' ' + address.zip.trim();
console.log('Destination is ----> ' + destination);
this.events.publish('blocking', true, 'Manifest');
this.geolocation.getCurrentPosition().then((resp) => {
let lat: number = resp.coords.latitude;
let lon: number = resp.coords.longitude;
let options: LaunchNavigatorOptions = {
start: lat + ', ' + lon
};
this.events.publish('blocking', false, 'Manifest');
LaunchNavigator.navigate(destination, options)
.then(
success => console.log('Launched navigator'),
error => console.log('Error launching navigator: ' + error)
);
});
}