MapRouteView MapRouteView MapRouteView MapRouteView Class

Definition

Displays a MapRoute on a MapControl.

public : class MapRouteView : DependencyObject, IMapRouteViewpublic class MapRouteView : DependencyObject, IMapRouteViewPublic Class MapRouteView Inherits DependencyObject Implements IMapRouteView// This API is not available in Javascript.
Inheritance
MapRouteViewMapRouteViewMapRouteViewMapRouteView
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

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.

Constructors

MapRouteView(MapRoute) MapRouteView(MapRoute) MapRouteView(MapRoute) MapRouteView(MapRoute)

Initializes a new instance of the MapRouteView class with the specified MapRoute.

public : MapRouteView(MapRoute route)public MapRouteView(MapRoute route)Public Sub New(route As MapRoute)// This API is not available in Javascript.
Parameters
route
MapRoute MapRoute MapRoute MapRoute

The route to display on the map.

See Also

Properties

OutlineColor OutlineColor OutlineColor OutlineColor

Gets or sets the color of the outline of the route displayed in the MapRouteView.

public : Color OutlineColor { get; set; }public Color OutlineColor { get; set; }Public ReadWrite Property OutlineColor As Color// This API is not available in Javascript.
Value
Color Color Color Color

The color of the outline of the route displayed in the MapRouteView.

Remarks

By default, the fill color of the route does not have a colored outline.

See Also

Route Route Route Route

Gets the MapRoute displayed by the MapRouteView.

public : MapRoute Route { get; }public MapRoute Route { get; }Public ReadOnly Property Route As MapRoute// This API is not available in Javascript.
Value
MapRoute MapRoute MapRoute MapRoute

The MapRoute displayed by the MapRouteView.

See Also

RouteColor RouteColor RouteColor RouteColor

Gets or sets the color of the route displayed in the MapRouteView.

public : Color RouteColor { get; set; }public Color RouteColor { get; set; }Public ReadWrite Property RouteColor As Color// This API is not available in Javascript.
Value
Color Color Color Color

The color of the route displayed in the MapRouteView.

See Also

See Also