Locations

如需了解此资源的方法列表,请参阅本页结尾部分。

资源表示形式

可与时间轴项相关联的地理位置。

{
  "kind": "mirror#location",
  "id": string,
  "timestamp": datetime,
  "latitude": double,
  "longitude": double,
  "accuracy": double,
  "displayName": string,
  "address": string
}
属性名称 说明 备注
accuracy double 位置修正的准确度(以米为单位)。 可写入
address string 营业地点的完整地址。 可写入
displayName string 要显示的名称。它可以是商家名称或用户定义的地点,例如“家”。 可写入
id string 地理位置的 ID。
kind string 资源类型。始终为 mirror#location
latitude double 纬度(以度为单位)。 可写入
longitude double 经度(以度为单位)。 可写入
timestamp datetime 此位置的捕获时间,格式遵循 RFC 3339。

方法

get
根据 ID 获取单个营业地点。
list
检索用户的营业地点列表。