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

Positioning globe in canvas #169

Open adamdistrictten opened 10 months ago

adamdistrictten commented 10 months ago

@vasturiano

I'm looking to achieve the same effect as answered in another ticket (that was for react) https://github.com/vasturiano/react-globe.gl/issues/40.

Any ideas how I would go about positioning to the right of the canvas?

vasturiano commented 10 months ago

@adamdistrictten thanks for reaching out.

Have you looked at this example? https://codesandbox.io/s/offset-globe-bv763?file=/src/App.js

It should just be a matter of doing that in a non-React way. Should be a straight-forward conversion.

AlbertMarashi commented 9 months ago

+1 this needs to just be a feature in the library