Skip to main content

Interface: MapSharedCanvasInstance

An instance of a shared canvas used by MapSharedCanvasLayer.

Properties

canvas

Readonly canvas: HTMLCanvasElement

This instance's canvas element.

Defined in

src/sdk/components/map/layers/MapSharedCanvasLayer.tsx:16


context

Readonly context: CanvasRenderingContext2D

This instance's canvas 2D rendering context.

Defined in

src/sdk/components/map/layers/MapSharedCanvasLayer.tsx:19


isInvalidated

Readonly isInvalidated: boolean

Whether this canvas has been invalidated.

Defined in

src/sdk/components/map/layers/MapSharedCanvasLayer.tsx:22