Is it possible to include 2 or more windy maps on page? Each of the maps would work different so it's not just a matter of displaying same default content on two places. For example I would like to include 2 maps where I have control of configuration on each instance. I'm concerned because you have to include windy wrapper which is using an id, meaning I can only have one on the page.
G
Best posts made by gregora
-
Include 2 or more windy maps on page
-
RE: Trigger event on forecast bar change
@siim perfect this works yes. Thank you!
-
RE: How to revemo windy object W?
@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.
-
Forecast progress bar length and interval
Is it possible to change the number of days displayed in forecast progress bar to fe. 5 days only? Also is it possible to change the interval of the animation. Instead of using 1 hour interval is it possible to use 1 day interval?