ru.dgis.sdk.navigation.DefaultNavigationControls | Android SDK | 2GIS Documentation
Android SDK

DefaultNavigationControls

Navigator UI controls suggested for use by default: lane, speed limit, next maneuver designation, etc. SDK users can also create their own UI controls and use the navigator UI model to receive event notifications when guiding along a route.

DefaultNavigationControls(
	context: Context,
	attrs: AttributeSet? = null,
	defStyle: Int = 0
)

Navigator UI controls suggested for use by default: lane, speed limit, next maneuver designation, etc. SDK users can also create their own UI controls and use the navigator UI model to receive event notifications when guiding along a route.

Parameters
context
attrs
defStyle
Returns
Methods
Properties

The default state of the navigator. It is necessary to set the correct initial state of the controls. This property allows setting only until the control is displayed.