TKGeocoding

public protocol TKGeocoding
  • geocode(_:near:) Default implementation

    Called to geocode a particular input.

    Default Implementation

    Declaration

    Swift

    func geocode(_ input: String, near mapRect: MKMapRect) -> Single<[TKNamedCoordinate]>

    Parameters

    input

    Query typed by the user

    mapRect

    Last map rect the map view was zoomed to (can be MKMapRectNull)

    Return Value

    Single-observable with the geocoding results for the query.