SUNDIAL LIFECYCLE a Developing Today project

ENGINE LIFECYCLE

A map is taken through the events that break renderers: the WebGL context lost and restored, destruction and a warm re-init from the device pool, a map rebuilt on another tile provider, a transparent context after an opaque one, a container that grows, a click that has to resolve a feature before any frame was drawn, and the promise that what whenSettled resolves on is already on screen. Each case proves itself with ink on its stage.

Drives
e2e/engine-lifecycle.spec.ts, through window.__renderCase(id)
Stages
a red continental polyline at z2.8; three filled polygons for picking; solid red and blue test tiles for the basemap switch
Reads
gl.readPixels inside the render event, plus context attributes and GL errors

not run yet

Cases

Case log