Waypoint

class Waypoint : NSObject, Decodable

Object used to describe waypoint on a route

  • location of the waypoint

    Declaration

    Swift

    open var location: CLLocationCoordinate2D
  • Name of the street the coordinate snapped to

    Declaration

    Swift

    open var name: String
  • Unique internal identifier of the segment (ephemeral, not constant over data updates) This can be used on subsequent request to significantly speed up the query and to connect multiple services. E.g. you can use the hint value obtained by the nearest query as hint values for route inputs.

    Declaration

    Swift

    open var hint: String?