CustomLocalAqi
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wyraża „kraj/region do AQI” relacji. Wiąże kraj/region z odpowiednim wskaźnikiem AQI, tak aby dane o jakości powietrza wymagane w przypadku tego kraju/regionu były wyświetlane zgodnie z wybranym wskaźnikiem AQI.
Zapis JSON |
{
"regionCode": string,
"aqi": string
} |
Pola |
regionCode |
string
Kraj lub region, w którym wymagany jest niestandardowy AQI. Wartość należy podać w formacie ISO 3166-1 alfa-2.
|
aqi |
string
Indeks jakości powietrza do powiązania z krajem lub regionem. Wartością powinien być prawidłowy kod indeksu.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-31 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]