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

NavigationView

UI element that displays the state of navigation on the map.

Adding it to a MapView results in the display of a route, a geolocation marker, transport events, and camera tracking. Navigation controls can be placed inside NavigationView - inheritors of NavigationControl, in particular, ready-made to use the set of controls DefaultNavigationControls.

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

UI element that displays the state of navigation on the map.

Adding it to a MapView results in the display of a route, a geolocation marker, transport events, and camera tracking. Navigation controls can be placed inside NavigationView - inheritors of NavigationControl, in particular, ready-made to use the set of controls DefaultNavigationControls.

Parameters
context
attrs
defStyle
Returns
Methods
Properties