final TomtomFlutterRoutePlannerManager _routePlannerManager =
TomtomFlutterRoutePlannerManager.instance;
final TomTomNavigationManager _navigationManager =
TomTomNavigationManager.instance;
// 1. Plan the route
final routePlans =
await _routePlannerManager.planRoutes(/* route planning options */);
// 2. Start the navigation session
await _navigationManager.startNavigation();
// 3. Set the route plan to follow
await _navigationManager.setActiveRoutePlan(routePlan);
// 4. Change the camera tracking mode to follow route
await _mapManager.setCamera(MapManagerCameraTrackingMode.followRoute);