VoiceInstructionsPrefetcher

constructor(speechApi: MapboxSpeechApi)

Creates [VoiceInstructionsPrefetcher.

Parameters

speechApi

MapboxSpeechApi instances that's used to generate instructions