AutocompleteGeoBias
@objcMembers
public class AutocompleteGeoBias
The geo bias passed to the autocomplete engine by setting the position and radius parameters.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates geographical bias object
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
required public init(position: CLLocationCoordinate2D, radius: Measurement<UnitLength>?)
Parameters
position
describes the geographical position for the autocomplete request.
radius
describes the radius within which search is performed.
-
Position used to bias the results by setting the optional request parameter.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let position: CLLocationCoordinate2D
-
Radius request parameter passed by the user.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let radius: Measurement<UnitLength>?