Widget

abstract class Widget

Base class for widgets displayed on top of the map.

Functions

Link copied to clipboard
abstract fun getPosition(): WidgetPosition

Get the current position of the widget.

Link copied to clipboard
abstract fun getRotation(): Float

Get absolute rotation of widget in degrees.

Link copied to clipboard
abstract fun setPosition(widgetPosition: WidgetPosition)

Update the widget to the new position.

Link copied to clipboard
abstract fun setRotation(angleDegrees: Float)

Set the absolute rotation of widget in degrees.

Inheritors

Link copied to clipboard