startLocation
property
LatLng - The start location.
LatLng - The start location.
LatLng - The end location.
String - The start location name.
String - The end location name.
Object - Distance information. Contains the following properties:
kilometers
(String) The distance represented in kilometers.meters
(Number) The distance represented in meters.miles
(String) The distance represented in miles.feet
(Number) The distance represented in feet.Object - Time information. Contains the following properties:
seconds
(Number) Duration, in seconds, necessary to cover the specified distance.hh_mm
(String) Duration, in hh:mm format, necessary to cover the specified distance.