Methods

addLayerToDomElement(view, layer, layersContainer, layerContainerClassNameopt)

Within a list of already existing layers, add a UI entry for a newly appended layer (together with a button for its removal).

Parameters:
NameTypeAttributesDescription
viewitowns.View

The view to which the layer will be added

layeritowns.C3DTilesLayer

layer to be added to dom element

layersContainerHTMLDivElement

HTML division holding the listed layers

layerContainerClassNamestring<optional>

Class name of the layer container