Map Tile Precipitation Overlay
A 2-step recipe with Tomorrow.io. We can help you get access.
Recipe · 2 steps
Map Tile Precipitation Overlay
with Tomorrow.io
Read realtime precipitation, then fetch the matching map tile with branching.
- Read the current precipitation intensity for the location to decide whether an overlay is worth rendering.
- Retrieve the Web Mercator PNG tile for the precipitation layer at the supplied XYZ address and time reference.
What you'll need to have ready
- apikey: Tomorrow.io API key passed as the apikey query parameter.
- location: Either 'lat,lng' or a Tomorrow.io locationId.
- zoom: XYZ tile zoom level (0-12).
- x: XYZ tile column.
- y: XYZ tile row.
- field: Map data layer field to render.
- timeFormat: ISO-8601 timestamp or 'now' for the tile time reference.
- units: Unit system for the realtime response (metric or imperial).
For your developer
Arazzo workflow tomorrow-io:map-tile-precipitation-overlay, 2 operations: getRealtimeWeather → getMapTile. Specs on APIs.io.