Compartilhar via


MapRouteFinder.GetWalkingRouteAsync(Geopoint, Geopoint) Método

Definição

Obtém uma rota de caminhada usando as coordenadas de início e término especificadas.

public:
 static IAsyncOperation<MapRouteFinderResult ^> ^ GetWalkingRouteAsync(Geopoint ^ startPoint, Geopoint ^ endPoint);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<MapRouteFinderResult> GetWalkingRouteAsync(Geopoint const& startPoint, Geopoint const& endPoint);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MapRouteFinderResult> GetWalkingRouteAsync(Geopoint startPoint, Geopoint endPoint);
function getWalkingRouteAsync(startPoint, endPoint)
Public Shared Function GetWalkingRouteAsync (startPoint As Geopoint, endPoint As Geopoint) As IAsyncOperation(Of MapRouteFinderResult)

Parâmetros

startPoint
Geopoint

O ponto de partida da rota de caminhada.

endPoint
Geopoint

O ponto final da rota de caminhada.

Retornos

Quando esse método for concluído com êxito, ele retornará uma rota de caminhada contida no MapRouteFinderResult.

Atributos

Aplica-se a

Confira também