getDistance

external fun getDistance(index: Int): Float

Get the distance in meters from the item to the reference coordinate

Return

distance to the item specified by index, or 0.0 if the index is not in the range 0 to (size()-1).

Parameters

index

Index of the item.