Globe

object Globe : MapProjection

Globe projection is a custom map projection mode for rendering the map wrapped around a full 3D globe. Conceptually it is the undistorted and unskewed “ground truth” view of the map that preserves true proportions between different areas of the map.

Some layers are not supported when map is in Globe projection:

  • circle

  • custom

  • fill extrusion

  • heatmap

  • location indicator

If Globe projection is set it will be switched automatically to Mercator projection when passing TRANSITION_ZOOM_LEVEL during zooming in.

See also

com.mapbox.maps.plugin.MapProjection.Companion

for more details what projection will be used depending on current zoom level.

Functions

toString
Link copied to clipboard
open override fun toString(): String
Custom toString method.