vasturiano / globe.gl

UI component for Globe Data Visualization using ThreeJS/WebGL
https://vasturiano.github.io/globe.gl/example/world-population/
MIT License
1.97k stars 293 forks source link

Rotate the globe to the specified position? #186

Open jarviisha opened 6 months ago

jarviisha commented 6 months ago

How can I rotate the globe to a specified position? For example, if I click on an HTML element on the globe, the globe will rotate so that the HTML element is in the center of the globe.

vasturiano commented 6 months ago

@jarviisha you can use the pointOfView method.

jarviisha commented 3 months ago

@jarviishabạn có thể sử dụng phương pháp pointOfView .

thank you!