Webportal v1

embedded apps

API Reference - Navigation.WebDestinationReached

Navigation.WebDestinationReached

Type Event
wave 4

Event triggered when a route launched via Navigation.LaunchGuidance or Navigation.LaunchGuidanceWaypoints has reached the destination.

Example

1
2
3
4
5
6
7
try{	
	// Navigation
	if ((typeof Navigation !== "undefined") && (typeof Navigation.addEventListener !== "undefined")) {
		Navigation.addEventListener("WebDestinationReached", InformUserDestinationReached()	}
} catch(e) {
	DealWithNavigationError(e);
}

Note: The Navigation events are triggered only if the Navigation was launched using either LaunchGuidance or LaunchGuidanceWaypoints.

Appeared in Wave 4.1 - version 40.03.49.50