Send feedback
Method: mapTypes.heatmapTiles.lookupHeatmapTile
Stay organized with collections
Save and categorize content based on your preferences.
Returns a bytes array containing the data of the tile PNG image.
HTTP request
GET https://airquality.googleapis /v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}
The URL usesgRPC Transcoding syntax.
Path parameters
Parameters
mapType
enum (MapType
)
Required. The type of the air quality heatmap. Defines the pollutant that the map will graphically represent.
Allowed values:
- UAQI_RED_GREEN (UAQI, red-green palette)
- UAQI_INDIGO_PERSIAN (UAQI, indigo-persian palette)
- PM25_INDIGO_PERSIAN
- GBR_DEFRA
- DEU_UBA
- CAN_EC
- FRA_ATMO
- US_AQI
zoom
integer
Required. The map's zoom level. Defines how large or small the contents of a map appear in a map view.
Zoom level 0 is the entire world in a single tile. Zoom level 1 is the entire world in 4 tiles. Zoom level 2 is the entire world in 16 tiles. Zoom level 16 is the entire world in 65,536 tiles.
Allowed values: 0-16
x
integer
Required. Defines the east-west point in the requested tile.
y
integer
Required. Defines the north-south point in the requested tile.
Request body
The request body must be empty.
Response body
A heatmap tile image, in PNG format.
Authorization scopes
Requires the following OAuth scope:
https:// googleapis /auth/cloud-platform
For more information, see theOAuth 2.0 Overview .
MapType
The type of the air quality heatmap. Defines the pollutant that the map will graphically represent.
Enums
MAP_TYPE_UNSPECIFIED
The default value. The server ignores it if it is passed as a parameter.
UAQI_RED_GREEN
Universal Air Quality Index red-green palette.
UAQI_INDIGO_PERSIAN
Universal Air Quality Index indigo-persian palette.
PM25_INDIGO_PERSIAN
PM2.5 index indigo-persian palette.
GBR_DEFRA
Daily Air Quality Index (UK) color palette.
DEU_UBA
German Local Air Quality Index color palette.
CAN_EC
Canadian Air Quality Health Index color palette.
FRA_ATMO
France Air Quality Index color palette.
US_AQI
US Air Quality Index color palette.
Send feedback
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License ,and code samples are licensed under theApache 2.0 License .For details, see theGoogle Developers Site Policies .Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label": "Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label": "Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label": "Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label": "Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label": "Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label": "Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label": "Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label": "Other"
}]
Need to tell us more?
{ "lastModified": "Last updated 2024-08-28 UTC." }
[[[ "Easy to understand", "easyToUnderstand", "thumb-up" ],[ "Solved my problem", "solvedMyProblem", "thumb-up" ],[ "Other", "otherUp", "thumb-up" ]],[[ "Missing the information I need", "missingTheInformationINeed", "thumb-down" ],[ "Too complicated / too many steps", "tooComplicatedTooManySteps", "thumb-down" ],[ "Out of date", "outOfDate", "thumb-down" ],[ "Samples / code issue", "samplesCodeIssue", "thumb-down" ],[ "Other", "otherDown", "thumb-down" ]],[ "Last updated 2024-08-28 UTC." ]]