MSFRoutingAction

Objective-C

enum MSFRoutingAction : NSInteger {}

Swift

enum MSFRoutingAction : Int, @unchecked Sendable

Routing action type.

  • Head on, start the route.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_HEAD_ON

    Swift

    case ROUTING_ACTION_HEAD_ON = 0
  • Finish the route.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_FINISH

    Swift

    case ROUTING_ACTION_FINISH = 1
  • Continue along the given street, do not turn.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_NO_TURN

    Swift

    case ROUTING_ACTION_NO_TURN = 2
  • Go straight.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_GO_STRAIGHT

    Swift

    case ROUTING_ACTION_GO_STRAIGHT = 3
  • Turn right.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_TURN_RIGHT

    Swift

    case ROUTING_ACTION_TURN_RIGHT = 4
  • Do an u-turn.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_UTURN

    Swift

    case ROUTING_ACTION_UTURN = 5
  • Turn left.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_TURN_LEFT

    Swift

    case ROUTING_ACTION_TURN_LEFT = 6
  • Reached given via point. If this is the final point, FINISH action is used instead.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_REACH_VIA_LOCATION

    Swift

    case ROUTING_ACTION_REACH_VIA_LOCATION = 7
  • Enter roundabout. Used by Valhalla and OSRM.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_ENTER_ROUNDABOUT

    Swift

    case ROUTING_ACTION_ENTER_ROUNDABOUT = 8
  • Leave roundabout. Used by Valhalla and OSRM.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_LEAVE_ROUNDABOUT

    Swift

    case ROUTING_ACTION_LEAVE_ROUNDABOUT = 9
  • Continue along the roundabout. Only used by OSRM.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_STAY_ON_ROUNDABOUT

    Swift

    case ROUTING_ACTION_STAY_ON_ROUNDABOUT = 10
  • Start at the end of the street. Currently used only by OSRM.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_START_AT_END_OF_STREET

    Swift

    case ROUTING_ACTION_START_AT_END_OF_STREET = 11
  • Enter street while moving against the allowed direction. Only used by OSRM.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_ENTER_AGAINST_ALLOWED_DIRECTION

    Swift

    case ROUTING_ACTION_ENTER_AGAINST_ALLOWED_DIRECTION = 12
  • Leave the street while moving aginst the allowed direction. Only used by OSRM.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_LEAVE_AGAINST_ALLOWED_DIRECTION

    Swift

    case ROUTING_ACTION_LEAVE_AGAINST_ALLOWED_DIRECTION = 13
  • Go up. Only used by the SGRE.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_GO_UP

    Swift

    case ROUTING_ACTION_GO_UP = 14
  • Go down. Only used by SGRE.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_GO_DOWN

    Swift

    case ROUTING_ACTION_GO_DOWN = 15
  • Wait. Only used by SGRE.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_WAIT

    Swift

    case ROUTING_ACTION_WAIT = 16
  • Enter ferry. Only used by Valhalla.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_ENTER_FERRY

    Swift

    case ROUTING_ACTION_ENTER_FERRY = 17
  • Leave ferry. Only used by Valhalla.

    Declaration

    Objective-C

    MSF_ROUTING_ACTION_LEAVE_FERRY

    Swift

    case ROUTING_ACTION_LEAVE_FERRY = 18