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

DefaultNavigationControls

Default UI controls provided by the navigator include lane guidance, speed limit information, next maneuver indication, etc. SDK users can also create their own UI controls and use the UI navigator model to receive event notifications while navigating a route.

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

Default UI controls provided by the navigator include lane guidance, speed limit information, next maneuver indication, etc. SDK users can also create their own UI controls and use the UI navigator model to receive event notifications while navigating a route.

Parameters
context
attrs
defStyle
Returns
Methods
Properties

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