Initializes a new instance of the GoogleLeg class.

Namespace: Reimers.Google.Map.Geocoding
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public GoogleLeg(
	int duration,
	int distance,
	ICoordinates start,
	ICoordinates end,
	IEnumerable<IStep> steps
)

Parameters

duration
Type: System..::..Int32
The expected duration of the leg.
distance
Type: System..::..Int32
The distance of the leg.
start
Type: Reimers.Core.Maps..::..ICoordinates
The starting point.
end
Type: Reimers.Core.Maps..::..ICoordinates
The end point.
steps
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'IStep>)>)>
The steps making up the leg.

See Also