Visibility
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"unit": enum (Unit ),
"distance": number
} |
字段 |
unit |
enum (Unit )
表示用于衡量距离的单位的代码。
|
distance |
number
可见距离(以指定单位表示)。
|
单位
枚举 |
UNIT_UNSPECIFIED |
未指定公开范围单位。 |
KILOMETERS |
可见度以公里为单位。 |
MILES |
可见度以英里为单位。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],[],null,["# Visibility\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Unit](#Unit)\n\nRepresents visibility conditions, the distance at which objects can be discerned.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------|\n| ``` { \"unit\": enum (/maps/documentation/weather/reference/rest/v1/Visibility#Unit), \"distance\": number } ``` |\n\n| Fields ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `unit` | `enum (`[Unit](/maps/documentation/weather/reference/rest/v1/Visibility#Unit)`)` The code that represents the unit used to measure the distance. |\n| `distance` | `number` The visibility distance in the specified unit. |\n\nUnit\n----\n\nRepresents the unit used to measure the visibility distance.\n\n| Enums ||\n|--------------------|-------------------------------------------|\n| `UNIT_UNSPECIFIED` | The visibility unit is unspecified. |\n| `KILOMETERS` | The visibility is measured in kilometers. |\n| `MILES` | The visibility is measured in miles. |"]]