CustomLocalAqi
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
將「國家/地區」表示至 AQI關係將國家/地區與所需的 AQI 配對,讓系統根據所選 AQI 顯示該國家/地區所需的空氣品質資料。
JSON 表示法 |
{
"regionCode": string,
"aqi": string
} |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eThe JSON object defines a relationship between a country/region and a specific Air Quality Index (AQI).\u003c/p\u003e\n"],["\u003cp\u003eIt uses \u003ccode\u003eregionCode\u003c/code\u003e (ISO 3166-1 alpha-2 code) to identify the country/region and \u003ccode\u003eaqi\u003c/code\u003e to specify the desired AQI.\u003c/p\u003e\n"],["\u003cp\u003eThis ensures air quality data for that country/region is displayed using the chosen AQI.\u003c/p\u003e\n"]]],[],null,["# CustomLocalAqi\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nExpresses a 'country/region to AQI' relationship. Pairs a country/region with a desired AQI so that air quality data that is required for that country/region will be displayed according to the chosen AQI.\n\n| JSON representation |\n|-------------------------------------------------|\n| ``` { \"regionCode\": string, \"aqi\": string } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `regionCode` | `string` The country/region requiring the custom AQI. Value should be provided using [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code. |\n| `aqi` | `string` The AQI to associate the country/region with. Value should be a [valid index](/maps/documentation/air-quality/laqis) code. |"]]