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

DefaultNavigationControls

Navigator UI controls suggested for default use: lane information, speed limit, indication of the next maneuver, 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, indication of the next maneuver, 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 can be set only until the control is displayed.