createDefault2DPuck

fun LocationComponentPlugin.createDefault2DPuck(context: Context, withBearing: Boolean = false): LocationPuck2D

Create a LocationPuck2D instance with or without an arrow bearing image.

Parameters

context

the context of application

withBearing

if ture, the location puck will show an arrow bearing image, default is false.