Hierarchy (View Summary)

Constructors

Properties

activeTooltips: any[] = []
batchCreateMode: boolean = false
buttons: { id: string; tool: null | DrawingShape }[] = ...
callbacks: Callback[] = []
cesiumDrawing: CesiumDrawing
checkedIcon: string = checkedIcon
colorPickers: [GirafeColorPicker, () => string][] = []
componentManager: ComponentManager
configManager: ConfigManager
displayStyle?: string
drawingState: DrawingState
fixedLengthEnabled: boolean = false
locateIcon: string = locateIcon
mapContextMenu: undefined | ContextMenu = undefined
name: string
noCheckedIcon: string = noCheckedIcon
notVisibleIcon: string = notVisibleIcon
olDrawing: OlDrawing
rendered: boolean = false
renderedOnce: boolean = false
shadow: ShadowRoot
stateManager: StateManager
styleUrl: null | string = null
styleUrls: string[] = ...
template: Hole | () => Hole
templateUrl: string = './template.html'
timeoutId?: Timeout
toolSelected: null | Element = null
trashIcon: string = trashIcon
visible: boolean = false
visibleIcon: string = visibleIcon

Accessors

Methods

  • Parameters

    • id: string
    • set: (c: Color) => unknown
    • get: () => string

    Returns void

  • Convert the string in parameter with uHtml and return it. This allows to convert a string with html in a right html object. For example, htmlUnsafe('

    ') will return an html div object.

    Parameters

    • str: string

    Returns Hole

  • In the templates, sometimes for accessibility reasons, we have to support the KeyDown Event In those case, we often juste want to do the same as the click event when Enter or Space is pressed Then this method can be used : it just calls the click event on the same element

    Parameters

    • e: KeyboardEvent

    Returns void