Earth coordinates in a sphere not working

HI I am new in three js and I am building a sphere with the earth map on it, I want to position elements in the sphere based on the real-world coordinates of the earth, I have made a search over the internet and I have found some examples but I don’t find the way to do it properly.

I am trying to position a sphere over the center of Paris France with the coordinates 48.8567, 2.3508,
but the marker appears over the ocean.

I have made an example in this link https://codepen.io/ernex24/pen/ZEpbvav

If you can help me thank you

No more than ② days passed since the last time this was answered. :’) (there’s even a complete Paris example linked there by @hofk.)

I was thinking I can find here a more intelectual anwer not his copy paste medicre you are presenting here. thanks for answer…

No need to get mean or bitter - it wasn’t my point to offend you.

Still, what’s the point in answering the same question over again - if the answer really is already in the top-right search box? :face_with_raised_eyebrow:

1 Like

There are several issues with your coding.
To get you going
Change: earth2.position.set(y, x,38);

to: Object.assign( earth2.position , new THREE.Vector3(x,y,z).normalize().multiplyScalar( radius+2 ) );