• JMap.Event.Layer.on.thematicCategoriesVisibilityChange

    This event is triggered when the visibility state of a layer thematic categories changes.

    Parameters

    Returns void

    Example

    // Each time a layer thematic category visibility state is changed this method is processed
    JMap.Event.Layer.on.thematicCategoriesVisibilityChange(
    "custom-thematic-categories-visibility-change",
    params => {
    console.log(
    `Layer id="${params.layerId}", ` +
    `thematic id="${params.thematicId}" ` +
    `hidden categories="${params.hiddenCategoryIndexes.toString()}"`
    )
    }
    )