startLocation property

GeoCoord? startLocation
final

Contains the latitude/longitude coordinates of the origin of this leg. Because the Directions API calculates directions between locations by using the nearest transportation option (usually a road) at the start and end points, startLocation may be different than the provided origin of this leg if, for example, a road is not near the origin.

Implementation

final GeoCoord? startLocation;