Share via


GuidanceNavigator.UpdateUserLocation Method

Definition

Overloads

UpdateUserLocation(Geocoordinate)

Updates navigational guidance, using the specified 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.

UpdateUserLocation(Geocoordinate, BasicGeoposition)

Updates navigational guidance, using the specified 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.

UpdateUserLocation(Geocoordinate)

Updates navigational guidance, using the specified 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:
 virtual void UpdateUserLocation(Geocoordinate ^ userLocation) = UpdateUserLocation;
/// [Windows.Foundation.Metadata.Overload("UpdateUserLocation")]
void UpdateUserLocation(Geocoordinate const& userLocation);
[Windows.Foundation.Metadata.Overload("UpdateUserLocation")]
public void UpdateUserLocation(Geocoordinate userLocation);
function updateUserLocation(userLocation)
Public Sub UpdateUserLocation (userLocation As Geocoordinate)

Parameters

userLocation
Geocoordinate

The user's current location.

Attributes

Remarks

To find the user's current location, use the Geolocator object in the Windows.Devices.Geolocation namespace. For more information, see Get current location.

See also

Applies to

UpdateUserLocation(Geocoordinate, BasicGeoposition)

Updates navigational guidance, using the specified 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:
 virtual void UpdateUserLocation(Geocoordinate ^ userLocation, BasicGeoposition positionOverride) = UpdateUserLocation;
/// [Windows.Foundation.Metadata.Overload("UpdateUserLocationWithPositionOverride")]
void UpdateUserLocation(Geocoordinate const& userLocation, BasicGeoposition const& positionOverride);
[Windows.Foundation.Metadata.Overload("UpdateUserLocationWithPositionOverride")]
public void UpdateUserLocation(Geocoordinate userLocation, BasicGeoposition positionOverride);
function updateUserLocation(userLocation, positionOverride)
Public Sub UpdateUserLocation (userLocation As Geocoordinate, positionOverride As BasicGeoposition)

Parameters

userLocation
Geocoordinate

The user's current location.

positionOverride
BasicGeoposition

The altitude, latitude, and longitude to use instead of what's specified in userLocation.

Attributes

Remarks

See the remarks in the UpdateUserLocation(Geocoordinate) overload of this method.

See also

Applies to