Compass Widget
fun CompassWidget(context: Context, position: WidgetPosition = WidgetPosition(
horizontal = WidgetPosition.Horizontal.RIGHT,
vertical = WidgetPosition.Vertical.TOP,
), marginX: Float = 20f, marginY: Float = 20f)
Content copied to clipboard
Parameters
marginX
horizontal margin in pixels
marginY
vertical margin in pixels
position
position of compass