blazor-devexpress-dot-blazor-05f0e52e.md
Contains a route’s settings.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public class DxMapRoute :
DxComplexSettingsComponent<DxMapRoute, MapRouteModel>,
IModelProvider<ClientComponentCollectionModel<MapLocationModel>>
The DxMapRoute component denotes a route in the map. To create a route, follow the steps below:
DxMapRoute component in the DxMapRoutes collection.Walking or Driving.<DxMap Zoom="14"
Provider="MapProvider.Azure"
Width="950px"
Height="400px"
ControlsVisible="true" >
<DxMapApiKeys Azure="@MapApiKeyProvider.GetAzureProviderKey()" />
<DxMapRoutes>
<DxMapRoute Color="green" Weight="9" Mode="MapRouteMode.Walking" >
<DxMapRouteLocations>
<DxMapRouteLocation GeoPosition="St. Paul's Cathedral,London" />
<DxMapRouteLocation GeoPosition="Tate Modern,London" />
</DxMapRouteLocations>
</DxMapRoute>
<DxMapRoute Color="red" Weight="9" Mode="MapRouteMode.Driving" >
<DxMapRouteLocations>
<DxMapRouteLocation GeoPosition="St. Paul's Cathedral,London" />
<DxMapRouteLocation GeoPosition="Tate Modern,London" />
</DxMapRouteLocations>
</DxMapRoute>
</DxMapRoutes>
</DxMap>
Object ComponentBase DxSettingsComponent<DevExpress.Blazor.ClientComponents.Internal.MapRouteModel> DxComplexSettingsComponent<DxMapRoute, DevExpress.Blazor.ClientComponents.Internal.MapRouteModel> DxMapRoute
See Also