Projection

A style's projection property sets which projection a map is rendered in. Mercator and Globe projections are supported.

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:

  • custom

  • location indicator

See also

Parameters

name

from ProjectionName enum

Constructors

Projection
Link copied to clipboard
fun Projection(name: ProjectionName)

Functions

bindTo
Link copied to clipboard
open override fun bindTo(delegate: StyleInterface)

Bind projection to the map controller.

Properties

name
Link copied to clipboard
val name: ProjectionName