audioGuidanceButton

Install component that connects MapboxAudioGuidanceButton to the default MapboxAudioGuidance instance.

The installed component:

  • handles button onClick events and mutes/un-mutes voice instructions playback

  • updates button muted/un-muted state