TKGeocoding
public extension TKGeocoding
-
Called to geocode a particular input.
Declaration
Swift
@available(*, deprecated, message: "Use async/await instead.") 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.
-
Undocumented
Declaration
Swift
func geocode(_ object: TKGeocodable, near region: MKMapRect) -> Single<Void>