Weather Map Overlay Context
A 3-step recipe with OpenWeatherMap. We can help you get access.
Recipe · 3 steps
Weather Map Overlay Context
with OpenWeatherMap
Resolve a city, read current weather, then fetch a weather map tile overlay.
- Resolve the supplied city query into geographic coordinates, keeping the first and best match.
- Read current weather at the geocoded coordinates to provide ground-truth conditions alongside the map overlay.
- Fetch the PNG weather map tile for the requested layer and z, x, y tile coordinate to overlay on a base map.
What you'll need to have ready
- q: City name, optionally with state and ISO country codes, comma-separated.
- layer: Weather layer to render (clouds_new, precipitation_new, pressure_new, wind_new, or temp_new).
- z: Tile zoom level.
- x: Tile X coordinate.
- y: Tile Y coordinate.
- units: Units of measurement (standard, metric, or imperial).
- appid: OpenWeather API key.
For your developer
Arazzo workflow openweathermap:weather-map-overlay-context, 3 operations: getDirectGeocoding → getCurrentWeather → getWeatherMapTile. Specs on APIs.io.