New to Telerik UI for WPFStart a free 30-day trial

Contains properties used to refine a Bing route service request.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
[Obsolete("This class is obsolete and will be deleted in Q2 2026.")]
public class BingRestRouteOptions

Inheritance: objectBingRestRouteOptions

Constructors

Initializes a new instance of the BingRestRouteOptions class.

C#
public BingRestRouteOptions()

Properties

Gets or sets type of directions to return. The default value is BingRestTravelMode.Driving.

C#
public BingRestTravelMode Mode { get; set; }

Gets or sets the calculation method to use. The default value is BingRestRouteOptimization.MinimizeTime.

C#
public BingRestRouteOptimization Optimization { get; set; }

Gets or sets whether to include or exclude parts of the routes response. The default value is BingRestRouteAttributes.ExcludeItinerary.

C#
public BingRestRouteAttributes RouteAttributes { get; set; }

Gets or sets value specifying that certain road types can be avoided or minimized. The default value is BingRestRouteAvoidance.None.

C#
public BingRestRouteAvoidance RouteAvoidance { get; set; }