HybridRouteReplannerFactory
Factory for creating instances of hybrid RouteReplanner.
The hybrid route replanner utilizes both online and offline routing capabilities for route replanning during a navigation session.
The RouteReplanner.update method attempts to replan routes using online routing services first and falls back to offline services if online routing fails. This ensures continuity in navigation even with intermittent internet connectivity.
The RouteReplanner.fullReplan method performs online and offline replanning in parallel, and the faster result is used, optimizing for response time.
The RouteReplanner.incrementRouteContents method first attempts to increment route contents using the online route planner. If the online route planner fails, it falls back to using the offline route planner.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Creates a hybrid implementation of the RouteReplanner, designed to utilize both online and offline routing capabilities for route replanning during a navigation session.