How to change driving directions metric system

To change the metric system open file includes\listing-drivingdirections.php locate this line

 

unitSystem: google.maps.UnitSystem.IMPERIAL,

Replace it with this

unitSystem: google.maps.UnitSystem.METRIC,