@Kostya-Net Yeah I also got some more error from the lib-somthing file so I had to move the delete to right before running init again. Feels really hacky :/
K
Latest posts made by KimDotSe
-
RE: Way to re-init the map: !!! Repeatedly calling "windyInit"...posted in Developers
-
RE: API beta testposted in Windy API v4
@KimDotSe I got some more errors from windys lib-somthing file after removing global.W. Moved the delete to right before i run init again instead.
-
RE: API beta testposted in Windy API v4
@Thiago-Gabriel Hi! I got the same error as you and I fixed it by removing the global window.W when unmounting my component. So I still run init on mount but now I don't get the warning. Feels like a hack but I don't know any other way to fix this in a SPA. Hope this is some kind of help
-
RE: Way to re-init the map: !!! Repeatedly calling "windyInit"...posted in Developers
@Kostya-Net Hi! I got the same error as you and I fixed it by removing the global window.W when unmounting my component. So I still run init on mount but now I don't get the warning. Feels like a hack but I don't know any other way to fix this in a SPA. Hope this is some kind of help