distance
Computes the distance between fromElement and toElement based on the spatial model's distance metric
Return
the distance between the two elements
Computes the distance between fromLocation and toLocation based on the spatial model's distance metric
Return
the distance between the two locations