Skip to end of metadata
Go to start of metadata

Defines the distance.

Definition

public class Distance

Summary

The following table summarizes the members exposed in this class.

Public Constructors

Distance Constructor() Initializes a new instance of the Distance class.

Public 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.
Value value indicates the distance in meters

Public Constructors

public Distance()

Public Properties

public string Text { get; set; }

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.

public int Value { get; set; }

value indicates the distance in meters

  • No labels