perliedman / leaflet-routing-machine

Control for routing in Leaflet
https://www.liedman.net/leaflet-routing-machine/
Other
1.08k stars 350 forks source link

Is there a way to get times before displaying the map? #530

Open ytske opened 5 years ago

ytske commented 5 years ago

Hello, I'm trying to get a time matrix for running a TSP and display only the final route. I've put opacity=0 in lineOptions but I'm quite sure it's a bit inefficient. I would want to get travel times without displaying routes on the map. Is it possible?