MapboxDistanceFormatter
class MapboxDistanceFormatter(val options: DistanceFormatterOptions) : DistanceFormatter
Content copied to clipboard
Implementation of DistanceFormatter, which can format distances in meters based on a language format and unit type.
Parameters
options
to build the MapboxDistanceFormatter
Constructors
Functions
Link copied to clipboard
Returns a formatted SpannableString with bold and size formatting. I.e., "10 mi", "350 m"