Class: LayerUI

OSDPaperjsAnnotation.LayerUI(annotationToolkit)

A user interface for managing layers of feature collections.

Constructor

new LayerUI(annotationToolkit)

Create a new LayerUI instance.
Parameters:
Name Type Description
annotationToolkit AnnotationToolkit The paper scope object.
Properties:
Name Type Description
element HTMLElement The HTML element associated with the LayerUI instance. refer to typedef for subproperties
Source:

Extends

  • OpenSeadragon.EventSource

Methods

activate()

Activate the layer UI element.
Source:

deactivate()

Deactivate the layer UI element.
Source:

destroy()

Destroy the layer UI element.
Source:

hide()

Hide the layer UI element.
Source:

show()

Show the layer UI element.
Source:

toggle()

Toggle the visibility of the layer UI element.
Source: