Skip to content

Instantly share code, notes, and snippets.

var distance2 = DISTANCE1.dashboarddistance( 18.5289, 73.8743, 18.558, 73.886,DISTANCE1.callbackFunction);
var finaldistnce= DISTANCE1.dashboarddistance(18.5289, 73.8743, 18.558, 73.886, function(err, distance) {
return distance
});
console.log(finaldistnce);// return null