LayerSwitcherDOM: {
    _addUID: (id: string) => string;
    _createAdvancedToolDivElement: (obj: any) => HTMLElement;
    _createAdvancedToolElement: (obj: { id: string }, tool: any) => HTMLElement;
    _createAdvancedToolShowElement: (obj: any) => HTMLElement[];
    _createBasicToolButtons: (obj: any) => HTMLElement;
    _createBasicToolElement: (obj: any, tooltips: boolean) => HTMLElement;
    _createBasicToolTitleElement: (obj: any, tooltips: boolean) => HTMLElement;
    _createButtonHeaderElement: (options: any) => HTMLButtonElement;
    _createButtonsGroupElement: (
        options: {
            className?: string;
            id?: string;
            left?: boolean;
            size?: boolean;
        },
    ) => HTMLDivElement;
    _createContainerLayerElement: (
        obj: {
            description: string;
            id: string;
            layer: any;
            opacity: Float;
            title: string;
            type: string;
            visibility: boolean;
        },
        tooltips: boolean,
    ) => HTMLElement;
    _createContainerLayerInfoElement: (obj: any) => HTMLElement;
    _createContainerLayerStyleElement: (obj: any) => HTMLElement;
    _createDeleteElement: (id: string) => HTMLElement;
    _createDraggableElement: (elementDraggable: any, context: any) => void;
    _createDragNDropElement: (obj: any) => HTMLDivElement;
    _createEditionElement: (
        obj: { editable: boolean; id: string; styles: any[]; tms: boolean },
        tool: any,
    ) => HTMLElement;
    _createExtentElement: (obj: { id: string }, tool: any) => HTMLElement;
    _createGreyscaleElement: (
        obj: { grayable: boolean; grayscale: boolean; id: string },
        tool: any,
    ) => HTMLElement;
    _createHeaderButtonsDivElement: () => HTMLDivElement;
    _createInformationElement: (
        obj: { description: string; id: string; title: string },
        tool: any,
    ) => HTMLElement;
    _createLayerNameDivElement: (obj: any, tooltips: boolean) => HTMLElement;
    _createLayerNameElement: (obj: any, tooltips: boolean) => HTMLElement;
    _createLayerProducerElement: (obj: any, tooltips: boolean) => HTMLElement;
    _createLayersPanelCloseElement: () => HTMLButtonElement;
    _createLayersPanelHeaderElement: () => HTMLDivElement;
    _createLayersPanelIconElement: () => HTMLLabelElement;
    _createLayersPanelTitleElement: () => HTMLDivElement;
    _createLayerThumbnailElement: (obj: { thumbnail: string }) => HTMLElement;
    _createMainContainerElement: () => HTMLElement;
    _createMainCounterLayersElement: () => HTMLSpanElement;
    _createMainInfoDivElement: () => HTMLDivElement;
    _createMainInfoElement: () => HTMLElement;
    _createMainLayerListElement: () => HTMLDivElement;
    _createMainLayersDivElement: () => HTMLDivElement;
    _createMainLayersElement: () => HTMLElement;
    _createMainLayersShowElement: () => HTMLElement;
    _createMainPictoElement: () => HTMLElement;
    _createMainStyleDivElement: () => HTMLDivElement;
    _createMainStyleElement: () => HTMLElement;
    _createOpacityElement: (id: string, opacity: number) => HTMLElement[];
    _createVisibilityElement: (obj: any) => HTMLElement[];
    _moveElement: (element: HTMLElement, direction: any) => boolean;
    _onMoveElement: (up: boolean, event: KeyboardEvent) => void;
    _setAdvancedToolOptions: (
        button: HTMLButtonElement,
        tool: any,
        setClick?: boolean,
    ) => HTMLButtonElement;
    _setButtonIconStyle: (
        button: HTMLButtonElement,
        iconClass: string,
        icon: string,
    ) => void;
} = ...

