GuidanceOptions

constructor(guidanceVersion: OnlineApiVersion = OnlineApiVersion.v1, instructionType: InstructionType = InstructionType.Text, language: Locale = Locale.ENGLISH, roadShieldReferences: RoadShieldReferences = RoadShieldReferences.None, announcementPoints: AnnouncementPoints = AnnouncementPoints.None, phoneticsType: InstructionPhoneticsType = InstructionPhoneticsType.None, extendedSections: ExtendedSections = ExtendedSections.None, progressPoints: ProgressPoints = ProgressPoints.None)

Parameters

guidanceVersion

The version of the guidance API to be used.

instructionType

The format in which instructions are reported.

language

The language of instructions.

roadShieldReferences

Whether to include references to road shields in instructions.

announcementPoints

Whether to include announcement points in instructions.

phoneticsType

The format of instruction phonetic transcriptions.

extendedSections

Whether to include road shield, lane, and speed limit sections in the response. Note: All other section types are always included.

progressPoints

Whether to include distance and travel time points in the response.