Microsoft.Phone.Maps.Services Namespace

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The Microsoft.Phone.Maps.Services namespace contains classes that provide location services to map control.

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.

Classes

  Class Description
GeocodeQuery Represents a geocode query object.
LocationInformation Contains the location information.
MapAddress Contains the address information.
MapLocation Represents the location information.
Query<(Of <(T>)>) Represents a collection of query requests.
QueryCompletedEventArgs<(Of <(T>)>) Provides data for the QueryCompleted event.
ReverseGeocodeQuery Represents the reverse geocode query object.
Route Represents a path to be traveled between two or more waypoints.
RouteLeg Represents the set of actions necessary to travel between two waypoints along a route.
RouteManeuver Represents actions to be taken along the path of a route leg.
RouteQuery Represents a route query object.
TrafficCircleRouteManeuver Represents a traffic circle in a route maneuver.

Interfaces

  Interface Description
IRoutePath Represents a logical path between several points.

Enumerations

  Enumeration Description
RouteManeuverInstructionKind Contains the various types of maneuvers in a route.
RouteOptimization Represents the optimizations in the route.
TravelMode Specifies the mode of travel.