createRouteRequest
open fun createRouteRequest(@NonNull context: Context, @NonNull items: List<ItineraryItem>, useEmergencyExit: Boolean): RouteRequest
Instance route-build site for the route-distance preview (used by MapViewModel via createRouteRequest): builds the request with THIS instance's lazily-resolved MapUiApi.AlertProvider so alert-derived routing constraints are injected exactly as in processRoutingRequest.
Return
the built request, or null when items is empty
Parameters
context
any context (application context is used internally)
items
the itinerary stops to route through
useEmergencyExit
whether the route is an emergency-exit route