Interface LayerControlFactory<LayerType, ControlType>

Type Parameters

  • LayerType extends UserLayer

  • ControlType = unknown

Hierarchy

Properties

activateTool: ((activation: ToolActivation<LayerControlTool<LayerType>>, control: ControlType) => void)

Type declaration

makeControl: ((layer: LayerType, context: RefCounted, options: {
    display: DisplayContext;
    labelContainer: HTMLElement;
    labelTextContainer: HTMLElement;
    visibility: WatchableVisibilityPriority;
}) => {
    control: ControlType;
    controlElement: HTMLElement;
})

Type declaration

Generated using TypeDoc