MapRouteLineTravelMode Enumeration

Specifies the name of the entry of MapRouteSegment, which determine appearance of line segment.

Android

public enum MapRouteLineTravelMode
{
    DRIVING(0),
    WALKING(1),
    TRANSIT(2)
}

iOS

typedef NS_ENUM(NSInteger, MSMapRouteLineTravelMode)
{
    MSMapRouteLineTravelModeDriving = 0,
    MSMapRouteLineTravelModeWalking = 1,
    MSMapRouteLineTravelModeTransit = 2
};

Values

Driving

The MapRouteLine will be displayed with driving line entry.

Walking

The MapRouteLine will be displayed in walking line entry.

Transit

The MapRouteLine will be displayed in transit line entry.

See Also