public extension TKAutocompleting
Called whenever a user types a character. You can assume this is already throttled.
func autocomplete(_ input: String, near mapRect: MKMapRect) -> Single<[TKAutocompletionResult]>
Query fragment typed by user
Last map rect the map view was zoomed to (can be
Autocompletion results for query fragment. Should fire with empty result or error out if nothing found. Needs to complete.
Called to fetch the annotation for a previously returned autocompletion result
func annotation(for result: TKAutocompletionResult) -> Single<MKAnnotation?>
The result for which to fetch the annotation
Single-observable with the annotation for the result. Can error out if an unknown result was passed in.
func triggerAdditional(presenter: UIViewController) -> Single<Bool>