Share via


MapRouteFinderStatus Enum

Definition

Returns the status of a MapRouteFinder query. This enumeration provides values for the Status property of a MapRouteFinderResult.

public enum class MapRouteFinderStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MapRouteFinderStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MapRouteFinderStatus
Public Enum MapRouteFinderStatus
Inheritance
MapRouteFinderStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Success 0

The query was successful.

UnknownError 1

The query returned an unknown error.

InvalidCredentials 2

The query provided credentials that are not valid.

NoRouteFound 3

The query did not find a route.

NoRouteFoundWithGivenOptions 4

The query did not find a route with the specified options.

StartPointNotFound 5

The specified starting point is not valid in a route. For example, the point is in an ocean or a desert.

EndPointNotFound 6

The specified ending point is not valid in a route. For example, the point is in an ocean or a desert.

NoPedestrianRouteFound 7

The query did not find a pedestrian route.

NetworkFailure 8

The query encountered a network failure.

NotSupported 9

The query is not supported.

Remarks

Important

Bing Maps for Enterprise service retirement

The UWP MapControl and map services from the Windows.Services.Maps namespaces rely on Bing Maps. Bing Maps for Enterprise is deprecated and will be retired, at which point the MapControl and services will no longer receive data.

For more information, see the Bing Maps Developer Center and Bing Maps documentation.

Your 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.

Applies to

See also