// OSRM car engine // *** this should all be shared from an OSRM library somewhere // *** need to clear hints at some point OSM.RoutingEngines.list.push({ name: 'Car (OSRM)', draggable: true, _hints: {}, getRoute: function(final,points) { var url="http://router.project-osrm.org/viaroute?z=14&output=json"; for (var i=0; i