GuidanceUpdatedEventArgs.CurrentLocation Property
Definition
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.
Gets the navigational conditions at the current location.
Note
This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.Guidance namespace, please work with your Microsoft Account Team representative.
public:
property GuidanceMapMatchedCoordinate ^ CurrentLocation { GuidanceMapMatchedCoordinate ^ get(); };
GuidanceMapMatchedCoordinate CurrentLocation();
public GuidanceMapMatchedCoordinate CurrentLocation { get; }
var guidanceMapMatchedCoordinate = guidanceUpdatedEventArgs.currentLocation;
Public ReadOnly Property CurrentLocation As GuidanceMapMatchedCoordinate
Property Value
The navigational conditions at the current location.
Remarks
During a guidance update, the geographic location returned by GuidanceUpdatedEventArgs corresponds to the nearest point on the route near the user's actual geographic location. This helps compensate for GPS inaccuracies. If the route is not nearby, a point on the nearest road will be used. For example, if the user misses a turn.