-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Routing #1312
Comments
I don't think |
Yes, the api url in the configuration could be the traccar backend. Right now it supports https://project-osrm.org/ and https://docs.mapbox.com/api/navigation/directions formats. Apparently doesn't support valhalla which I use and it's very good, but I'm sure it will in the future. |
The problem is also that it connects directly to the provider. Ideally it connects to Traccar backend. |
What do you mean? It connects to whatever url you put in the configuration, which like I said, could be the traccar backend. |
Then we would have to implement a very specific API format compatible with the library. |
Two popular open source routing engines are osrm and valhalla. And valhalla has an option to use osrm format, so it looks like a good choice. |
I second this, if it has to be proxied thorough traccar backend, OSRM API is probably the way to go. |
Is your feature request related to a problem? Please describe.
Converting #1293 to a feature request
Would be nice to have routing. I see two use cases:
Describe the solution you'd like
As stated by @jinzo, maplibre-gl-directions would be a good starting point.
The text was updated successfully, but these errors were encountered: