API Reference - Navigation.InvalidCoordinates
Navigation.InvalidCoordinates
Event triggered when at least one of the coordinates used with Navigation.LaunchGuidance
is invalid, due to: Type, sizeā¦
Example
1
2
3
4
5
6
7
try{
// Navigation
if ((typeof Navigation !== "undefined") && (typeof Navigation.addEventListener !== "undefined")) {
Navigation.addEventListener("InvalidCoordinates", InformUserInvalidCoordinates() }
} catch(e) {
DealWithNavigationError(e);
}
Note: The Navigation events are triggered only if the Navigation was launched using either
LaunchGuidance
orLaunchGuidanceWaypoints
.
Appeared in Software version 40.03.49.50