Present calculated routes on the native map renderer. More...
Functions | |
| None | present_route (RouteResult route, MapRendererClient map_renderer, float padding=DEFAULT_ROUTE_PADDING) |
| Display a route and fit the map camera to it. | |
Present calculated routes on the native map renderer.
| None route_planning.route_map_presenter.present_route | ( | RouteResult | route, |
| MapRendererClient | map_renderer, | ||
| float | padding = DEFAULT_ROUTE_PADDING ) |
Display a route and fit the map camera to it.
| route | Calculated route to display. |
| map_renderer | Client connected to the native renderer. |
| padding | Map padding applied while fitting the route bounds. |
| ValueError | If the route has no shape points. |