Suggestion

public struct Suggestion

Undocumented

  • Place’s 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?
  • 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>?
  • The type of result.

    Declaration

    Swift

    public let placeType: SearchResultType
  • Poi categories. Always empty for non-POI suggestions.

    Declaration

    Swift

    public let categories: [String]
  • List of points near coordinate, that represents entries to associated building.

    Declaration

    Swift

    public let routablePoints: [RoutablePoint]