Compass Settings
data class CompassSettings @JvmOverloads() constructor(enabled: Boolean, position: Int, marginLeft: Float, marginTop: Float, marginRight: Float, marginBottom: Float, opacity: Float, rotation: Float, visibility: Boolean, fadeWhenFacingNorth: Boolean, clickable: Boolean, image: Drawable?)
Content copied to clipboard
Shows the compass on the map.
Constructors
CompassSettings
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Functions
component1
Link copied to clipboard
component10
Link copied to clipboard
component11
Link copied to clipboard
component12
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
component7
Link copied to clipboard
component8
Link copied to clipboard
component9
Link copied to clipboard
copy
Link copied to clipboard
fun copy(enabled: Boolean = true, position: Int = Gravity.TOP or Gravity.END, marginLeft: Float = 4f, marginTop: Float = 4f, marginRight: Float = 4f, marginBottom: Float = 4f, opacity: Float = 1f, rotation: Float = 0f, visibility: Boolean = true, fadeWhenFacingNorth: Boolean = true, clickable: Boolean = true, image: Drawable? = null): CompassSettings
Content copied to clipboard
Properties
fadeWhenFacingNorth
Link copied to clipboard
Whether the compass fades out to invisible when facing north direction.
marginBottom
Link copied to clipboard
Defines the margin to the bottom that the compass icon honors.
marginLeft
Link copied to clipboard
Defines the margin to the left that the compass icon honors.
marginRight
Link copied to clipboard
Defines the margin to the right that the compass icon honors.
visibility
Link copied to clipboard
Whether the compass is displayed.