Console error `Cannot read property 'style' of undefined ` on e._tileLoaded
-
Every time a new tile is loaded into windy i am getting Cannot read property 'style' of undefined.
The offending line is with the windy source code itself.
If you prettify their code it this block that it seems to throw the error
_tileLoaded: function() {
this._tilesToLoad--,
L.DomUtil.addClass(this._tileContainer, "leaflet-zoom-animated"),
this._tilesToLoad || (this._tileContainer.style.opacity = 1,
this._bgBuffer.style.opacity = .3,
clearTimeout(this._clearBgBufferTimer),
this._clearBgBufferTimer = setTimeout(this._clearBgBuffer.bind(this), 500),
this.inMotion || this.redrawFinished())
},
_bgBuffer seems to not be defined. does anyone have any idea why this would be?
Thanks
Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps