Mapbox Speed Limit Api
class MapboxSpeedLimitApi
Content copied to clipboard
A Mapbox implementation for formatting speed limit view related data.
Parameters
formatter
formats the speed limit data into a string for displaying in the UI
processor
an instance of a SpeedLimitProcessor
Constructors
MapboxSpeedLimitApi
Link copied to clipboard
fun MapboxSpeedLimitApi(formatter: ValueFormatter<UpdateSpeedLimitValue, String>)
Content copied to clipboard
Functions
updateSpeedLimit
Link copied to clipboard
fun updateSpeedLimit(speedLimit: SpeedLimit?): Expected<UpdateSpeedLimitError, UpdateSpeedLimitValue>
Content copied to clipboard
Properties
formatter
Link copied to clipboard