f=(route.legs[i].end_location.lat()-route.legs[i].start_location.lat())/10 ; f1=(route.legs[i].end_location.lng()-route.legs[i].start_location.lng())/10;