mapbox.js
mapbox.js copied to clipboard
Display realtime traffic congestion on generated route just like google maps.
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 :
but what we are getting with leaflet routing machine is this :
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
I need this please