I am using leaflet and leaflet routing machine. I have one problem. If i have for example this two objects with these lat and lng
let obj1 = { lat: 43.5246