@marekd said in NPM Leaflet 1.x compatability:
We tried to update Windy into leaflet-1.3.4. Unfortunately there were serious performance issues. We are investigating any other possibilities how to not stay stuck in old leaflet version.
It would be very wonderful. Look forward to.
I created test page for you: https://gis.ee/ie11.html
It should mostly work, but IE11 is old browser and maybe it is easier to show plain leaflet map for old browsers.
View source and try to make changes to your app.
@siim I used the same "hack" as described here https://community.windy.com/topic/6503/redrawing-or-reinitialising-windyapi-in-a-single-page-app/5
The bad thing about this is that it will load the scripts again every time I load my component (but ok since we're not developing for mobile devices, data usage shouldn't be an issue for now)
Would be cool if the map could be initialized per component or if you would be able to change the options without calling windyInit again.
Hello @Localizatodo , at first we didn't really know that you were talking about API (I have just moved your topic into this API section). Unfortunately, the truth is:
"We are not allowed to provide ECMWF data to third parties, and therefore we cannot provide layers based on this data model (thunder, deg0, cloudtop, cbase, visibility, swell3, snowcover, ozone, sst and cape). We also cannot provide you with the radar layer. Everything else is included in the paid version and this Change Windy parameters tutorial will show you how to access all allowed layers (even if they are not displayed in the right menu)." – See https://api4.windy.com
I'm afraid this paragraph should also include the Waves, Wind waves and Swell (1+2+3) in the Mediterranean Sea as well as other water areas that are not covered by the 'Wavewatch 3' model. We're very sorry about that!
unfortunately it is still not working.
In Firefox Web Console I'm getting "ReferenceError: windyInit is not defined".
Also when I try to open URL https://api4.windy.com/ the page is infinitely reloading.
Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps