Jaa


MapControl.Routes Property

Definition

Gets the collection of MapRouteView objects displayed on the map.

public:
 property IVector<MapRouteView ^> ^ Routes { IVector<MapRouteView ^> ^ get(); };
IVector<MapRouteView> Routes();
public IList<MapRouteView> Routes { get; }
var iVector = mapControl.routes;
Public ReadOnly Property Routes As IList(Of MapRouteView)

Property Value

The collection of MapRouteView objects displayed on the map.

Remarks

To display a route on a map, construct a MapRouteView with the MapRoute and add the MapRouteView to the Routes collection of the MapControl.

Applies to

See also