Compartilhar via


MapsRoutingModelFactory.RouteGuidance Método

Definição

Inicializa uma nova instância de RouteGuidance.

public static Azure.Maps.Routing.Models.RouteGuidance RouteGuidance (System.Collections.Generic.IEnumerable<Azure.Maps.Routing.Models.RouteInstruction> instructions = default, System.Collections.Generic.IEnumerable<Azure.Maps.Routing.Models.RouteInstructionGroup> instructionGroups = default);
static member RouteGuidance : seq<Azure.Maps.Routing.Models.RouteInstruction> * seq<Azure.Maps.Routing.Models.RouteInstructionGroup> -> Azure.Maps.Routing.Models.RouteGuidance
Public Shared Function RouteGuidance (Optional instructions As IEnumerable(Of RouteInstruction) = Nothing, Optional instructionGroups As IEnumerable(Of RouteInstructionGroup) = Nothing) As RouteGuidance

Parâmetros

instructions
IEnumerable<RouteInstruction>

Uma lista de instruções que descrevem manobras.

instructionGroups
IEnumerable<RouteInstructionGroup>

Agrupa uma sequência de elementos de instrução relacionados entre si.

Retornos

Uma nova RouteGuidance instância para simulação.

Aplica-se a