Can I load Full Earth Sphere instead of a flat world ?

I need to load an earth Sphere instead of a 2D flat world. Is this possible ? I would like similar capabilities of Google Earth. Can this API do it ? I have been searching all over google and youtube... Thanks