Options
All
  • Public
  • Public/Protected
  • All
Menu

JMap.Application.Layer.Edition

You can manage the layer edition panel here.

Index

Functions

closePanel

  • closePanel(): void
  • JMap.Application.Layer.Edition.closePanel

    If layer edition panel is opened, will close it. Will stop edition and show the layer tree panel.

    example
    
    // closes the layer edition panel
    JMap.Application.Layer.Edition.closePanel()

    Returns void

openPanel

  • 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
    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")

    Parameters

    Returns void