Skip to content

@eodash/eodash / Widgets / EodashLayerControl

Class: EodashLayerControl

Guide: EodashLayerControl

Properties

cssVars?

CSS custom-property overrides forwarded to the underlying eox-layercontrol element via its style attribute.

ts
optional cssVars?: Record<string, string>;

map?

Which map instance this control is bound to. Use "second" in a compare-mode layout.

ts
optional map?: "first" | "second" = "first";

title?

Heading rendered above the layer list. Set to false to hide it.

ts
optional title?: string | boolean = "Layers";

tools?

Tool tabs shown inside eox-layercontrol. Remove entries to hide individual tabs.

ts
optional tools?: string[] = ["datetime", "info", "config", "legend", "opacity"];