CustomLocalAqi
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดง "ประเทศ/ภูมิภาคต่อ AQI" ความสัมพันธ์ จับคู่ประเทศ/ภูมิภาคกับ AQI ที่ต้องการเพื่อให้ระบบแสดงข้อมูลคุณภาพอากาศที่จำเป็นสำหรับประเทศ/ภูมิภาคนั้นตาม AQI ที่เลือก
การแสดง JSON |
{
"regionCode": string,
"aqi": string
} |
ช่อง |
regionCode |
string
ประเทศ/ภูมิภาคที่กำหนด AQI ที่กำหนดเอง ควรระบุค่าโดยใช้โค้ด ISO 3166-1 alpha-2
|
aqi |
string
AQI ในการเชื่อมโยงประเทศ/ภูมิภาค ค่าควรเป็นโค้ดดัชนีที่ถูกต้อง
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[[["\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. |"]]