Hello, I have a table with more than 100 students from a rural area who are picked up from home and brought to school in 20 tours. I would now like to see a route displayed on a map, each ordered by tour number, e.g. Tour 1 with 8 children, route from child 1 to 8 displayed on the map…
All children in the table have a column for the tour number, the pick-up time (order) and the address.
Is there a solution?
I don’t think this would be possible using native components.
Your best bet would be using Mapbox Directions API, store each route as a JSON array with your coordinates, then construct a HTML string to embed the map.
2 Likes