Visibility
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"unit": enum (Unit ),
"distance": number
} |
欄位 |
unit |
enum (Unit )
代表用於測量距離的單位的代碼。
|
distance |
number
以指定單位表示的能見距離。
|
單位
列舉 |
UNIT_UNSPECIFIED |
未指定顯示單位。 |
KILOMETERS |
可見度以公里為單位。 |
MILES |
可見度以英里為單位。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]