You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, bdrk is lower draw order and its draw state never gets set, since code (line 300 of layerDB.ts) assumes to ignore drawing of lower layers in this situation. The situation in question has become apparent due to the optimizations around when to redraw.
To rectify this, if a layer with 'isFullExtent' is present, I think any layers with lower draw order should be ignored earlier on and removed from the visible layers array before it even gets to line 300 of layerDB.ts
The text was updated successfully, but these errors were encountered:
pdille
changed the title
Layers with 'isFullExtent' constraint causes layers with lower draw order to endlessly request redraws
Layers with 'isFullExtent' constraint cause layers with lower draw order to endlessly request redraws
Oct 28, 2021
e.g.
https://earthtime.org/explore#v=23.621,-26.21434,0.717,latLng&t=0&ps=50&l=bdrk,berkeley-earth-temperature-anomaly,country_and_city_labels,land_borders_raster&bt=18500101&et=20170331
(Pause and turn on fps meter to see it still redrawing. And if you turn on verbose draw logging, you'll see requests for "Layer bdrk requests redraw")
Here, bdrk is lower draw order and its draw state never gets set, since code (line 300 of layerDB.ts) assumes to ignore drawing of lower layers in this situation. The situation in question has become apparent due to the optimizations around when to redraw.
To rectify this, if a layer with 'isFullExtent' is present, I think any layers with lower draw order should be ignored earlier on and removed from the visible layers array before it even gets to line 300 of layerDB.ts
The text was updated successfully, but these errors were encountered: