Windows.Services.Maps Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Deprecated - see Remarks.] The Windows.Services.Maps namespace contains classes that provide ___location, routing, and geocoding services.
Classes
EnhancedWaypoint |
Represents a stop, start, or intermediate waypoint that a route must pass through. |
ManeuverWarning |
Represents a potential issue along a route leg. |
MapAddress |
[Deprecated - see Remarks.] Represents an address. |
MapLocation |
[Deprecated - see Remarks.] Represents a geographic ___location. |
MapLocationFinder |
[Deprecated - see Remarks.] Provides methods to convert addresses to geographic locations (geocoding) and to convert geographic locations to addresses (reverse geocoding). |
MapLocationFinderResult |
[Deprecated - see Remarks.] Returns the result of a MapLocationFinder query. |
MapManager |
[Deprecated - see Remarks.] Displays the UI that lets users download maps for offline use, or update maps that were previously downloaded. |
MapRoute |
[Deprecated - see Remarks.] Represents a path to be traveled between two or more waypoints. |
MapRouteDrivingOptions |
[Deprecated - see Remarks.] Represents advanced routing options. |
MapRouteFinder |
[Deprecated - see Remarks.] Gets a route. |
MapRouteFinderResult |
[Deprecated - see Remarks.] Returns the result of a MapRouteFinder query. |
MapRouteLeg |
[Deprecated - see Remarks.] Represents the set of actions (maneuvers) required to travel between two waypoints along a route. |
MapRouteManeuver |
[Deprecated - see Remarks.] Represents actions to be taken along the path of a route leg. |
MapService |
[Deprecated - see Remarks.] Communicates with the online map services. |
PlaceInfo |
Displays a map ___location and information that describes that ___location in a light-dismissible window which closes automatically when the user clicks outside of the window. |
PlaceInfoCreateOptions |
Represents the information about a map ___location that your app can show in a light-dismissible window within your app. |
Enums
ManeuverWarningKind |
Specifies the type of potential issue along a route leg. |
ManeuverWarningSeverity |
Specifies the severity of a potential issue along a route leg. |
MapLocationDesiredAccuracy |
[Deprecated - see Remarks.] Indicates the desired accuracy to use when converting latitude and longitude coordinates to a physical ___location like a city or address. |
MapLocationFinderStatus |
[Deprecated - see Remarks.] Returns the status of a MapLocationFinder query. This enumeration provides values for the Status property of a MapLocationFinderResult. |
MapManeuverNotices |
[Deprecated - see Remarks.] Provides additional information about a maneuver. This enumeration provides values for the ManeuverNotices property of a MapRouteManeuver. |
MapRouteFinderStatus |
[Deprecated - see Remarks.] Returns the status of a MapRouteFinder query. This enumeration provides values for the Status property of a MapRouteFinderResult. |
MapRouteManeuverKind |
[Deprecated - see Remarks.] Describes the various types of maneuvers that can occur in a route. This enumeration provides values for the Kind property of a MapRouteManeuver. |
MapRouteOptimization |
[Deprecated - see Remarks.] Specifies the optimizations applied to a route. This enumeration provides values for certain parameters of some overloads of the GetDrivingRouteAsync and GetDrivingRouteFromWaypointsAsync methods. |
MapRouteRestrictions |
[Deprecated - see Remarks.] Specifies the restrictions applied to a route. This enumeration provides values for certain parameters of some overloads of the GetDrivingRouteAsync and GetDrivingRouteFromWaypointsAsync methods. |
MapServiceDataUsagePreference |
Specifies whether to use online or offline map data. |
TrafficCongestion |
Specifies the level of traffic congestion along a map route or route leg. |
WaypointKind |
Specifies the type of waypoint. |
Remarks
Important
The UWP MapControl and Windows Maps platform APIs (Windows.Services.Maps.*) are deprecated and may not be available in future versions of Windows. For more information, see Resources for deprecated features.
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.