MapboxCameraModeButton
Default button that allows user to toggle between Camera Following and Overview mode.
Constructors
Default button that allows user to toggle between Camera Following and Overview mode.
Default button that allows user to toggle between Camera Following and Overview mode.
Default button that allows user to toggle between Camera Following and Overview mode.
Default button that allows user to toggle between Camera Following and Overview mode.
Functions
Update this button to represent new camera state. This method does nothing if button is already in given state.
Update this button to represent new camera state. Extend button for the duration and show followingText or overviewText. This method does nothing if button is already in given state.
Allows you to change the style of MapboxCameraModeButton.