LocationPuckOptions

class LocationPuckOptions

Gives options to specify either LocationPuck2D or LocationPuck3D references to the location puck to be displayed on top of map view in each of different navigation states.

If you want to use the same puck for all different navigation states you can invoke defaultPuck() on the Builder and that would be used for pucks in all navigation states.

Parameters

context

from which to reference puck drawables

freeDrivePuck

stores the puck appearance to be displayed in free drive state

destinationPreviewPuck

stores the puck appearance to be displayed in destination preview state

routePreviewPuck

stores the puck appearance to be displayed in route preview state

activeNavigationPuck

stores the puck appearance to be displayed in active navigation state

arrivalPuck

stores the puck appearance to be displayed in arrival state

Types

Link copied to clipboard
class Builder(context: Context)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
fun toBuilder(): LocationPuckOptions.Builder
Link copied to clipboard
open override fun toString(): String

Regenerate whenever a change is made

Properties

Link copied to clipboard
val activeNavigationPuck: LocationPuck
Link copied to clipboard
val arrivalPuck: LocationPuck
Link copied to clipboard
val context: Context
Link copied to clipboard
val destinationPreviewPuck: LocationPuck
Link copied to clipboard
val freeDrivePuck: LocationPuck
Link copied to clipboard
val routePreviewPuck: LocationPuck