Switch branches/tags
Nothing to show
Find file History
Latest commit 003cf74 May 23, 2017
Failed to load latest commit information.
css initial Apr 28, 2017
img initial Apr 28, 2017
js 20 cities May 10, 2017
ndvi fix protocol on http for tile URL polygon May 22, 2017
.DS_Store presentation update May 23, 2017
README.md Readme May 12, 2017
leaflet-owm.html Precipitation added May 12, 2017



This is example of how to fetch Openweathermap API to show current and forecast weather in some cities on the Leaflet map and combine it with weather map layers. It's based on Kosmosnimki prototype app to get city local time shift in forecast query. You can add more cities or choose different ones.

See this map standalone


    var owm = new L.OWMLayer(options);

The following options for L.OWMLayer constructor are available: