Lazy loading (#27) doesn't work reliably. It is unclear how to force the browser to destroy un-referenced webglcontexts (i.e. run the garbage collection to remove the contexts), so lazy loading doesn't solve the webglcontext limit.
Alternatives to the webgl context limit exists in rdeck since this feature was added:
lazy_selector: toggle layers on/off
{rdeck.controls}: provides a <select> control for rendering different maps in the same deck.gl map instance -- done via rendering subsets of layers on a single rdeck instance, which itself is a union of multiple maps.
Deprecate in
v0.4
, remove inv0.5
Lazy loading (#27) doesn't work reliably. It is unclear how to force the browser to destroy un-referenced webglcontexts (i.e. run the garbage collection to remove the contexts), so lazy loading doesn't solve the webglcontext limit.
Alternatives to the webgl context limit exists in rdeck since this feature was added:
lazy_selector
: toggle layers on/off{rdeck.controls}
: provides a<select>
control for rendering different maps in the same deck.gl map instance -- done via rendering subsets of layers on a single rdeck instance, which itself is a union of multiple maps.