RouteOptimization Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Represents the optimizations in the route.
Namespace: Microsoft.Phone.Maps.Services
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
Syntax
Public Enumeration RouteOptimization
public enum RouteOptimization
Members
Member name | Description | |
---|---|---|
MinimizeTime | Specifies that the route is optimized by minimizing the time. | |
MinimizeDistance | Specifies that the route is optimized by minimizing the distance. |
Remarks
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0