toggle menu
mapbox-navigation-android
androidJvm
switch theme
search in API
Android Auto Components
/
com.mapbox.navigation.ui.androidauto.navigation.speedlimit
/
SpeedLimitWidget
Speed
Limit
Widget
@
MapboxExperimental
class
SpeedLimitWidget
:
BitmapWidget
Widget to display a speed limit sign on the map.
Members
Constructors
Speed
Limit
Widget
Link copied to clipboard
constructor
(
initialSignFormat
:
SpeedLimitSign
=
SpeedLimitSign.MUTCD
)
Functions
get
Position
Link copied to clipboard
open
override
fun
getPosition
(
)
:
WidgetPosition
get
Rotation
Link copied to clipboard
open
override
fun
getRotation
(
)
:
Float
set
Position
Link copied to clipboard
open
override
fun
setPosition
(
widgetPosition
:
WidgetPosition
)
set
Rotation
Link copied to clipboard
open
override
fun
setRotation
(
angleDegrees
:
Float
)
update
Link copied to clipboard
fun
update
(
signFormat
:
SpeedLimitSign
?
,
threshold
:
Int
)
fun
update
(
speedLimit
:
Int
?
,
speed
:
Int
,
signFormat
:
SpeedLimitSign
?
,
threshold
:
Int
)
update
Bitmap
Link copied to clipboard
fun
updateBitmap
(
bitmap
:
Bitmap
)