Skip to main content

BingRouteDataProvider Members

Obsolete. The class that is used to send requests to the Bing Maps Route service.

Constructors

Name Description
BingRouteDataProvider() Initializes a new instance of the BingRouteDataProvider class with default settings.

Fields

Name Description
BingKeyProperty static Identifies the BingMapDataProviderBase.BingKey dependency property. Inherited from BingMapDataProviderBase.
ConnectionProtocolProperty static Identifies the BingMapDataProviderBase.ConnectionProtocol dependency property. Inherited from BingMapDataProviderBase.
CultureNameProperty static Identifies the InformationDataProviderBase.CultureName dependency property. Inherited from InformationDataProviderBase.
GenerateLayerItemsProperty static Identifies the InformationDataProviderBase.GenerateLayerItems dependency property. Inherited from InformationDataProviderBase.
MaxVisibleResultCountProperty static Identifies the InformationDataProviderBase.MaxVisibleResultCount dependency property. Inherited from InformationDataProviderBase.
ProcessMouseEventsProperty static Identifies the InformationDataProviderBase.ProcessMouseEvents dependency property. Inherited from InformationDataProviderBase.
RouteOptionsProperty static Identifies the BingRouteDataProvider.RouteOptions dependency property.
RouteStrokeProperty static Identifies the BingRouteDataProvider.RouteStroke dependency property.
RouteStrokeStyleProperty static Identifies the BingRouteDataProvider.RouteStrokeStyle dependency property.

Properties

Name Description
BingKey Get or sets the key that is required to connect to the Bing Maps data provider. Inherited from BingMapDataProviderBase.
ConnectionProtocol Gets or sets the value indicating the transfer protocol that the data provider uses to request data. Inherited from BingMapDataProviderBase.
CultureName Gets or sets the Culture name used to obtain data from the Bing GIS services. Inherited from InformationDataProviderBase.
GenerateLayerItems Gets or sets a value indicating whether it is necessary to automatically generate items for this layer. Inherited from InformationDataProviderBase.
IsBusy Inherited from WebInformationDataProvider<TEventArgs>.
MaxVisibleResultCount Specifies the number of requested results displayed. Inherited from InformationDataProviderBase.
ProcessMouseEvents Gets or sets a value indicating whether it is necessary to process mouse events by this data provider. Inherited from InformationDataProviderBase.
RouteOptions Provides access to the options that define how to calculate a route.
RouteStroke Gets or sets a brush to draw a route.
RouteStrokeStyle Gets or sets a stroke style to draw a route.

Methods

Name Description
CalculateRoute(List<RouteWaypoint>, Object) Calculates the most optimal route for the specified list of waypoints for the specified user state.
CalculateRoute(List<RouteWaypoint>, String, Object) Calculates the most optimal route for the specified list of waypoints for the specified user state.
CalculateRoute(List<RouteWaypoint>) Calculates the most optimal route for the specified list of waypoints.
CalculateRoutesFromMajorRoads(RouteWaypoint, Object) Returns driving routes to a location from major roads in four directions (West, North, East and South).
CalculateRoutesFromMajorRoads(RouteWaypoint, String, Object) Returns driving routes to a location from major roads in four directions (West, North, East and South).
CalculateRoutesFromMajorRoads(RouteWaypoint) Returns driving routes to a location from major roads in four directions (West, North, East and South).
Cancel() Inherited from WebInformationDataProvider<TEventArgs>.

Events

Name Description
LayerItemsGenerating Occurs when a data provider starts generating map items for a layer. Inherited from InformationDataProviderBase.
PropertyChanged Occurs every time any of the MapDependencyObject class properties has changed its value. Inherited from MapDependencyObject.
RouteCalculated Occurs when a route has been calculated.
WebRequest Occurs when the Map control sends a request to a web service. Inherited from WebInformationDataProvider<TEventArgs>.
See Also