-
Result name.
Declaration
Swift
public let name: String
-
A unique identifier for the geographic feature
Declaration
Swift
public let mapboxId: 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?
-
Estimated time of arrival (in minutes) based on specified
proximity
.Declaration
Swift
public let estimatedTime: Measurement<UnitDuration>?
-
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]
-
Type representing address components.
Declaration
Swift
public let address: AddressComponents?
-
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]?