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.

FieldTypeRequiredDefaultConstraintsExample
map_type
Id of the map type to act on, from its Air Quality URL or console — not its name.
stringYes———
zoom
Web-Mercator zoom level; higher covers less ground per tile.
stringYes———
x
Web-Mercator tile column at that zoom, counted from the west.
stringYes———
y
Web-Mercator tile row at that zoom, counted from the north.
stringYes———

Output

One shape.

result

FieldTypeExample
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.