create Default2DPuck
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
with Bearing
if ture, the location puck will show an arrow bearing image, default is false.