Result

struct Result

Undocumented

  • Result name.

    Declaration

    Swift

    public let name: String
  • Contains formatted address.

    Declaration

    Swift

    public let description: String?
  • The type of result.

    Declaration

    Swift

    public let type: SearchResultType
  • result geographic point.

    Declaration

    Swift

    public let coordinate: CLLocationCoordinate2D
  • Icon name according to Mapbox Maki icon set

    Declaration

    Swift

    public let iconName: String?
  • The straight line distance in meters between the origin and this suggestion.

    Declaration

    Swift

    public let distance: CLLocationDistance?
  • List of points near [coordinate], that represents entries to associated building.

    Declaration

    Swift

    public let routablePoints: [RoutablePoint]
  • Poi categories. Always empty for non-POI suggestions.

    Declaration

    Swift

    public let categories: [String]
  • Textual representation of the address.

    Declaration

    Swift

    public let address: Address?
  • Business phone number

    Declaration

    Swift

    public let phone: String?
  • Business website

    Declaration

    Swift

    public let website: URL?
  • Number of reviews

    Declaration

    Swift

    public let reviewCount: Int?
  • Average rating

    Declaration

    Swift

    public let averageRating: Double?
  • Business opening hours

    Declaration

    Swift

    public let openHours: OpenHours?
  • Primary image

    Declaration

    Swift

    public let primaryImage: Image?
  • Additional images

    Declaration

    Swift

    public var otherImages: [Image]?