CompassWidget

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

marginX

horizontal margin in pixels

marginY

vertical margin in pixels