MapsRoutingModelFactory.RouteGuidance Method
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.
Initializes a new instance of 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
Parameters
- instructions
- IEnumerable<RouteInstruction>
A list of instructions describing maneuvers.
- instructionGroups
- IEnumerable<RouteInstructionGroup>
Groups a sequence of instruction elements which are related to each other.
Returns
A new RouteGuidance instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET