SpeedLimitWidget

class SpeedLimitWidget(    widgetPosition: WidgetPosition = WidgetPosition.BOTTOM_RIGHT,     marginLeft: Float = 10.0f,     marginTop: Float = 10.0f,     marginRight: Float = 10.0f,     marginBottom: Float = 50.0f)

Widget to display a speed limit sign on the map.

Constructors

Link copied to clipboard
fun SpeedLimitWidget(    widgetPosition: WidgetPosition = WidgetPosition.BOTTOM_RIGHT,     marginLeft: Float = 10.0f,     marginTop: Float = 10.0f,     marginRight: Float = 10.0f,     marginBottom: Float = 50.0f)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun clear()

Resetting this will force a new call to viewWidgetHost.updateBitmap

Link copied to clipboard
fun setEdgeInsets(edgeInsets: EdgeInsets)
Link copied to clipboard
fun update(speedLimit: Int?, speed: Int)