Open AdamTomaja opened 7 years ago
Google Maps Directions API requires an API key and is paid-for (with small free quota).
I did a small research. What I found is that OpenStreetMap uses GraphHopper, but it is paid, if cloud version is used. OpenSource on-premise version is available, but requires running own routing engine.
Another way to provide ability for route calculation could be expanding OpenStreetMap embedded map with route calculation:
This pull request implements a new feature for the map. When user clicks on vehicle, then the user location is obtained via geolocation api. The result is route from user to vehicle. Route is calculated via Google Directions service.