Initial PR, mostly so you can review the overall structure. The code wasn't cleaned yet and there are still a few open bugs related to displaying full routes for some reason but seems to kinda work for the most part.
Route optimization - graphhopper limits up to 5 locations (== max 2 people in a drive) per drive after trial ends, either we open multiple accounts only for the duration of the submission or we need to come up with some logic for that lol.
Initial PR, mostly so you can review the overall structure. The code wasn't cleaned yet and there are still a few open bugs related to displaying full routes for some reason but seems to kinda work for the most part.
some urls for future reference: https://github.com/perliedman/leaflet-routing-machine/blob/gh-pages/index.js#L16 https://github.com/perliedman/leaflet-routing-machine/issues/13 https://leafletjs.com/reference.html#icon