audioGuidanceButton

Install component that connects MapboxAudioGuidanceButton to the default MapboxAudioGuidance instance.

The installed component:

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

  • updates button muted/un-muted state