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

Contains values that represent route calculation methods.

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 enum BingRestRouteOptimization

Fields

The route is calculated to minimize the total distance. Traffic information is not used.

C#
Distance = 0

The route is calculated to minimize the total time. Traffic information is not used.

C#
Time = 1

The route is calculated to minimize the time and avoid road closures. Traffic information is not used.

C#
TimeAvoidClosure = 3

The route is calculated to minimize the time and uses current traffic information.

C#
TimeWithTraffic = 2