Options
All
  • Public
  • Public/Protected
  • All
Menu

JMap.Application.Layer.Edition.DynamicFilter

You can manage layer dynamic filter panel and dialog here.

Index

Functions

closeDialog

  • closeDialog(): void
  • JMap.Application.Layer.Edition.DynamicFilter.closeDialog

    If open, close the dynamic filter dialog (as well for creation or update).

    example
    
    // closes the edition (any tab) panel if open.
    JMap.Application.Layer.Edition.DynamicFilter.closeDialog()

    Returns void

closePanel

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

    If open, closes the edition panel.

    example
    
    // closes the dynamic filter panel if open.
    JMap.Application.Layer.Edition.DynamicFilter.closePanel()

    Returns void

openCreateDialog

  • openCreateDialog(layerId: JId): void
  • JMap.Application.Layer.Edition.DynamicFilter.openCreateDialog

    Opens the dynamic filter creation dialog for the given layer id.

    throws

    if layer not found

    example
    
    // opens the dynamic filter creation dialog for layer id=3
    JMap.Application.Layer.Edition.DynamicFilter.openCreateDialog(3)

    Parameters

    • layerId: JId

      the JMap layer id

    Returns void

openPanel

  • openPanel(layerId: JId): void
  • JMap.Application.Layer.Edition.DynamicFilter.openPanel

    Opens the edition panel, with the "dynamic-filter" tab activated, for the given layer

    throws

    if layer not found

    example
    
    // opens the edition panel, with the "dynamic-filter" tab activated, for layer id=3.
    JMap.Application.Layer.Edition.DynamicFilter.openPanel(3)

    Parameters

    • layerId: JId

      the JMap layer id

    Returns void

openUpdateDialog

  • openUpdateDialog(layerId: JId, conditionId: number): void
  • JMap.Application.Layer.Edition.DynamicFilter.openUpdateDialog

    Opens the dynamic filter update dialog for the given layer id.

    throws

    if layer or condition not found

    example
    
    // opens the dynamic filter condition creation dialog for layer id=3
    JMap.Application.Layer.Edition.DynamicFilter.openUpdateDialog(3)

    Parameters

    • layerId: JId

      the JMap layer id

    • conditionId: number

      the JMap dynamic filter condition id

    Returns void