Callback function for requests expecting a Distances object.

Syntax

function(<Distances> distances)