Skip to content

ExplorerBackgroundImage

Defined in: options.ts:57

An image behind the scene, fixed to the view. It is drawn on the canvas, so it must come from the same origin or from a host that sends CORS headers; if it fails to load it is left out.

optional alpha?: number

Defined in: options.ts:63

Opacity, 0 to 1; 1 by default.


optional fit?: "cover" | "tile"

Defined in: options.ts:61

cover (the default) scales it to fill the view; tile repeats it at its own size.


url: string

Defined in: options.ts:59

Same origin, or a host that sends CORS headers.