Skip to content

Projection

The projection configuration. Note: this definition is still experimental and is under development in maplibre-gl-js.

projection: {"type": "globe"}

type

Optional enum. Possible values: mercator, globe. Defaults to mercator.

The projection type.

  • mercator: The Mercator projection.
  • globe: The globe projection.