LocationPuckConfig

class LocationPuckConfig

Location puck component configuration class.

Properties

Link copied to clipboard
var enableLocationUpdates: Boolean = true

Set whether the locationProvider should register as a MapboxNavigation LocationObserver.

Link copied to clipboard
var locationProvider: NavigationLocationProvider? = null

An instance of NavigationLocationProvider to use with this component.

Link copied to clipboard
var locationPuck: LocationPuck? = null

An instance of either LocationPuck2D or LocationPuck3D to use with this component.