Map layers

Weather map layers

OpenWeatherMap service 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 web-sites. It is also possible to combine several maps in one map like in the following example of map combination.

How to connect map layers

There are two approaches to connect map layers. One is using array of weather data. The second is using direct tile server or WMS server. Whatever variant you choose you can do it by using 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. You can find an example of this library on the OpenStreetMap (Russian)

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 intervalls, some kind 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 yet), minZoom and others

Source and documentation ( is available on GitHub>

An example map is here

Leaflet-OpenWeatherMap Screenshot


Meteorological data available through Web Map Service (WMS 1.1.1 )


layer: precipitation or layer: clouds

XML legend

Examples of map layers


  • 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 Cod 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