Class BingRestRouteOptions
Contains properties used to refine a Bing route service request.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class BingRestRouteOptions : Object
Constructors
BingRestRouteOptions()
Initializes a new instance of the BingRestRouteOptions class.
Declaration
public BingRestRouteOptions()
Properties
Mode
Gets or sets type of directions to return. The default value is BingRestTravelMode.Driving.
Declaration
public BingRestTravelMode Mode { get; set; }
Property Value
BingRestTravelMode
|
Optimization
Gets or sets the calculation method to use. The default value is BingRestRouteOptimization.MinimizeTime.
Declaration
public BingRestRouteOptimization Optimization { get; set; }
Property Value
BingRestRouteOptimization
|
RouteAttributes
Gets or sets whether to include or exclude parts of the routes response. The default value is BingRestRouteAttributes.ExcludeItinerary.
Declaration
public BingRestRouteAttributes RouteAttributes { get; set; }
Property Value
BingRestRouteAttributes
|
RouteAvoidance
Gets or sets value specifying that certain road types can be avoided or minimized. The default value is BingRestRouteAvoidance.None.
Declaration
public BingRestRouteAvoidance RouteAvoidance { get; set; }
Property Value
BingRestRouteAvoidance
|