Version 2.1
Release Date: November 2025
Remove Google Distance Matrix API dependency
Previously when working on travel distance between locations the solution was using the Google Distance Matrix API to calculate the distance between two locations. Only the country of the location was used to calculate the distance, so the distance was from the centre of the country to the centre of the other country. This was done to avoid having to ask users for more detailed location information.
In version 2.1 the solution has been updated to remove the dependency on the Google Distance Matrix API and instead uses a built in distance calculation based on a predefined set of coordinates for each country. This means that the solution can now calculate distances between countries without needing to make API calls, which improves the performance and reliability of the solution.