Add configuration option to select the Unit System for the Directions panel (Metric (km) or Imperial (miles)).
When the simple directions API is called, if travel mode is not specified, it defaults to Driving. Instead, it should default to the plugin travelMode option (which defaults to Driving but can be set on page load).
Add configuration option to select the Unit System for the Directions panel (Metric (km) or Imperial (miles)).
When the simple directions API is called, if travel mode is not specified, it defaults to Driving. Instead, it should default to the plugin travelMode option (which defaults to Driving but can be set on page load).