setDistance

fun setDistance(distance: Double?)

Sets distanceInM and remainingDistanceInM if distance not null. This should be used for any case where distanceInM is set.