formatDistance

open override fun formatDistance(distance: Double): SpannableString

Returns a formatted SpannableString with bold and size formatting. I.e., "10 mi", "350 m", "1,494 mi"

Return

SpannableString representation which has a bolded number and units which have a relative size of .65 times the size of the number

Parameters

distance

in meters