skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TruckRouteOptions

Inheritance
System.Object
TruckRouteOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI.Map.Bing
Assembly: Telerik.WinControls.RadMap.dll

Syntax

public class TruckRouteOptions

Constructors

TruckRouteOptions()

Declaration
public TruckRouteOptions()

Properties

Avoid

Specifies the road types to minimize or avoid when a route is created for the driving travel mode.

Declaration
public TruckRouteAvoidance? Avoid { get; set; }
Property Value
System.Nullable<TruckRouteAvoidance>

BorderRestrictions

Specifies the border crossing preference with respect to countries, dependent territories, special areas of geographical interest, states, subdivision, or provinces

Declaration
public TruckRouteBorderRestrictions BorderRestrictions { get; set; }
Property Value
TruckRouteBorderRestrictions

DateTime

When specified and the route is optimized for timeWithTraffic, predictive traffic data is used to calculate the best route for the specified date time of departure.

Declaration
public DateTime? DateTime { get; set; }
Property Value
System.Nullable<System.DateTime>

DistanceBeforeFirstTurn

Specifies the distance before the first turn is allowed in the route. An integer distance specified in meters. Use this parameter to make sure that the moving vehicle has enough distance to make the first turn.

Declaration
public int DistanceBeforeFirstTurn { get; set; }
Property Value
System.Int32

DistanceUnit

The units to use for distance in the response.

Declaration
public DistanceUnit? DistanceUnit { get; set; }
Property Value
System.Nullable<DistanceUnit>

Heading

Specifies the initial heading for the route. An integer value between 0 and 359 that represents degrees from north where north is 0 degrees and the heading is specified clockwise from north. For example, setting the heading of 270 degrees creates a route that initially heads west.

Declaration
public int Heading { get; set; }
Property Value
System.Int32

Optimize

Specifies what parameters to use to optimize the route

Declaration
public TruckRouteOptimization? Optimize { get; set; }
Property Value
System.Nullable<TruckRouteOptimization>

OptimizeWaypoints

Instructs the API to rearrange the route waypoints and reduce the route cost specified with the optimize parameter. The route first waypoint and last waypoint order is not changed, their position is considered fixed.

Declaration
public bool? OptimizeWaypoints { get; set; }
Property Value
System.Nullable<System.Boolean>

RouteAttributes

Specify to include or exclude parts of the routes response.

Declaration
public TruckRouteAttributes? RouteAttributes { get; set; }
Property Value
System.Nullable<TruckRouteAttributes>

Tolerances

A set of double values. Each value specifies a tolerance that is used to reduce the number of points needed to display a route on a map and still maintain the route shape. If a point is removed and the new route still falls within the specified tolerance of the old route, then the point is not included in the subset of points returned for that tolerance.

Declaration
public double[] Tolerances { get; set; }
Property Value
System.Double[]

VehicleSpec

The attributes that describe a vehicle.

Declaration
public VehicleSpec VehicleSpec { get; set; }
Property Value
VehicleSpec

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.