cancel Navigation
Cancel the active navigation. This method cancels the active navigation. If a route calculation is in progress then the registered ProgressListener will be signaled first with ProgressListener.notifyComplete with GemError.Cancel as input and then the NavigationListener.onNavigationError with GemError.Cancel as input.
Parameters
navigation Listener
Navigation listener used to identify the navigation instance