Waypoint

封装航点。航点既可以标记路线的起点,也可以标记路线的终点。

JSON 表示法
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "latLng": {
    object (LatLng)
  },
  "placeId": string,
  "address": string
  // End of mutually exclusive fields.
}
字段
表示位置的不同方式。以下是互斥字段的列表。在响应中,最多只能设置其中一个字段:
latLng

object (LatLng)

使用地理坐标指定的点。

placeId

string

与航点关联的地点 ID。

address

string

人类可读地址或 Plus Code。如需了解详情,请参阅 https://plus.codes。

互斥字段结束。