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:37

The size of the projected window, in pixels.


range?

optional range: number

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

The range of the projection, in great-arc radians. The range is measured between the projection's two range endpoints.


rangeEndpoints?

optional rangeEndpoints: ReadonlyFloat64Array

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

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:34

The post-projected rotation angle, in radians.


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.