SpeedLimitWidget

class SpeedLimitWidget(    position: WidgetPosition = WidgetPosition( vertical = WidgetPosition.Vertical.BOTTOM, horizontal = WidgetPosition.Horizontal.RIGHT, ),     marginX: Float = 26.0f,     marginY: Float = 50.0f) : BitmapWidget

Widget to display a speed limit sign on the map.

Constructors

Link copied to clipboard
fun SpeedLimitWidget(    position: WidgetPosition = WidgetPosition( vertical = WidgetPosition.Vertical.BOTTOM, horizontal = WidgetPosition.Horizontal.RIGHT, ),     marginX: Float = 26.0f,     marginY: Float = 50.0f)

Functions

Link copied to clipboard
open override fun setRotation(angleDegrees: Float)
Link copied to clipboard
open override fun setTranslation(translationX: Float, translationY: Float)
Link copied to clipboard
fun update(speedLimit: Int?, speed: Int)
Link copied to clipboard
fun updateBitmap(bitmap: Bitmap)