Open gaiousantonio0909 opened 1 year ago
can you provide us format of you url at least that will help us to provide generic api
you create your custom OSRMManager like this
class YourOwnOSRMManager extends OSRMManager {
@override
String generatePath(String server, String waypoints, {Profile profile = Profile.route, RoadType roadType = RoadType.car, bool steps = true, Overview overview = Overview.full, Geometries geometries = Geometries.polyline}) {
// Custom logic
return "your new URL";
}
}
I have my own OSRM backend Im using flutter to implement it using my own OSRM run on docker