MapboxSpeedInfoApi
class MapboxSpeedInfoApi
Mapbox implementation of for deriving the posted speed limit and current speed at users current location.
Parameters
processor
an instance of a SpeedLimitProcessor
Constructors
Functions
Link copied to clipboard
fun updatePostedAndCurrentSpeed(locationMatcherResult: LocationMatcherResult, distanceFormatterOptions: DistanceFormatterOptions, formatter: ValueFormatter<SpeedData, Int> = PostedAndCurrentSpeedFormatter()): SpeedInfoValue?
Evaluates LocationMatcherResult data to calculate the posted and user's current speed.