Skip to content

BaseEngineOptions

Defined in: map/base-engine.ts:96

Options every engine shares, owned and consumed once by the BaseEngine constructor. Each engine’s options type (e.g. GeoMapOptions, PlotOptions) extends this and adds only its own fields, so a base-level setting is declared in exactly one place and can’t drift or be silently dropped by an engine that forgot to wire it.

optional aspectRatio?: number

Defined in: map/base-engine.ts:87

width ÷ height. When set, the engine is width-driven and keeps this ratio on resize.

EngineSizing.aspectRatio


optional backend?: BackendType

Defined in: map/base-engine.ts:99

Which renderer to draw with — see BackendType. Defaults to "webgl". Use "auto" for an instant Canvas first paint that upgrades to WebGL in the background.


optional height?: number

Defined in: map/base-engine.ts:85

EngineSizing.height


optional tooltipClass?: string

Defined in: map/base-engine.ts:101

Class(es) for the hover tooltip box, replacing its default inline look.


optional width?: number

Defined in: map/base-engine.ts:84

EngineSizing.width