RouteController
interface RouteController
Controls Route-specific features on the map. Allows Route management and the user interactions with the Route.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Link copied to clipboard
Registers OnRouteClickListener that will be notified about any route being clicked. The clicked Route becomes a parameter of the OnRouteClickListener.onRouteClick callback.
Link copied to clipboard
Adds a new Route based on the given RouteOptions
Link copied to clipboard
Removes the OnRouteClickListener.
Link copied to clipboard
Removes all previously added routes.
Link copied to clipboard
Updates camera view to fit all route points.
Updates camera view to fit all route points, plus additional padding.