How to properly convert the world space of an actor to UV coordinates?

My materials knowledge is limited and I am having trouble creating a material that resembles this image https://i0.wp.com/allinonehomeschool.com/wp-content/uploads/2019/04/earth_layers_globe.png?resize=510%2C315&ssl=1

So far, I have been able to make some progress, but I am running into an issue with the layers. For some reason, they are not even in both directions. Is anyone able to point me in the right direction? Material Images