NearbyPlaces

public struct NearbyPlaces : Codable, Equatable

Struct representing Nearby Places

  • Collection of places

    Declaration

    Swift

    public var places: [Place]
  • Radius used for searching nearby places

    Declaration

    Swift

    public var radius: Int
  • Used point to draw the radius

    Declaration

    Swift

    public var centerpoint: [Double]
  • Used to store list information.

    Declaration

    Swift

    public var listInfo: ListInfo?
  • Undocumented

    Declaration

    Swift

    public init(places: [Place], radius: Int, centerpoint: [Double], listInfo: ListInfo?)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    public init(from decoder: Decoder) throws