Distance between my actual position and a marker Mapbox

I managed to get my actual location with Leaflet, is there a way to get the path between my location and a marker i select with mapbox ?