An API method to destroy the map instance
-
Hi Windy!
It'd be nice having a method which would gracefully stop the map and totally remove all the map related variables, i.e. would destroy the map instance. It would be of a great help for those customers who use Windy on their SinglePageApplications and are facing a problem with the map re-initialization like us, at Fishfacts BV.
Now, calling
map.remove()
causes error reports in a browser console.Please also see the related topics:
https://community.windy.com/topic/21968/way-to-re-init-the-map-repeatedly-calling-windyinit/4
https://community.windy.com/topic/21973/error-by-gl-particles-js/3Thanks!
-
@Kostya-Net Please see this thread - https://community.windy.com/topic/21080/api-beta-test/9?_=1662034933161
-
-
@Korina thanks, but it's useless(((
It'd be better if your team could make this work properly:
https://community.windy.com/topic/21973/error-by-gl-particles-js/2?_=1664174146851