Google maps solves this neatly by just projecting the world map on a sphere when you zoom out. On desktop at least. It seems on mobile they use a 2D Mercator projection. But they just don't allow you to zoom out all the way, which is a bit weird. At least on my Pixel phone.