CompassWidget

fun CompassWidget(context: Context, position: WidgetPosition = WidgetPosition( horizontal = WidgetPosition.Horizontal.RIGHT, vertical = WidgetPosition.Vertical.TOP, ), marginX: Float = 20f, marginY: Float = 20f)

Parameters

marginX

horizontal margin in pixels

marginY

vertical margin in pixels

position

position of compass