Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

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

Open
imaginevinay opened this issue Jul 31, 2020 · 1 comment

Comments

@imaginevinay
Copy link

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

@yasmanycruz79
Copy link

I need this please

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants