SearchForTextOptions

struct SearchForTextOptions

Optional parameters when searching for text.

  • The area (.near or .boundingBox) for the search.

    Declaration

    Swift

    public var area: Geo.SearchArea?
  • Limits the search to the given a list of countries/regions.

    Declaration

    Swift

    public var countries: [Geo.Country]?
  • The maximum number of results returned per request.

    Declaration

    Swift

    public var maxResults: Int?
  • Extra plugin-specific options, only used in special circumstances when the existing options do not provide a way to utilize the underlying Geo plugin functionality. See plugin documentation for expected key/values.

    Declaration

    Swift

    public var pluginOptions: Any?
  • Declaration

    Swift

    public init(area: Geo.SearchArea? = nil,
                countries: [Geo.Country]? = nil,
                maxResults: Int? = nil,
                pluginOptions: Any? = nil)