GuidanceMapMatchedCoordinate
GuidanceMapMatchedCoordinate
GuidanceMapMatchedCoordinate
GuidanceMapMatchedCoordinate
Class
Definition
Describes the navigational conditions at the user's 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 : sealed class GuidanceMapMatchedCoordinate : IGuidanceMapMatchedCoordinatepublic sealed class GuidanceMapMatchedCoordinate : IGuidanceMapMatchedCoordinatePublic NotInheritable Class GuidanceMapMatchedCoordinate Implements IGuidanceMapMatchedCoordinate// This API is not available in Javascript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Services.Maps.GuidanceContract (introduced v1)
|
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.
Properties
CurrentHeading CurrentHeading CurrentHeading CurrentHeading
Gets a value that indicates the current heading in degrees, where 0 or 360 = North, 90 = East, 180 = South, and 270 = West.
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 : double CurrentHeading { get; }public double CurrentHeading { get; }Public ReadOnly Property CurrentHeading As double// This API is not available in Javascript.
- Value
- double double double double
The current heading in degrees, where 0 or 360 = North, 90 = East, 180 = South, and 270 = West.
CurrentSpeed CurrentSpeed CurrentSpeed CurrentSpeed
Gets a value that indicates the current speed, in meters per second.
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 : double CurrentSpeed { get; }public double CurrentSpeed { get; }Public ReadOnly Property CurrentSpeed As double// This API is not available in Javascript.
- Value
- double double double double
The current speed, in meters per second.
IsOnStreet IsOnStreet IsOnStreet IsOnStreet
Gets a value that indicates if the current location is on a street.
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 : PlatForm::Boolean IsOnStreet { get; }public bool IsOnStreet { get; }Public ReadOnly Property IsOnStreet As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if the current location is on a street; otherwise, false.
Location Location Location Location
Gets the current geographic 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 : Geopoint Location { get; }public Geopoint Location { get; }Public ReadOnly Property Location As Geopoint// This API is not available in Javascript.
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.
Road Road Road Road
Gets a value that describes the road 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 : GuidanceRoadSegment Road { get; }public GuidanceRoadSegment Road { get; }Public ReadOnly Property Road As GuidanceRoadSegment// This API is not available in Javascript.
A value that describes the road at the current location.