New to Telerik UI for WinForms? Start a free 30-day trial

Defines the asynchronous Bing Maps contract for calculating directions between route waypoints.

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 IMapRouteProvider

Methods

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

C#
void CalculateRouteAsync(RouteRequest request)
Parameters:requestRouteRequest

Route request.

Events

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

C#
event EventHandler<RoutingCompletedEventArgs> CalculateRouteCompleted

Occurs when the request results in an error.

C#
event EventHandler<CalculateRouteErrorEventArgs> CalculateRouteError