Skip to main content

Type Alias: MapProjectionParameters

MapProjectionParameters = object

Defined in: src/sdk/components/map/MapProjection.ts:10

A parameter object for MapProjection.

Properties

projectedSize?

optional projectedSize: ReadonlyFloat64Array

Defined in: src/sdk/components/map/MapProjection.ts:44

The size of the projected window, in pixels.


range?

optional range: number

Defined in: src/sdk/components/map/MapProjection.ts:31

The range of the projection, in great-arc radians. The range is measured between the projection's two range endpoints. The range parameter is used if and only if the scale factor parameter is null.


rangeEndpoints?

optional rangeEndpoints: ReadonlyFloat64Array

Defined in: src/sdk/components/map/MapProjection.ts:38

The endpoints used to measure the range of the projection, as a 4-tuple [relX1, relY1, relX2, relY2]. Each component is expressed in relative projected coordinates, where 0 is the left/top of the projected window, and 1 is the right/bottom of the projected window.


rotation?

optional rotation: number

Defined in: src/sdk/components/map/MapProjection.ts:41

The post-projected rotation angle, in radians.


scaleFactor?

optional scaleFactor: number | null

Defined in: src/sdk/components/map/MapProjection.ts:25

The nominal scale factor of the projection. At a scale factor of 1, a distance of one great-arc radian will be projected to a distance of one pixel. If the scale factor parameter of a projection is null, then the range parameter will be used instead.


target?

optional target: GeoPointInterface

Defined in: src/sdk/components/map/MapProjection.ts:15

The target of the projection. The target is guaranteed to be projected to a specific point in the projected window defined by the center of the window plus the target projected offset.


targetProjectedOffset?

optional targetProjectedOffset: ReadonlyFloat64Array

Defined in: src/sdk/components/map/MapProjection.ts:18

The projected offset from the center of the projected window of the projection's target, in pixels.