Class RoutingProfile
Routing profile, affects how the route is calculated, prioritizing routes that fit the profile the best.
Inheritance
System.Object
RoutingProfile
Namespace:Mapbox.Directions
Assembly:Mapbox.Directions.dll
Syntax
public sealed class RoutingProfile : object
Fields
Cycling
The cycling profile.
Declaration
public static readonly RoutingProfile Cycling
Field Value
Type | Description |
---|---|
RoutingProfile |
Driving
The driving profile.
Declaration
public static readonly RoutingProfile Driving
Field Value
Type | Description |
---|---|
RoutingProfile |
Walking
The walking profile.
Declaration
public static readonly RoutingProfile Walking
Field Value
Type | Description |
---|---|
RoutingProfile |
Methods
ToString()
Converts the profile to a URL snippet.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string to be appened to the direction query URL. |