Type declaration

  • _addUID: (id: string) => string

    Add uuid to the tag ID

  • _createAdvancedToolDivElement: (obj: any) => HTMLElement

    Creation du container des outils avancés du layer (DOM)

  • _createAdvancedToolElement: (obj: { id: string }, tool: any) => HTMLElement

    Création d'un bouton d'outil externe

  • _createAdvancedToolShowElement: (obj: any) => HTMLElement[]

    Creation de l'affichage du menu des outils avancés du layer (DOM)

  • _createBasicToolButtons: (obj: any) => HTMLElement

    Creation du groupe de bouton basiques

  • _createBasicToolElement: (obj: any, tooltips: boolean) => HTMLElement

    Creation du container des outils basiques du layer (DOM)

  • _createBasicToolTitleElement: (obj: any, tooltips: boolean) => HTMLElement

    Creation du container des outils basiques du layer (DOM)

  • _createButtonHeaderElement: (options: any) => HTMLButtonElement

    Créé un bouton

  • _createButtonsGroupElement: (
        options: {
            className?: string;
            id?: string;
            left?: boolean;
            size?: boolean;
        },
    ) => HTMLDivElement

    Créé le conteneur des boutons du header

  • _createContainerLayerElement: (
        obj: {
            description: string;
            id: string;
            layer: any;
            opacity: Float;
            title: string;
            type: string;
            visibility: boolean;
        },
        tooltips: boolean,
    ) => HTMLElement

    Creation du container du layer (DOM)

  • _createContainerLayerInfoElement: (obj: any) => HTMLElement

    Creation du container du layer info (DOM)

    TODO GPlayerInfoPopup : ??? TODO GPlayerInfoLink : mettre en forme les échelles !

  • _createContainerLayerStyleElement: (obj: any) => HTMLElement

    Creation du container du layer style (DOM)

  • _createDeleteElement: (id: string) => HTMLElement

    Creation de l'icone de suppression du layer (DOM)

  • _createDraggableElement: (elementDraggable: any, context: any) => void

    Creation du drag and drop

  • _createDragNDropElement: (obj: any) => HTMLDivElement
  • _createEditionElement: (
        obj: { editable: boolean; id: string; styles: any[]; tms: boolean },
        tool: any,
    ) => HTMLElement

    Creation de l'icone d'edition du layer (DOM)

  • _createExtentElement: (obj: { id: string }, tool: any) => HTMLElement

    Creation de l'icone de zoom sur extent (DOM)

  • _createGreyscaleElement: (
        obj: { grayable: boolean; grayscale: boolean; id: string },
        tool: any,
    ) => HTMLElement

    Creation de l'icone de n&b du layer (DOM)

  • _createHeaderButtonsDivElement: () => HTMLDivElement

    Créé le conteneur du header

  • _createInformationElement: (
        obj: { description: string; id: string; title: string },
        tool: any,
    ) => HTMLElement

    Creation de l'icone d'information du layer (DOM)

  • _createLayerNameDivElement: (obj: any, tooltips: boolean) => HTMLElement

    Creation du container du nom de la couche. Ajoute le nom du producteur de donnée s'il y'en a un.

  • _createLayerNameElement: (obj: any, tooltips: boolean) => HTMLElement

    Creation du nom du layer (DOM)

  • _createLayerProducerElement: (obj: any, tooltips: boolean) => HTMLElement

    Creation du container des outils basiques du layer (DOM)

  • _createLayersPanelCloseElement: () => HTMLButtonElement
  • _createLayersPanelHeaderElement: () => HTMLDivElement
  • _createLayersPanelIconElement: () => HTMLLabelElement
  • _createLayersPanelTitleElement: () => HTMLDivElement
  • _createLayerThumbnailElement: (obj: { thumbnail: string }) => HTMLElement

    Creation du container des outils basiques du layer (DOM)

  • _createMainContainerElement: () => HTMLElement

    Creation du container principal (DOM)

  • _createMainCounterLayersElement: () => HTMLSpanElement
  • _createMainInfoDivElement: () => HTMLDivElement
  • _createMainInfoElement: () => HTMLElement

    Creation du container du panneau d"information (DOM)

  • _createMainLayerListElement: () => HTMLDivElement
  • _createMainLayersDivElement: () => HTMLDivElement
  • _createMainLayersElement: () => HTMLElement

    Creation du container principal des layers (DOM)

  • _createMainLayersShowElement: () => HTMLElement

    Creation du container principal d"affichage des layers (DOM)

  • _createMainPictoElement: () => HTMLElement

    Creation du container du picto du controle (DOM)

  • _createMainStyleDivElement: () => HTMLDivElement
  • _createMainStyleElement: () => HTMLElement

    Creation du container du panneau des styles (DOM)

  • _createOpacityElement: (id: string, opacity: number) => HTMLElement[]

    Creation de l'icone de gestion de l'opacité du layer (DOM)

  • _createVisibilityElement: (obj: any) => HTMLElement[]

    Creation de l'icone de visibilité du layer (DOM)

  • _moveElement: (element: HTMLElement, direction: any) => boolean

    Fonction permettant de bouger une couche au clavier

  • _onMoveElement: (up: boolean, event: KeyboardEvent) => void

    Écouteur d'événement pour modifier le z-index

  • _setAdvancedToolOptions: (button: HTMLButtonElement, tool: any, setClick?: boolean) => HTMLButtonElement

    Configure le bouton selon les options du bouton.

  • _setButtonIconStyle: (button: HTMLButtonElement, iconClass: string, icon: string) => void

    Ajoute une icône personnalisée au bouton