Weather map layers

OpenWeatherMap provides many kinds of weather maps including Precipitations, Clouds, Pressure, Temperature, Sea level pressure, Wind and many others. You can connect them to mobile applications and websites. It is also possible to combine several maps in one map like in the following map combination example.

How to connect map layers

There are two approaches to connect map layers. One is using an array of weather data. The second is using a direct tile server or WMS server. Both options can be implemented with two libraries - OpenLayers and Leaflet.


The following functions are designed for the OpenLayers library:

  • Classes of weather layer and weather stations layer
  • Possibility to set your own style
  • Classes with clustered markers
  • Support of marker server clustering


The javascript library is designed to work with the Leaflet mapping service. The current version of the library allows demonstration of current weather in cities. The library supports customer clustering.

Leaflet (alternative)

Another implementation for Leaflet based maps supports OWM's TileLayers and current city/station data. It is configurable with many options. For current city/station data the library supports refreshing the data in intervals, some types of client-side clustering (show only the station/city with the highest rank for a defined pixel square), custom image set (if you provide one), different languages ("en", "de", "ru", "fr", but translation is incomplete), minZoom and others.

Source and documentation ( is available on GitHub>

An example map is here

Leaflet-OpenWeatherMap Screenshot

XML legend

Map layer examples


  • layer's name: clouds
  • area: worldwide
Full screen


  • layer's name: precipitation
  • area: worldwide
Full screen

Sea level pressure

  • layer's name: pressure
  • area: worldwide
Full screen

Wind speed

  • layer's name: wind
  • area: worldwide
Full screen


  • layer's name: temp
  • area: worldwide
Full screen


  • layer's name: snow
  • area: worldwide
Full screen

Current weather

Current weather for 70,000 cities based on online data from weather stations. Unfortunately, not every location in the world has a weather station. Due to that fact, the weather for cities is calculated based on the measurement of the closest weather stations and global weather forecasts for the region. For each city we calculate temperature, pressure, humidity, clouds, wind strength and direction, precipitations.

Full list of weather maps (layers)

Name Code Area
Quantity of precipitation precipitation worldwide
Precipitation classic style precipitation_cls worldwide
Rain precipitation rain worldwide
Rain classic style rain_cls worldwide
Snow precipitation snow world wide
Cloud Cover clouds worldwide
clouds classic style clouds_cls worldwide
Sea Level Pressure pressure worldwide
Sea Level Pressure contour pressure_cntr worldwide
Temperature temp worldwide
Wind Speed wind worldwide