Lookup Heatmap Tile
air_quality.lookup_heatmap_tile
ActionBusiness appsconnection required
Calls Air Quality GET /v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}.
Returns a bytes array containing the data of the tile PNG image.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Google Air Quality
- Secret shape
- the API key as raw text
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 4 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
map_type Id of the map type to act on, from its Air Quality URL or console — not its name. | string | Yes | — | — | — |
zoom Web-Mercator zoom level; higher covers less ground per tile. | string | Yes | — | — | — |
x Web-Mercator tile column at that zoom, counted from the west. | string | Yes | — | — | — |
y Web-Mercator tile row at that zoom, counted from the north. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
extensions | array | — |
data | string | — |
contentType | string | — |
{
"contentType": "",
"data": "",
"extensions": [],
"ok": false
}Related Google Air Quality nodes
See Lookup Heatmap Tile run in a workflow.
In a technical demo we add the Google Air Quality connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.