setCompassMargins

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

Sets the margins of the compass view in pixels. Use this to change the distance of the compass from the map view edge.

Parameters

left

The left margin in pixels.

top

The top margin in pixels.

right

The right margin in pixels.

bottom

The bottom margin in pixels.