setCompassMargins

abstract fun setCompassMargins(@Px() left: Int, @Px() top: Int, @Px() right: Int, @Px() bottom: Int)

Set the margins of the compass view.

Parameters

left

Margin to the left in pixel

top

Margin to the top in pixel

right

Margin to the right in pixel

bottom

Margin to the bottom in pixel