TravelMode Enumeration

TravelMode Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Specifies the mode of travel.

Namespace:  Microsoft.Phone.Maps.Services
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

No code example is currently available or this language may not be supported.

Member nameDescription
DrivingSpecifies that driving is the mode of travel.
WalkingSpecifies that walking is the mode of travel.

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_MAP

Windows Phone 8

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft