GraphHopper.com | Forum | GitHub | Maps | Blog

Jsprit alogorithms to maps?


#1

Hello, recently interested in jsprit library and want to know how can i use the algorithms on live maps? Can jsprit algorithms work on Google Maps? or Do i have to create or use some different APIs to execute jsprit algorithm on maps?


#2

You can easily display any results on any map you like also e.g. on OpenStreetMap using leaflet or openlayers.

But to fetch the results via JavaScript you need a web API for jsprit and to display routes you’ll need a routing engine, which is both not part of jsprit (hint: find a solution for both problems on our website)


#3

We’re using a slightly old version of jsprit (to be updated soon), but ODL Studio is an open source desktop based system using jsprit and graphhopper, which has mapping and various other reporting tools built in. See http://www.opendoorlogistics.com/software/vehicle-routing-scheduling/ There’s a couple of videos demonstrating it on our youtube channel https://www.youtube.com/user/OpenDoorLogistics

We use OpenStreetMap map tiles for the background map.