MapControl.Routes MapControl.Routes MapControl.Routes MapControl.Routes Property

Definition

Gets the collection of MapRouteView objects displayed on the map.

public : IVector<MapRouteView> Routes { get; }
IVector<MapRouteView> Routes();
public IList<MapRouteView> Routes { get; }
Public ReadOnly Property Routes As IList<MapRouteView>

Property Value

IList<MapRouteView> IList<MapRouteView>

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.

See also