function “Find the closest locations"