Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.71 KB

maproute.md

File metadata and controls

35 lines (24 loc) · 1.71 KB
-api-id -api-type
T:Windows.Services.Maps.MapRoute
winrt class

Windows.Services.Maps.MapRoute

-description

Represents a path to be traveled between two or more waypoints.

-remarks

A MapRoute object is returned through the Route property of the MapRouteFinderResult when you call the methods of the MapRouteFinder class.

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

Your Universal Windows app must be authenticated before it can use the MapControl and map services in the Windows.Services.Maps namespace. To authenticate your app, you must specify a maps authentication key.

See Request a maps authentication key.

Version history

Windows version SDK version Value added
1703 15063 DurationWithoutTraffic
1703 15063 TrafficCongestion
1709 16299 IsScenic

-examples

-see-also

Display routes and directions on a map