# Rotate Globe using lang/lat values with extra option

**URL:** <https://discourse.threejs.org/t/rotate-globe-using-lang-lat-values-with-extra-option/84818>\
**Category:** Questions\
**Tags:** globegl\
**Created:** [July 4, 2025, 9:28am UTC](https://discourse.threejs.org/t/rotate-globe-using-lang-lat-values-with-extra-option/84818 "2025-07-04T09:28:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dingkai031](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/dingkai031/32/61408_2.png) [@dingkai031](https://discourse.threejs.org/u/dingkai031)\
**Post date:** [July 4, 2025, 9:28am UTC](https://discourse.threejs.org/t/rotate-globe-using-lang-lat-values-with-extra-option/84818/1 "2025-07-04T09:28:06Z")

</div>

Hello great community of threejs!  
This is my first Topic, sorry if I missed any rules.  
I’m currently following this [TOPIC](https://discourse.threejs.org/t/rotate-globe-using-lat-long-values/56930).

It works on my end, but then I adjust the camera position to be.

```javascript
camera.position.set(0, 100, 280);

```

but now it shows a wrong rotation to the screen. how can i make the rotation to be slightly a few deg to the top?  
I’m not familiar with threejs nor math 😃

thank you

---

<div class="post-metadata">

**Author:** ![seanwasere](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/seanwasere/32/20864_2.png) [@seanwasere](https://discourse.threejs.org/u/seanwasere)\
**Post date:** [July 4, 2025, 11:04am UTC](https://discourse.threejs.org/t/rotate-globe-using-lang-lat-values-with-extra-option/84818/2 "2025-07-04T11:04:09Z")

</div>

There are many discussions about this topic on this forum.  
This is one example i created where you can pass the lat lon as decimal values. So if you want extra, you can add some number to the values.

> **[JEasing to Latitude Longitude](https://editor.sbcode.net/d867700206f8763c02a9096a670e14cfaab6ba30)**
>
> https://editor.sbcode.net/d867700206f8763c02a9096a670e14cfaab6ba30

---

<div class="post-metadata">

**Author:** ![vielzutun.ch](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/vielzutun.ch/32/21366_2.png) [@vielzutun.ch](https://discourse.threejs.org/u/vielzutun.ch)\
**Post date:** [July 4, 2025, 11:27am UTC](https://discourse.threejs.org/t/rotate-globe-using-lang-lat-values-with-extra-option/84818/3 "2025-07-04T11:27:29Z")

</div>

That’s a cool example. 👍

But, judging by its sky dome background, you’re not rotating the globe, but orbiting the camera instead when easing to one of the predefined locations.

---

<div class="post-metadata">

**Author:** ![seanwasere](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/seanwasere/32/20864_2.png) [@seanwasere](https://discourse.threejs.org/u/seanwasere)\
**Post date:** [July 4, 2025, 1:53pm UTC](https://discourse.threejs.org/t/rotate-globe-using-lang-lat-values-with-extra-option/84818/4 "2025-07-04T13:53:58Z")

</div>

Doh!, I always miss some detail when offering a solution.
