Delen via


MapLocationDesiredAccuracy Enum

Definition

Indicates the desired accuracy to use when converting latitude and longitude coordinates to a physical location like a city or address.

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

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Name Value Description
High 0

Leverage the underlying REST API call to get richer and more accurate results.

Low 1

Leverage the maps disk cache to get accurate info up to the city level.

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