GuidanceOptions

constructor(guidanceVersion: OnlineApiVersion = OnlineApiVersion.v2, language: Locale = Locale.ENGLISH, roadShieldReferences: RoadShieldReferences = RoadShieldReferences.None, phoneticsType: InstructionPhoneticsType = InstructionPhoneticsType.Ipa, extendedSections: ExtendedSections = ExtendedSections.None)

Specifies options related to instructions.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

guidanceVersion

The version of the guidance API to be used.

language

The language of instructions.

roadShieldReferences

Whether to include references to road shields in instructions.

phoneticsType

The format of instruction phonetic transcriptions.

extendedSections

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