Replies: 2 comments 4 replies
-
What routing API do you use? |
Beta Was this translation helpful? Give feedback.
-
Ok so I can confirm OSRM is used by default, I just check with the browser debug tool and there are calls to this URL : https://router.project-osrm.org/route/v1/driving/ And so yes I agree, it works well out of the box ^^ Next step for me, find a way to create my own routing system (maybe use something like https://github.com/pgRouting/osm2pgrouting). Is there anything specific you can do to tell the plugin which API to use? |
Beta Was this translation helpful? Give feedback.
-
Hello!
First of all, sorry for this (maybe) dumb question, but I'm kind of new in the OSM world and there is a lot to handle ^^
I created a substract of a map with Osm2pgsql and serve it with pg_tileserv. Everything's great and now I want to use maplibre-gl-directions to simulate routes. But something strange is happening, if I try to simulate a route between two point and even if the road doesn't exist in my DB, it will still go on an invisible roads.
How is that possible ? It seems to follow a correct path but I didn't generate those roads.
Beta Was this translation helpful? Give feedback.
All reactions