mapbox.js icon indicating copy to clipboard operation
mapbox.js copied to clipboard

Display realtime traffic congestion on generated route just like google maps.

Open imaginevinay opened this issue 4 years ago • 1 comments

Hi there,

I am using leaflet routing machine with inbuilt mapbox router. I have a use case where I need to show realtime traffic data on the generated route just like google maps (blue,orange,red - color coding) just like below :

image

but what we are getting with leaflet routing machine is this :

image

I have read the mapbox.js navigation api where I am getting the congestion on the generated route however I am still unable to plot the polyline using that data along with the traffic data color coding.

If there is any way i can get the route with traffic congestion color coding just like google maps using MAPBOX it would be helpful.

Thanks

imaginevinay avatar Jul 31 '20 10:07 imaginevinay

I need this please

yasmanycruz79 avatar Apr 07 '22 20:04 yasmanycruz79