Builder

class Builder(context: Context)

Builder of LocationPuckOptions

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun activeNavigationPuck(activeNavigationPuck: LocationPuck): LocationPuckOptions.Builder

Apply LocationPuck2D or LocationPuck3D to location puck in active navigation state when in the NavigationCameraState.FOLLOWING

Link copied to clipboard
fun arrivalPuck(arrivalPuck: LocationPuck): LocationPuckOptions.Builder

Apply LocationPuck2D or LocationPuck3D to location puck in arrival state when in the NavigationCameraState.FOLLOWING

Link copied to clipboard

Build a new instance of LocationPuckOptions

Link copied to clipboard
fun defaultPuck(defaultPuck: LocationPuck): LocationPuckOptions.Builder

Apply the same LocationPuck2D or LocationPuck3D to location puck for all navigation states and any NavigationCameraState

Link copied to clipboard
fun destinationPreviewPuck(destinationPreviewPuck: LocationPuck): LocationPuckOptions.Builder

Apply LocationPuck2D or LocationPuck3D to location puck in destination preview state when in the NavigationCameraState.FOLLOWING

Link copied to clipboard
fun freeDrivePuck(freeDrivePuck: LocationPuck): LocationPuckOptions.Builder

Apply LocationPuck2D or LocationPuck3D to location puck in free drive state when in the NavigationCameraState.FOLLOWING

Link copied to clipboard
fun idlePuck(idlePuck: LocationPuck): LocationPuckOptions.Builder

Apply LocationPuck2D or LocationPuck3D to location puck for all navigation states when in the NavigationCameraState.IDLE or the NavigationCameraState.OVERVIEW.

Link copied to clipboard
fun routePreviewPuck(routePreviewPuck: LocationPuck): LocationPuckOptions.Builder

Apply LocationPuck2D or LocationPuck3D to location puck in route preview state when in the NavigationCameraState.FOLLOWING