US Precipitation Map
US Precipitation Map
Get current, forecast and historical US precipitation weather maps with a 10 minutes-step via the easy-to-work API.
Features of US Precipitation Map
URL format and parameters
Use the following URL format and parameters to get weather maps. Please pay attention to the URL example.
https://maps.openweathermap.org/maps/2.0/radar/us/forecast/{z}/{x}/{y}?appid={API key}&tm={date}Parameters | ||
|---|---|---|
| required | Number of zoom level The minimum value is 3, and the maximum value is 7 |
| required | Number of x tile coordinate |
| required | Number of y tile coordinate |
| required | Your unique API key (you can always find it on your account page under the "API key" tab) |
| required | Date and time of (Unix time, UTC), e.g. 1600781192. To get historical or forecast data, please specify the date in your API request. |
Please pay attention to the points bellow to avoid possible errors:
https://maps.openweathermap.org/maps/2.0/radar/us/forecast/3/1/3?&appid={API key}&tm=1600781400You need to insert the generated URL into special plugins.
For example, Leaflet, OpenLayers. You can also use any other apps that support the display of layers. Learn more.
Libraries to connect weather layers
The following functions are available for the OpenLayers library:
The OpenWeatherMap javascript library is designed to work with the Leaflet mapping service. The current version of the library allows the following: