Open MenasriaMohamed opened 1 year ago
You should be able to call the route function on your control and then access the _routes property to get the routes.
Something like this should work
control.route();
const routes = control._routes;
const coordinates = control.getWaypoints();
Hi there, I want the route to be rendered and get the coordinates without drawing anything on the map ( without "AddtoMap") ,Is that possible??