Compass Widget
fun CompassWidget(context: Context, position: WidgetPosition = WidgetPosition(
horizontal = WidgetPosition.Horizontal.RIGHT,
vertical = WidgetPosition.Vertical.TOP,
), marginX: Float = 20.0f, marginY: Float = 20.0f)
Parameters
position
position of compass
margin X
horizontal margin in pixels
margin Y
vertical margin in pixels