Wind
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
WindDirection
欄位 |
cardinal |
enum (CardinalDirection )
代表風吹來方向的八個方位代碼。
|
degrees |
integer
風向 (以度為單位,值介於 0 到 360)。
|
CardinalDirection
列舉 |
CARDINAL_DIRECTION_UNSPECIFIED |
未指定方位。 |
NORTH |
北方方位。 |
NORTH_NORTHEAST |
北東次方位方向。 |
NORTHEAST |
東北方間接方位。 |
EAST_NORTHEAST |
東北方向的次要方位。 |
EAST |
東方方位。 |
EAST_SOUTHEAST |
東南方向的次要方位。 |
SOUTHEAST |
東南方位。 |
SOUTH_SOUTHEAST |
南東南次方位方向。 |
SOUTH |
南方方位。 |
SOUTH_SOUTHWEST |
南西次方位方向。 |
SOUTHWEST |
西南方。 |
WEST_SOUTHWEST |
西南方向的次要方位。 |
WEST |
西方方位。 |
WEST_NORTHWEST |
西北方向的次要方位。 |
NORTHWEST |
西北方。 |
NORTH_NORTHWEST |
北西方向的次要方位。 |
WindSpeed
JSON 表示法 |
{
"unit": enum (SpeedUnit ),
"value": number
} |
欄位 |
unit |
enum (SpeedUnit )
代表用於測量風速的單位的代碼。
|
value |
number
風速的值。
|
SpeedUnit
列舉 |
SPEED_UNIT_UNSPECIFIED |
未指定速度單位。 |
KILOMETERS_PER_HOUR |
速度以每小時公里為單位。 |
MILES_PER_HOUR |
速度以每小時英里為單位。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[],[],null,["# Wind\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [WindDirection](#WindDirection)\n - [JSON representation](#WindDirection.SCHEMA_REPRESENTATION)\n- [CardinalDirection](#CardinalDirection)\n- [WindSpeed](#WindSpeed)\n - [JSON representation](#WindSpeed.SCHEMA_REPRESENTATION)\n- [SpeedUnit](#SpeedUnit)\n\nRepresents a set of wind properties.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"direction\": { object (/maps/documentation/weather/reference/rest/v1/Wind#WindDirection) }, \"speed\": { object (/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed) }, \"gust\": { object (/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed) } } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `direction` | `object (`[WindDirection](/maps/documentation/weather/reference/rest/v1/Wind#WindDirection)`)` The direction of the wind, the angle it is coming from. |\n| `speed` | `object (`[WindSpeed](/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed)`)` The speed of the wind. |\n| `gust` | `object (`[WindSpeed](/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed)`)` The wind gust (sudden increase in the wind speed). |\n\nWindDirection\n-------------\n\nRepresents the direction from which the wind originates.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"cardinal\": enum (/maps/documentation/weather/reference/rest/v1/Wind#CardinalDirection), \"degrees\": integer } ``` |\n\n| Fields ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `cardinal` | `enum (`[CardinalDirection](/maps/documentation/weather/reference/rest/v1/Wind#CardinalDirection)`)` The code that represents the cardinal direction from which the wind is blowing. |\n| `degrees` | `integer` The direction of the wind in degrees (values from 0 to 360). |\n\nCardinalDirection\n-----------------\n\nRepresents a cardinal direction (including ordinal directions).\n\n| Enums ||\n|----------------------------------|--------------------------------------------------------|\n| `CARDINAL_DIRECTION_UNSPECIFIED` | The cardinal direction is unspecified. |\n| `NORTH` | The north cardinal direction. |\n| `NORTH_NORTHEAST` | The north-northeast secondary intercardinal direction. |\n| `NORTHEAST` | The northeast intercardinal direction. |\n| `EAST_NORTHEAST` | The east-northeast secondary intercardinal direction. |\n| `EAST` | The east cardinal direction. |\n| `EAST_SOUTHEAST` | The east-southeast secondary intercardinal direction. |\n| `SOUTHEAST` | The southeast intercardinal direction. |\n| `SOUTH_SOUTHEAST` | The south-southeast secondary intercardinal direction. |\n| `SOUTH` | The south cardinal direction. |\n| `SOUTH_SOUTHWEST` | The south-southwest secondary intercardinal direction. |\n| `SOUTHWEST` | The southwest intercardinal direction. |\n| `WEST_SOUTHWEST` | The west-southwest secondary intercardinal direction. |\n| `WEST` | The west cardinal direction. |\n| `WEST_NORTHWEST` | The west-northwest secondary intercardinal direction. |\n| `NORTHWEST` | The northwest intercardinal direction. |\n| `NORTH_NORTHWEST` | The north-northwest secondary intercardinal direction. |\n\nWindSpeed\n---------\n\nRepresents the speed of the wind.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------|\n| ``` { \"unit\": enum (/maps/documentation/weather/reference/rest/v1/Wind#SpeedUnit), \"value\": number } ``` |\n\n| Fields ||\n|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `unit` | `enum (`[SpeedUnit](/maps/documentation/weather/reference/rest/v1/Wind#SpeedUnit)`)` The code that represents the unit used to measure the wind speed. |\n| `value` | `number` The value of the wind speed. |\n\nSpeedUnit\n---------\n\nRepresents the unit used to measure speed.\n\n| Enums ||\n|--------------------------|-----------------------------------------------|\n| `SPEED_UNIT_UNSPECIFIED` | The speed unit is unspecified. |\n| `KILOMETERS_PER_HOUR` | The speed is measured in kilometers per hour. |\n| `MILES_PER_HOUR` | The speed is measured in miles per hour. |"]]