# Weather maps 1.0 work but 2.0 not work

**URL:** <https://community.homey.app/t/weather-maps-1-0-work-but-2-0-not-work/36756>\
**Category:** Questions & Help\
**Created:** [October 30, 2020, 8:26pm UTC](https://community.homey.app/t/weather-maps-1-0-work-but-2-0-not-work/36756 "2020-10-30T20:26:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michele\_Giannelli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michele_giannelli/32/30708_2.png) [@Michele\_Giannelli](https://community.homey.app/u/Michele_Giannelli)\
**Post date:** [October 30, 2020, 8:26pm UTC](https://community.homey.app/t/weather-maps-1-0-work-but-2-0-not-work/36756/1 "2020-10-30T20:26:51Z")

</div>

Hi, I use javascript in my html page:

**Weather maps 1.0:**  
var Meteo = new L.TileLayer(“[http://tile.openweathermap.org/map/precipitation\_new/{z}/{x}/{y}.png?appid=xxx](http://tile.openweathermap.org/map/precipitation_new/%7Bz%7D/%7Bx%7D/%7By%7D.png?appid=xxx)”);  
mymap.addLayer(Meteo);  
WORK fine… 👍

**Using Weather maps 2.0:**  
var Meteo = new L.TileLayer(“[http://maps.openweathermap.org/maps/2.0/weather/WND/{z}/{x}/{y}&appid=xxx](http://maps.openweathermap.org/maps/2.0/weather/WND/%7Bz%7D/%7Bx%7D/%7By%7D&appid=xxx)”);  
mymap.addLayer(Meteo);  
NOT WORK. 👎 Can you tell me why ?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 31, 2020, 6:36am UTC](https://community.homey.app/t/weather-maps-1-0-work-but-2-0-not-work/36756/2 "2020-10-31T06:36:45Z")

</div>

Your question doesn’t seem to be related to Homey at all.
