globe.gl
globe.gl copied to clipboard
Stop rendering
Hi ! Thanks for your function !
Question : I can't stop rendering the animation. I have several pages in app where I can run some webgl animations with globeJS, but switching from page to another the processes are running slower and slower as I think animations are not paused or stopped. Is there a way to programmatically stop (kill or pause) a rendering ? Thanks for your help...
I think this is the same thing as #15 . We need an API to free/release all old Globe data
@gatelli @lslzl3000 You can instruct the component to stop its rendering cycle by calling .pauseAnimation()
. This can be reverted using .resumeAnimation()
.