Skip to main content

MapProjection

The shape the map is drawn in: a flat Web Mercator map, or a globe.

This is a type alias exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { MapProjection } from "@mapcairn/core";

type MapProjection = "flat" | "globe";

Remarks​

The app's choice always wins: a basemap style that asks for a different projection is ignored. Zoom, the address hash and the camera (north-up, no pitch) mean the same in both.

Source: packages/core/src/ports/map.ts:31