BingRouteDataProvider.CalculateRoutesFromMajorRoads(RouteWaypoint, String, Object) Method

Returns driving routes to a location from major roads in four directions (West, North, East and South).

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.2.dll


public void CalculateRoutesFromMajorRoads(
    RouteWaypoint destination,
    string culture,
    object userState
Public Sub CalculateRoutesFromMajorRoads(
    destination As RouteWaypoint,
    culture As String,
    userState As Object


Name Type Description
destination RouteWaypoint

A RouteWaypoint object specifying a destination point.

culture String

A String object specifying the name of the culture.

userState Object

A Object specifying a user state.


For more information about culture names, refer to the Supported Culture Codes topic.


This method can be used for routes in the United States, Canada and Mexico.

See Also