Routes

DevExpress Blazor Map component allows you to calculate and display a route between two or more map locations. Driving and walking route modes are available.

To create a route, you must:

  1. Add a DxMapRoute object to the route collection and specify the route mode.
  2. Use a DxMapRouteLocations component to create a list of map locations.
  3. Optional. Customize route color, weight, and transparency.

This demo uses drop-down menus to change route mode and color.