MapRouteLineState Enumeration

Specifies the name of the state of MapRouteLine, which determine appearance of route line.

Android

public enum MapRouteLineState
{
    UNSPECIFIED(0),
    ACTIVE(1),
    ALTERNATIVE(2)
}

iOS

typedef NS_ENUM(NSInteger, MSMapRouteLineState)
{
    MSMapRouteLineStateUnspecified = 0,
    MSMapRouteLineStateActive = 1,
    MSMapRouteLineStateAlternative = 2
};

Values

Unspecified

The MapRouteLine will be displayed with default route line state.

Active

The MapRouteLine will be displayed with active route line state.

Alternative

The MapRouteLine will be displayed with alternative route line state.

See Also