SpeedLimitWidget

class SpeedLimitWidget : BitmapWidget

Widget to display a speed limit sign on the map.

Constructors

Link copied to clipboard
fun SpeedLimitWidget(initialSignFormat: SpeedLimitSign = SpeedLimitSign.MUTCD)

Functions

Link copied to clipboard
open override fun getPosition(): WidgetPosition
Link copied to clipboard
open override fun getRotation(): Float
Link copied to clipboard
open override fun setPosition(widgetPosition: WidgetPosition)
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(signFormat: SpeedLimitSign?, threshold: Int)
fun update(    speedLimit: Int?,     speed: Int,     signFormat: SpeedLimitSign?,     threshold: Int)
Link copied to clipboard
fun updateBitmap(bitmap: Bitmap)