Set this to indicate if permission to access location services should be requested when the card is loaded. When setting to
true, the map is zoomed to a user’s current location and begins displaying nearby stops and locations.
The default value is
public var requestLocationServicesOnLoad: Bool
Set this to add a list of autocompletion providers to use.
The default providers, if none is provided, are Apple and SkedGo geocoders.
public var autocompletionDataProviders: [TKAutocompleting]?
Set this to add a tap-action to a non-stop map annotation in the home card. The closure returns a boolean indicating whether other annotations should be hidden when the selection is made.
Handler will be called when the user taps a non-stop annotation in the map. You can, for example, use this to present a detailed view of the location.
public var presentLocationHandler: ((TKUIHomeCard, TKModeCoordinate) -> Bool)?