GLRouteManeuver


@interface GLRouteManeuver : NSObject

Class that holding data for the route manuver

  • Declaration

    Objective-C

    @property (readonly) GLManeuverType type;
  • Route mode of this maneuver

    Declaration

    Objective-C

    @property (readonly) GLRouteMode routeMode;
  • Start point of the maneuver

    Declaration

    Objective-C

    @property (readonly) GLMapPoint startPoint;
  • End point of the maneuver

    Declaration

    Objective-C

    @property (readonly) GLMapPoint endPoint;
  • Number of points in maneuver track.

    Declaration

    Objective-C

    @property (readonly) NSUInteger countOfPoints;
  • First point equals to startPoint. Last point equals to endPoint

    Declaration

    Objective-C

    - (GLMapPoint)pointAtIndex:(NSUInteger)index;

    Parameters

    index

    index of point to return

    Return Value

    point of maneuver track at givenIndex

  • Short instruction for UI. For example “Exit 3A → AZ 202 Loop East”

    Declaration

    Objective-C

    @property (readonly) NSString *_Nullable shortInstruction;
  • Text for use in UI. For example “Take exit 3A onto AZ 202 Loop East.”.

    Declaration

    Objective-C

    @property (readonly) NSString *_Nullable transitionInstruction;
  • Text suitable for use as a verbal message immediately after the maneuver transition. For example “Continue for 1 kilometer.”.

    Declaration

    Objective-C

    @property (readonly) NSString *_Nullable verbalPostTransitionInstruction;
  • Text suitable for use as a verbal message immediately prior to the maneuver transition. For example “Take exit 3A onto Arizona 2 o2 Loop East.”.

    Declaration

    Objective-C

    @property (readonly) NSString *_Nullable verbalPreTransitionInstruction;
  • Text suitable for use as a verbal alert in a navigation application. The transition alert instruction will prepare the user for the forthcoming transition. For example: “Take exit 3A.”.

    Declaration

    Objective-C

    @property (readonly) NSString *_Nullable verbalTransitionInstruction;
  • Maneuver length in meters

    Declaration

    Objective-C

    @property (readonly) double length;
  • Estimated time along the maneuver in seconds.

    Declaration

    Objective-C

    @property (readonly) double time;