Widget
abstract class Widget
Content copied to clipboard
Base class for widgets displayed on top of the map.
Functions
getPosition
Link copied to clipboard
Get the current position of the widget.
getRotation
Link copied to clipboard
Get absolute rotation of widget in degrees.
setPosition
Link copied to clipboard
Update the widget to the new position.
setRotation
Link copied to clipboard
Set the absolute rotation of widget in degrees.
setTranslation
Link copied to clipboard
Set the translation of the widget in pixels, relative to it's current position.