getDistanceFormattedText

fun getDistanceFormattedText(context: Context, distance: Double): String

Returns the formatted text for the given distance

Parameters

context

the context used

distance

the distance in meters