NavigationCameraConfig

class NavigationCameraConfig

NavigationCamera component configuration class.

Properties

Link copied to clipboard
var navigationCamera: NavigationCamera? = null

Instance of NavigationCamera to use with this component.

Link copied to clipboard
var switchToIdleOnMapGesture: Boolean = false

Set if NavigationCamera should switch to NavigationCameraState.IDLE state whenever any map gesture input is registered.

Link copied to clipboard
var viewportDataSource: MapboxNavigationViewportDataSource? = null

Instance of MapboxNavigationViewportDataSource to use with the NavigationCamera. This value is ignored when navigationCamera is set.