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

DefaultNavigationControls

Navigator UI controls suggested for default use: lane information, speed limit, next maneuver indication, etc. SDK users can also create their own UI controls and use the navigator UI model to get event notifications while navigating a route.

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

Navigator UI controls suggested for default use: lane information, speed limit, next maneuver indication, etc. SDK users can also create their own UI controls and use the navigator UI model to get event notifications while navigating a route.

Parameters
context
attrs
defStyle
Returns
Methods
Properties

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