> For the complete documentation index, see [llms.txt](https://docs.mapbox.com/android/maps/llms.txt)

# Display a globe

![Create a map using the globe projection.](https://docs.mapbox.com/android/assets/ideal-img/maps-examples-display-a-globe.ccb5142.480.png)

This example showcases how to display a map as a 3D globe instead of the default Mercator projection, using the **Mapbox Maps SDK for Android**.

The code below create a map using the `STANDARD_SATELLITE` style which pulls scanned images of the planet from satellite data and sets the [`projection`](https://docs.mapbox.com/android/maps/api/latest/mapbox-maps-android/com.mapbox.maps.extension.style.projection.generated/-projection/) mode to `ProjectionName.GLOBE` to render the 3D globe.

> **Note: Satellite Style**
> 
> Our satellite data is pulled from various sources. To learn more about it, see our [Satellite Documentation](https://www.mapbox.com/maps/satellite).

> **Note: Android Examples App Available**
> 
> This example code is part of the **Maps SDK for Android Examples App**, a working Android project [available on GitHub](https://github.com/mapbox/mapbox-maps-android/tree/v11.31.0/). Android developers are encouraged to run the examples app locally to interact with this example in an emulator and explore other features of the Maps SDK.
> 
> See our [Run the Maps SDK for Android Examples App](https://docs.mapbox.com/help/tutorials/maps-sdk-android-examples-app/) tutorial for step-by-step instructions.

**Kotlin**

Title: `GlobeActivity.kt`

[View on GitHub](https://github.com/mapbox/mapbox-maps-android/blob/v11.31.0/app/src/main/java/com/mapbox/maps/testapp/examples/globe/GlobeActivity.kt)

```kt
package com.mapbox.maps.testapp.examples.globe

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.mapbox.geojson.Point
import com.mapbox.maps.MapView
import com.mapbox.maps.Style
import com.mapbox.maps.dsl.cameraOptions
import com.mapbox.maps.extension.style.atmosphere.generated.atmosphere
import com.mapbox.maps.extension.style.layers.properties.generated.ProjectionName
import com.mapbox.maps.extension.style.projection.generated.projection
import com.mapbox.maps.extension.style.style

/**
 * This example uses the Style DSL [projection] to display the map as a 3D globe instead of the default Mercator projection.
 * A starry sky and atmosphere effects are added with Style DSL [atmosphere].
 */
class GlobeActivity : AppCompatActivity() {

  override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    val mapView = MapView(this)
    setContentView(mapView)

    mapView.mapboxMap.apply {
      setCamera(
        cameraOptions {
          center(CENTER)
          zoom(ZOOM)
        }
      )
      loadStyle(
        style(Style.STANDARD_SATELLITE) {
          +atmosphere { }
          +projection(ProjectionName.GLOBE)
        }
      )
    }
  }

  private companion object {
    private const val ZOOM = 0.45
    private val CENTER = Point.fromLngLat(30.0, 50.0)
  }
}
```