If you search in community you will get how to calculate distance between the two places using one static geo location and user geo location
Guide:
Extension: