showRoutingOnMap

fun showRoutingOnMap(context: Context?, destinations: List<DeeplinkData.Destination>)

Parses the list of destinations from a deep link and displays the route on the map.

  • Selects the target property from the destination list.

  • Waits for the map to finish plotting.

  • Extracts searchable items (Tags or SearchEntities) from destinations.

  • Converts them to ItineraryItems and initiates routing.

Parameters

context

Android context, used for localization or resource access

destinations

List of destinations extracted from a deeplink