setCompassGravity

open fun setCompassGravity(gravity: Int)

Sets the gravity of the compass view. Use this to change the corner of the map view that the compass is displayed in.

By default, the compass is in the top right corner.

Parameters

gravity

Android SDK Gravity.