CompassWidget

class CompassWidget(context: Context, widgetPosition: WidgetPosition, marginLeft: Float, marginTop: Float, marginRight: Float, marginBottom: Float)

A widget to show the compass on the map.

Constructors

CompassWidget
Link copied to clipboard
fun CompassWidget(context: Context, widgetPosition: WidgetPosition = WidgetPosition.TOP_RIGHT, marginLeft: Float = 10f, marginTop: Float = 130f, marginRight: Float = 10f, marginBottom: Float = 10f)

Types

Companion
Link copied to clipboard
object Companion

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String
updateBearing
Link copied to clipboard
fun updateBearing(bearing: Float)
Update the compass bearing.