Route and travel time calculator
License
—
Deps
4
Install Size
—
Vulns
✓ 0
Published
Mar 26, 2025
$ dotnet add package TurtleRouteThis is a project that supports the map functionalities in Dime.Scheduler. Most notably, the geocoding service is essential to the performance of the map as it eliminates the need for ad-hoc geocoding.
Use the package manager NuGet to install the package:
dotnet add package TurtleRoute
using TurtleRoute;
Geocoder api = new("MYTOKEN");
GeoCoordinate? address = await api.GeocodeAsync("Katwilgweg", "2", "2050", "Antwerpen", "", "BE");
Router api = new(_token);
GeoCoordinate start = new(51.219501, 4.359231);
GeoCoordinate end = new(51.214625, 4.382112);
Route route = await api.GetDirectionsAsync(start, end);
Pull requests are welcome. Please check out the contribution and code of conduct guidelines.