endLocation property

GeoCoord? endLocation
final

Contains the latitude/longitude coordinates of the given destination 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, endLocation may be different than the provided destination of this leg if, for example, a road is not near the destination.

Implementation

final GeoCoord? endLocation;