syt123450/giojs

Rotate globe on web

Closed this issue · 2 comments

Tried to use controller.setAutoRotation(...) but got an error in my console saying that the function doesn't exist. Are there any changes to the original rotation API when moving from v1.x to v2.x?

I'd really like a rotation function to add to the globe. Any help appreciated :)

Thank you!

@rish-16 Auto rotate is added in v2.2.2. I will update build/ folder. In the meantime, can you try the one from CDN? https://cdn.jsdelivr.net/npm/giojs@2.2.2/build/gio.min.js and let me know how it works? Thanks.

Great, thanks! Will check it out :)