DashboardButtonSettings | iOS SDK | 2GIS Documentation
iOS SDK

DashboardButtonSettings

Settings for a button in the bottom panel of the NavigationView.

Properties

Button visibility.

Icon. By default, the icon for adding road events is used.

(() -> ())?

Callback function that is called when a button is pressed. By default, the function for creating road events is set.

Default settings for a button in the bottom panel.