MQManeuver

@interface MQManeuver : NSObject

An object containing information about maneuver

  • Position of the Maneuver on the route shape

    Declaration

    Objective-C

    @property (readonly, atomic) MQNavigationRoutePosition position;

    Swift

    var position: MQNavigationRoutePosition { get }
  • Name of the road that the maneuver leads to

    Declaration

    Objective-C

    @property (readonly, atomic, nonnull) NSString *name;

    Swift

    var name: String { get }
  • Maneuver type

    Declaration

    Objective-C

    @property (readonly, atomic) MQManeuverType type;

    Swift

    var type: MQManeuverType { get }
  • The lane information is not currently enabled on backend.

    Available and suggested maneuvers for all lanes in a road segment (bitwise OR'ed). For instance, if laneInfo.laneMarking values are [65, 65, 0, 4], there are four total lanes, and five available maneuvers, left or straight on the two leftmost lanes, and right on the rightmost lane; if laneInfo.laneHighlights values are [64, 64, 0, 0], there are four total lanes, and the two left lanes should be used to execute a left turn. 65 = 0000 0100 0001 64 = 0000 0100 0000 4 = 0000 0000 0100

    Declaration

    Objective-C

    @property (readonly, atomic, nullable) NSArray<MQLaneInfo *> *laneInfo;

    Swift

    var laneInfo: [MQLaneInfo]? { get }
  • Textual representation of the maneuver in the language specified in MQRouteOptions

    Declaration

    Objective-C

    @property (readonly, atomic, nonnull) NSString *typeText;

    Swift

    var typeText: String { get }