Skip to content

ProjectionSpec

ProjectionSpec = object

Defined in: spec/coord.ts:32

A projection, plus the parameters that decide what it centres on and where it is least distorted.

Every projection trades one kind of accuracy for another; rotate, center and parallels choose which part of the map pays.

optional center?: readonly [number, number]

Defined in: spec/coord.ts:39

Centre of the projection, as [longitude, latitude].


kind: ProjectionKind

Defined in: spec/coord.ts:33


optional parallels?: readonly [number, number]

Defined in: spec/coord.ts:37

Standard parallels, for the conic families.


optional rotate?: readonly [number, number] | readonly [number, number, number]

Defined in: spec/coord.ts:35

Rotation about the three axes, in degrees.