Class Distance
- Namespace
- GoogleMapsApi.Entities.DistanceMatrix.Response
- Assembly
- GoogleMapsApi.dll
[DataContract(Name = "distance")]
public class Distance
- Inheritance
-
Distance
- Inherited Members
Properties
Text
text contains a human-readable representation of the distance, displayed in units as used at the origin, in the language specified in the request. (For example, miles and feet will be used for any origin within the United States.) Note that regardless of what unit system is displayed as text, the distance.value field always contains a value expressed in meters.
[DataMember(Name = "text")]
public string Text { get; set; }
Property Value
Value
value indicates the distance in meters
[DataMember(Name = "value")]
public int Value { get; set; }