createDefault2DPuck
fun LocationComponentPlugin.createDefault2DPuck(context: Context, withBearing: Boolean = false): LocationPuck2D
Content copied to clipboard
Create a LocationPuck2D instance with or without an arrow bearing image.
Parameters
context
the context of application
withBearing
if true, the location puck will show an arrow bearing image, default is false.