AutocompleteGeoBias

public class AutocompleteGeoBias

The geo bias passed to the autocomplete engine by setting the position and radius parameters.

Lifecycle

  • Creates geographical bias object.

    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.

Public

  • Position used to bias the results by setting the optional request parameter.

    Declaration

    Swift

    public let position: CLLocationCoordinate2D
  • Radius request parameter passed by the user.

    Declaration

    Swift

    public let radius: Measurement<UnitLength>?