webglearth / webglearth2

[UNMAINTAINED] WebGL Earth 2 - the source code of the project
Apache License 2.0
888 stars 212 forks source link

re initialize or destroy? #122

Open dsaisho opened 5 years ago

dsaisho commented 5 years ago

Using globe with vue. I have a route called globe that inits the globe on create.

when I change route and go back to globe route the globe re initializes and re adds scripts to my header.

Is there a way to re initialize an already created globe? or a way to destroy globe?

Or if there a specific way to handle this in vue?

dsaisho commented 5 years ago

the issue seems to be for requesting tile layers. once the globe container gets destroyed the tile layer still keeps calling for layers with broken url's. Is there a way to stop tile layer?

alexbu92 commented 4 years ago

Hi, did you figure this out? Having same problem with tile layers.