distancesTo

Computes and assigns the distance to the provided location from the current location of the resource for each resource. The distance is assigned to the resource's sectionCriteria attribute. This mutates elements of the list.

Parameters

location

the location