routing/routing_manager library

Classes

RouteResult
The full result from an OSRM route request.
RouteStep
A single turn-by-turn instruction.
RoutingManager
Manages all routing logic separately from the main widget. Keeps OpenStreetMapSearchAndPick clean.
RoutingState
State for a single routing session.

Enums

TravelMode
Travel mode for OSRM routing.

Functions

boundsFromPoints(List<LatLng> points) → LatLngBounds
Computes a bounding box around a set of LatLng points. Used to auto-fit the map camera to the route.