MapsSettings Class

July 28, 2014

Contains global map configuration settings.

System.Object
  Microsoft.Phone.Maps.MapsSettings

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

public static class MapsSettings

The MapsSettings type exposes the following members.

  NameDescription
Public propertyStatic memberApplicationContextGets the application context.
Public propertyStatic memberIsMapsDisabledGets a value that indicated whether Maps feature is disabled on this device.
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Show:
© 2014 Microsoft