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.
Properties
Icon Resource Id for FOLLOWING camera state.
Extended mode Text for FOLLOWING camera state.
Icon Image.
Icon Drawable Resource Id for OVERVIEW camera state.
Extended mode Text for OVERVIEW camera state.
TextView used to display text when expanded.
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.