Skip to main content

Interface: MapCachedCanvasLayerTransform

A description of the transformation of a MapCachedCanvasLayer's canvas element.

Properties

margin

Readonly margin: number

The total margin, in pixels, available for translation without invalidating the canvas with this transform's scale factor taken into account.

Defined in

src/sdk/components/map/layers/MapCachedCanvasLayer.ts:88


marginRemaining

Readonly marginRemaining: number

The remaining margin, in pixels, available for translation without invalidating the canvas given this transform's current translation and scale factor.

Defined in

src/sdk/components/map/layers/MapCachedCanvasLayer.ts:93


rotation

Readonly rotation: number

The rotation angle, in radians, of this transform.

Defined in

src/sdk/components/map/layers/MapCachedCanvasLayer.ts:81


scale

Readonly scale: number

The scaling factor of this transform.

Defined in

src/sdk/components/map/layers/MapCachedCanvasLayer.ts:79


translation

Readonly translation: Float64Array

The translation, in pixels, of this transform.

Defined in

src/sdk/components/map/layers/MapCachedCanvasLayer.ts:83