Closed Emojigit closed 5 months ago
Totals | |
---|---|
Change from base Build 9405508814: | 0.0% |
Covered Lines: | 907 |
Relevant Lines: | 1341 |
so, do i get this right: this was caused by multiple calls to the onload
function, right? :thinking:
so, do i get this right: this was caused by multiple calls to the
onload
function, right? 🤔
Yeah, that's true. Leaflet changes the opacity every time onload gets called, i.e., a new tile is loaded.
One thing I forgot to implement: remove the onerror call too, and do such cleanup on onerror too
Finally fixed the issue... *sigh* This PR is ready for review.
You can test it on my map server - you can see it updating by monitoring network requests.