I have created a heatmap in leaflet.js using heatmap.js that displays interpolated values for particulate matter in a city.
Now I would like to set up a Routing Service that finds the cleanest route between two points. I was hoping to use Leaflet Routing Machine with custom weights but doesn't seem to be possible.
I am new to OSRM and routing in general and would like some pointers as I have no idea how to start this.
Thank you in advance.