createRouteRequest
abstract fun createRouteRequest(@NonNull context: Context, @NonNull items: List<ItineraryItem>, useEmergencyExit: Boolean): RouteRequest
Build a RouteRequest for the supplied stops (the route-distance preview site), carrying the same alert-derived routing constraints as processRoutingRequest when an AlertProvider is registered.
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