3DStreet / 3dstreet

🚲🚢🚌 Web-based 3D visualization of streets using A-Frame
https://3dstreet.app
Other
256 stars 33 forks source link

When update lat, long, height for loader-3dtiles change the coordinates through runtime #550

Closed Algorush closed 3 months ago

Algorush commented 3 months ago

When update lat, long, height for loader-3dtiles do not make new Loader3DTiles.load, but change the coordinates through runtime. This will speed up updating Google 3DTiles map coordinates. I noticed that because of this, updating the coordinates is slow, and there is also an additional request to the Google 3d tiles server on every coordinates updating. It might be better to post this issue in the aframe-loaders-3dtiles-component repo, but I'll leave it here so I don't forget

Algorush commented 3 months ago

It was solved here: https://github.com/3DStreet/3dstreet/pull/540/commits/c9a1a03e42d7adce5a18e8e96cd7eba83f40e186