Show / Hide Table of Contents

Class RoutingSummary.Types.Leg

A leg is a single portion of a journey from one location to another.

Inheritance
object
RoutingSummary.Types.Leg
Implements
IMessage<RoutingSummary.Types.Leg>
IEquatable<RoutingSummary.Types.Leg>
IDeepCloneable<RoutingSummary.Types.Leg>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class RoutingSummary.Types.Leg : IMessage<RoutingSummary.Types.Leg>, IEquatable<RoutingSummary.Types.Leg>, IDeepCloneable<RoutingSummary.Types.Leg>, IBufferMessage, IMessage

Constructors

Leg()

Declaration
public Leg()

Leg(Leg)

Declaration
public Leg(RoutingSummary.Types.Leg other)
Parameters
Type Name Description
RoutingSummary.Types.Leg other

Properties

DistanceMeters

The distance of this leg of the trip.

Declaration
public int DistanceMeters { get; set; }
Property Value
Type Description
int

Duration

The time it takes to complete this leg of the trip.

Declaration
public Duration Duration { get; set; }
Property Value
Type Description
Duration
In this article
Back to top Generated by DocFX