SelectionMode
enum SelectionMode
Undocumented
-
Home selection will always be passed to the home map manager, for that to handle it.
Declaration
Swift
case selectOnMap
-
Execute the provided callback on tap; the component will only be set if selected via the card itself and not something on the map. The closure returns a boolean indicating whether other annotations should be hidden when the selection is made.
Declaration
Swift
case callback((TKAutocompletionSelection, TKUIHomeComponentViewModel?) -> Bool)
-
Default handling shows timetable for stops and routing results for others
Declaration
Swift
case `default`