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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
[Obsolete("This class relies on the Bing Maps Telerik provider. Microsoft is retiring Bing Maps, and support for this provider is being discontinued. Please migrate to AzureMapProvider. This class is scheduled for removal in 2028 Q3.")]
public interface IMapTruckRouteProvider

Derived Classes: BingRestMapProvider

Methods

Performs async routing request. Calculates a route between specified stops and returns route directions as well as other route data.

C#
void CalculateTruckRouteAsync(TruckRouteRequest request)
Parameters:requestTruckRouteRequest

Route request.

Events

Occurs when a route calculation request is completed and the result is ready.

C#
event EventHandler<RoutingCompletedEventArgs> CalculateTruckRouteCompleted

Occurs when the request results in an error.

C#
event EventHandler<CalculateRouteErrorEventArgs> CalculateTruckRouteError