• JMap.Application.Layer.Edition.openPanel

    Opens the layer edition panel.

    This panel has two tabs:

    • thematics: only available if some thematics are set on the layer, else is hidden
    • dynamic filter: available for non raster layers

    Parameters

    Returns void

    Throws

    If layer is not found or layerId is correspond to a layer group, if activeTab is incorrect

    Example

    // edits the layer's id="3" thematics (if layer 3 has at least one thematic set)
    JMap.Application.Layer.Edition.openPanel(3, "thematics")

    // edits the layer's id="3" dynamic filter, if layer is not raster
    JMap.Application.Layer.Edition.openPanel(2, "dynamic-filter")